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 : 2219129 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 (4000908) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4000908) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134742 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4000908'] with mtr_portfolio_ids : ['28134742'] and first list_photo_ids : [] new path : /proc/2219129/ Name: python3 Umask: 0002 State: R (running) Tgid: 2219129 Ngid: 0 Pid: 2219129 PPid: 2219128 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2219129 NSpid: 2219129 NSpgid: 2218048 NSsid: 2218048 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98872 kB VmRSS: 98872 kB RssAnon: 59908 kB RssFile: 38964 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 43 nonvoluntary_ctxt_switches: 85 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2219129', 'Ngid': '0', 'Pid': '2219129', 'PPid': '2219128', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2219129', 'NSpid': '2219129', 'NSpgid': '2218048', 'NSsid': '2218048', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98872 kB', 'VmRSS': '98872 kB', 'RssAnon': '59908 kB', 'RssFile': '38964 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '43', 'nonvoluntary_ctxt_switches': '85'} ('datou_batch_current', '2219129', '1106908', '0', '1106884', '865636', '98872', b'', 'marlene', '4000908') 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 (28134742) 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 (4000908 ) ) 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 (28134742) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1392289224, 'portfolio_id': 28134742}, {'photo_id': 1392289094, 'portfolio_id': 28134742}, {'photo_id': 1392289056, 'portfolio_id': 28134742}, {'photo_id': 1392288789, 'portfolio_id': 28134742}, {'photo_id': 1392288786, 'portfolio_id': 28134742}, {'photo_id': 1392288785, 'portfolio_id': 28134742}, {'photo_id': 1392288784, 'portfolio_id': 28134742}, {'photo_id': 1392288736, 'portfolio_id': 28134742}, {'photo_id': 1392288734, 'portfolio_id': 28134742}, {'photo_id': 1392288733, 'portfolio_id': 28134742}, {'photo_id': 1392288732, 'portfolio_id': 28134742}, {'photo_id': 1392288731, 'portfolio_id': 28134742}, {'photo_id': 1392288688, 'portfolio_id': 28134742}, {'photo_id': 1392288671, 'portfolio_id': 28134742}, {'photo_id': 1392288662, 'portfolio_id': 28134742}, {'photo_id': 1392288657, 'portfolio_id': 28134742}, {'photo_id': 1392288655, 'portfolio_id': 28134742}, {'photo_id': 1392288652, 'portfolio_id': 28134742}, {'photo_id': 1392288625, 'portfolio_id': 28134742}, {'photo_id': 1392288623, 'portfolio_id': 28134742}, {'photo_id': 1392288622, 'portfolio_id': 28134742}, {'photo_id': 1392288620, 'portfolio_id': 28134742}, {'photo_id': 1392288587, 'portfolio_id': 28134742}, {'photo_id': 1392288584, 'portfolio_id': 28134742}, {'photo_id': 1392288580, 'portfolio_id': 28134742}, {'photo_id': 1392288570, 'portfolio_id': 28134742}, {'photo_id': 1392288568, 'portfolio_id': 28134742}, {'photo_id': 1392288529, 'portfolio_id': 28134742}, {'photo_id': 1392288524, 'portfolio_id': 28134742}, {'photo_id': 1392288520, 'portfolio_id': 28134742}, {'photo_id': 1392288516, 'portfolio_id': 28134742}, {'photo_id': 1392288511, 'portfolio_id': 28134742}, {'photo_id': 1392288471, 'portfolio_id': 28134742}, {'photo_id': 1392288434, 'portfolio_id': 28134742}, {'photo_id': 1392288382, 'portfolio_id': 28134742}, {'photo_id': 1392288347, 'portfolio_id': 28134742}, {'photo_id': 1392287942, 'portfolio_id': 28134742}, {'photo_id': 1392287588, 'portfolio_id': 28134742}] map_portfolio_id_photo_id: {28134742: [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588]} ##### 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.016072988510131836 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Nov 5 05:39:57 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 (28134742) 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 : 28134742 get user id for portfolio 28134742 get sub ptf for main ptf 28134742, type 3726 and hashtags ['Carton_gris', 'autre_refus', 'papier', 'plastique', 'flou', 'cartonnette', 'kraft', 'metal', 'mal_croppe', 'Teint_Dans_La_Masse', 'environnement', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28134742 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','papier','plastique','flou','cartonnette','kraft','metal','mal_croppe','Teint_Dans_La_Masse','environnement','Carton_brun')) 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`=28134742 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','papier','plastique','flou','cartonnette','kraft','metal','mal_croppe','Teint_Dans_La_Masse','environnement','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28134742, 'sub_port_id': 28134745, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020878, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'Carton_brun': {'main_port_id': 28134742, 'sub_port_id': 28134746, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020879, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'papier': {'main_port_id': 28134742, 'sub_port_id': 28134747, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020880, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'environnement': {'main_port_id': 28134742, 'sub_port_id': 28134748, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020881, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'Carton_gris': {'main_port_id': 28134742, 'sub_port_id': 28134749, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020882, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'plastique': {'main_port_id': 28134742, 'sub_port_id': 28134750, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020883, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'mal_croppe': {'main_port_id': 28134742, 'sub_port_id': 28134751, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020884, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'autre_refus': {'main_port_id': 28134742, 'sub_port_id': 28134752, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020885, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'metal': {'main_port_id': 28134742, 'sub_port_id': 28134753, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020886, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'kraft': {'main_port_id': 28134742, 'sub_port_id': 28134754, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020887, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'cartonnette': {'main_port_id': 28134742, 'sub_port_id': 28134755, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020888, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 28134742, 'sub_port_id': 28134756, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020889, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28134745 , 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=28134742 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 (28134745) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134746 , 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=28134742 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 (28134746) result : ((1392289657,), (1392295802,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134747 , 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=28134742 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 (28134747) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134748 , 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=28134742 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 (28134748) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134749 , 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=28134742 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 (28134749) result : ((1392288699,), (1392289263,), (1392289265,), (1392289267,), (1392295505,), (1392295736,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134750 , 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=28134742 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 (28134750) result : ((1392288700,), (1392289295,), (1392289297,), (1392289299,), (1392295737,), (1392295821,), (1392295822,), (1392295823,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134751 , 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=28134742 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 (28134751) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134752 , 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=28134742 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 (28134752) result : ((1392288540,), (1392288541,), (1392288549,), (1392288697,), (1392289239,), (1392289241,), (1392289243,), (1392289245,), (1392289247,), (1392295729,), (1392296338,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134753 , 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=28134742 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 (28134753) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134754 , 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=28134742 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 (28134754) result : ((1392288702,), (1392295738,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134755 , 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=28134742 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 (28134755) result : ((1392289173,), (1392289175,), (1392289177,), (1392289280,), (1392289284,), (1392295506,), (1392295800,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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 28134756 , 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=28134742 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 (28134756) result : ((1392288538,), (1392288539,), (1392288693,), (1392288695,), (1392289233,), (1392295725,), (1392295726,), (1392295795,), (1392295796,), (1392295797,), (1392295798,), (1392295799,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28134742) result : ((1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,)) 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`=28134742 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','papier','plastique','flou','cartonnette','kraft','metal','mal_croppe','Teint_Dans_La_Masse','environnement','Carton_brun')) 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`=28134742 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','papier','plastique','flou','cartonnette','kraft','metal','mal_croppe','Teint_Dans_La_Masse','environnement','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28134742, 'sub_port_id': 28134757, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020890, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'Carton_brun': {'main_port_id': 28134742, 'sub_port_id': 28134758, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020891, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'papier': {'main_port_id': 28134742, 'sub_port_id': 28134759, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020892, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'environnement': {'main_port_id': 28134742, 'sub_port_id': 28134760, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020893, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'Carton_gris': {'main_port_id': 28134742, 'sub_port_id': 28134761, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020894, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'plastique': {'main_port_id': 28134742, 'sub_port_id': 28134762, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020895, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'mal_croppe': {'main_port_id': 28134742, 'sub_port_id': 28134763, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020896, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'autre_refus': {'main_port_id': 28134742, 'sub_port_id': 28134764, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020897, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'metal': {'main_port_id': 28134742, 'sub_port_id': 28134765, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020898, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'kraft': {'main_port_id': 28134742, 'sub_port_id': 28134766, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020899, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'cartonnette': {'main_port_id': 28134742, 'sub_port_id': 28134767, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020900, 'last_updated_at': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 28134742, 'sub_port_id': 28134768, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19020901, 'last_updated_at': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 4, 6, 17, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 4, 5, 10, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134757,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134745 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134758,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134746 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134759,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134747 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134760,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134748 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134761,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134749 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134762,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134750 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134763,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134751 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134764,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134752 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134765,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134753 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134766,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134754 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134767,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134755 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28134768,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28134756 lien utilise dans velours : https://marlene.fotonower.com/velours/28134757,28134758,28134759,28134760,28134761,28134762,28134763,28134764,28134765,28134766,28134767,28134768?tags=flou,Carton_brun,papier,environnement,Carton_gris,plastique,mal_croppe,autre_refus,metal,kraft,cartonnette,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28134742]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] map_info['map_portfolio_photo'] : {28134742: [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588]} final : False mtd_id 4302 list_pids : [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] Looping around the photos to save general results len do output : 1 /28134742. 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, '4000908') ('4302', '28134742', '1392289224', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289094', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289056', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288789', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288786', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288785', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288784', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288736', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288734', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288733', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288732', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288731', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288688', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288671', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288662', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288657', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288655', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288652', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288625', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288623', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288622', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288620', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288587', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288584', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288580', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288570', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288568', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288529', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288524', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288520', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288516', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288511', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288471', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288434', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288382', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288347', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287942', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287588', None, None, None, None, None, '4000908') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '28134742', "{'flou': 28134745, 'Carton_brun': 28134746, 'papier': 28134747, 'environnement': 28134748, 'Carton_gris': 28134749, 'plastique': 28134750, 'mal_croppe': 28134751, 'autre_refus': 28134752, 'metal': 28134753, 'kraft': 28134754, 'cartonnette': 28134755, 'Teint_Dans_La_Masse': 28134756}", None, None, None, None, '4000908'), ('4302', '28134742', '1392289224', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392289094', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392289056', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288789', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288786', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288785', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288784', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288736', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288734', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288733', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288732', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288731', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288688', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288671', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288662', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288657', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288655', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288652', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288625', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288623', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288622', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288620', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288587', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288584', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288580', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288570', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288568', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288529', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288524', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288520', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288516', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288511', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288471', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288434', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288382', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288347', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392287942', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392287588', None, None, None, None, None, '4000908')] time used for this insertion : 0.019340991973876953 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4722621440887451 time spend to save output : 0.01979970932006836 total time spend for step 1 : 1.4920618534088135 step2:final Wed Nov 5 05:39:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28134742) 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 28134742 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1392287588,1392287942,1392288471,1392288434,1392288382,1392288347,1392288529,1392288524,1392288520,1392288516,1392288511,1392288587,1392288584,1392288580,1392288570,1392288568,1392288625,1392288623,1392288622,1392288620,1392288688,1392288671,1392288662,1392288657,1392288655,1392288652,1392288736,1392288734,1392288733,1392288732,1392288731,1392288789,1392288786,1392288785,1392288784,1392289094,1392289056,1392289224); 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([28134742]) Inside saveOutput : final : False verbose : True original output for save of step final : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} new output for save of step final : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] map_info['map_portfolio_photo'] : {28134742: [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588]} final : False mtd_id 4302 list_pids : [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] Looping around the photos to save general results len do output : 38 /1392289224.Didn't retrieve data . /1392289094.Didn't retrieve data . /1392289056.Didn't retrieve data . /1392288789.Didn't retrieve data . /1392288786.Didn't retrieve data . /1392288785.Didn't retrieve data . /1392288784.Didn't retrieve data . /1392288736.Didn't retrieve data . /1392288734.Didn't retrieve data . /1392288733.Didn't retrieve data . /1392288732.Didn't retrieve data . /1392288731.Didn't retrieve data . /1392288688.Didn't retrieve data . /1392288671.Didn't retrieve data . /1392288662.Didn't retrieve data . /1392288657.Didn't retrieve data . /1392288655.Didn't retrieve data . /1392288652.Didn't retrieve data . /1392288625.Didn't retrieve data . /1392288623.Didn't retrieve data . /1392288622.Didn't retrieve data . /1392288620.Didn't retrieve data . /1392288587.Didn't retrieve data . /1392288584.Didn't retrieve data . /1392288580.Didn't retrieve data . /1392288570.Didn't retrieve data . /1392288568.Didn't retrieve data . /1392288529.Didn't retrieve data . /1392288524.Didn't retrieve data . /1392288520.Didn't retrieve data . /1392288516.Didn't retrieve data . /1392288511.Didn't retrieve data . /1392288471.Didn't retrieve data . /1392288434.Didn't retrieve data . /1392288382.Didn't retrieve data . /1392288347.Didn't retrieve data . /1392287942.Didn't retrieve data . /1392287588.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, '4000908') ('4302', '28134742', '1392289224', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289094', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289056', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288789', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288786', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288785', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288784', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288736', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288734', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288733', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288732', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288731', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288688', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288671', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288662', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288657', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288655', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288652', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288625', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288623', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288622', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288620', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288587', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288584', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288580', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288570', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288568', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288529', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288524', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288520', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288516', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288511', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288471', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288434', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288382', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288347', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287942', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287588', None, None, None, None, None, '4000908') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '28134742', '1392289224', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392289094', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392289056', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288789', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288786', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288785', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288784', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288736', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288734', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288733', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288732', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288731', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288688', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288671', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288662', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288657', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288655', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288652', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288625', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288623', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288622', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288620', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288587', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288584', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288580', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288570', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288568', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288529', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288524', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288520', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288516', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288511', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288471', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288434', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288382', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392288347', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392287942', '0.043060411833443606', None, None, None, None, '4000908'), ('4302', '28134742', '1392287588', '0.043060411833443606', None, None, None, None, '4000908')] time used for this insertion : 0.021829843521118164 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06358480453491211 time spend to save output : 0.023290634155273438 total time spend for step 2 : 0.08687543869018555 step3:velours_tree Wed Nov 5 05:39:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {28134742: [{'flou': 28134745, 'Carton_brun': 28134746, 'papier': 28134747, 'environnement': 28134748, 'Carton_gris': 28134749, 'plastique': 28134750, 'mal_croppe': 28134751, 'autre_refus': 28134752, 'metal': 28134753, 'kraft': 28134754, 'cartonnette': 28134755, 'Teint_Dans_La_Masse': 28134756}]} input_args_next_step : {28134742: ()} output_args : {28134742: [{'flou': 28134745, 'Carton_brun': 28134746, 'papier': 28134747, 'environnement': 28134748, 'Carton_gris': 28134749, 'plastique': 28134750, 'mal_croppe': 28134751, 'autre_refus': 28134752, 'metal': 28134753, 'kraft': 28134754, 'cartonnette': 28134755, 'Teint_Dans_La_Masse': 28134756}]} args : 28134742 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'flou': 28134745, 'Carton_brun': 28134746, 'papier': 28134747, 'environnement': 28134748, 'Carton_gris': 28134749, 'plastique': 28134750, 'mal_croppe': 28134751, 'autre_refus': 28134752, 'metal': 28134753, 'kraft': 28134754, 'cartonnette': 28134755, 'Teint_Dans_La_Masse': 28134756},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28134742) 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([28134742]) 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.2761268615722656 time spend to save output : 4.1961669921875e-05 total time spend for step 3 : 0.2761688232421875 step4:send_mail_cod Wed Nov 5 05:39:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} input_args_next_step : {1392289224: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392289224 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392289094 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392289056 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288789 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288786 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288785 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288784 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288736 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288734 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288733 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288732 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288731 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288688 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288671 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288662 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288657 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288655 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288652 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288625 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288623 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288622 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288620 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288587 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288584 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288580 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288570 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288568 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288529 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288524 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288520 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288516 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288511 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288471 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288434 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288382 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392288347 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392287942 depend.output_id : 0 input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ()} output_args : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',)} args : 1392287588 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 : {28134742: [{'flou': 28134745, 'Carton_brun': 28134746, 'papier': 28134747, 'environnement': 28134748, 'Carton_gris': 28134749, 'plastique': 28134750, 'mal_croppe': 28134751, 'autre_refus': 28134752, 'metal': 28134753, 'kraft': 28134754, 'cartonnette': 28134755, 'Teint_Dans_La_Masse': 28134756}]} input_args_next_step : {1392289224: ('0.043060411833443606',), 1392289094: ('0.043060411833443606',), 1392289056: ('0.043060411833443606',), 1392288789: ('0.043060411833443606',), 1392288786: ('0.043060411833443606',), 1392288785: ('0.043060411833443606',), 1392288784: ('0.043060411833443606',), 1392288736: ('0.043060411833443606',), 1392288734: ('0.043060411833443606',), 1392288733: ('0.043060411833443606',), 1392288732: ('0.043060411833443606',), 1392288731: ('0.043060411833443606',), 1392288688: ('0.043060411833443606',), 1392288671: ('0.043060411833443606',), 1392288662: ('0.043060411833443606',), 1392288657: ('0.043060411833443606',), 1392288655: ('0.043060411833443606',), 1392288652: ('0.043060411833443606',), 1392288625: ('0.043060411833443606',), 1392288623: ('0.043060411833443606',), 1392288622: ('0.043060411833443606',), 1392288620: ('0.043060411833443606',), 1392288587: ('0.043060411833443606',), 1392288584: ('0.043060411833443606',), 1392288580: ('0.043060411833443606',), 1392288570: ('0.043060411833443606',), 1392288568: ('0.043060411833443606',), 1392288529: ('0.043060411833443606',), 1392288524: ('0.043060411833443606',), 1392288520: ('0.043060411833443606',), 1392288516: ('0.043060411833443606',), 1392288511: ('0.043060411833443606',), 1392288471: ('0.043060411833443606',), 1392288434: ('0.043060411833443606',), 1392288382: ('0.043060411833443606',), 1392288347: ('0.043060411833443606',), 1392287942: ('0.043060411833443606',), 1392287588: ('0.043060411833443606',), 28134742: ()} output_args : {28134742: [{'flou': 28134745, 'Carton_brun': 28134746, 'papier': 28134747, 'environnement': 28134748, 'Carton_gris': 28134749, 'plastique': 28134750, 'mal_croppe': 28134751, 'autre_refus': 28134752, 'metal': 28134753, 'kraft': 28134754, 'cartonnette': 28134755, 'Teint_Dans_La_Masse': 28134756}]} args : 28134742 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 :39, first value : ('0.043060411833443606',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28134742) 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 (1392289224,1392289094,1392289056,1392288789,1392288786,1392288785,1392288784,1392288736,1392288734,1392288733,1392288732,1392288731,1392288688,1392288671,1392288662,1392288657,1392288655,1392288652,1392288625,1392288623,1392288622,1392288620,1392288587,1392288584,1392288580,1392288570,1392288568,1392288529,1392288524,1392288520,1392288516,1392288511,1392288471,1392288434,1392288382,1392288347,1392287942,1392287588) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1392287588 begin to download photo : 1392288520 begin to download photo : 1392288620 begin to download photo : 1392288671 begin to download photo : 1392288785 download finish for photo 1392288671 begin to download photo : 1392288688 download finish for photo 1392287588 begin to download photo : 1392287942 download finish for photo 1392288520 begin to download photo : 1392288524 download finish for photo 1392288620 begin to download photo : 1392288622 download finish for photo 1392288785 begin to download photo : 1392288786 download finish for photo 1392288688 begin to download photo : 1392288731 download finish for photo 1392288622 begin to download photo : 1392288623 download finish for photo 1392287942 begin to download photo : 1392288347 download finish for photo 1392288524 begin to download photo : 1392288529 download finish for photo 1392288786 begin to download photo : 1392288789 download finish for photo 1392288347 begin to download photo : 1392288382 download finish for photo 1392288623 begin to download photo : 1392288625 download finish for photo 1392288529 begin to download photo : 1392288568 download finish for photo 1392288789 begin to download photo : 1392289056 download finish for photo 1392288731 begin to download photo : 1392288732 download finish for photo 1392288382 begin to download photo : 1392288434 download finish for photo 1392288625 begin to download photo : 1392288652 download finish for photo 1392288568 begin to download photo : 1392288570 download finish for photo 1392289056 begin to download photo : 1392289094 download finish for photo 1392288434 begin to download photo : 1392288471 download finish for photo 1392288732 begin to download photo : 1392288733 download finish for photo 1392288652 begin to download photo : 1392288655 download finish for photo 1392289094 begin to download photo : 1392289224 download finish for photo 1392288733 begin to download photo : 1392288734 download finish for photo 1392288655 begin to download photo : 1392288657 download finish for photo 1392288471 begin to download photo : 1392288511 download finish for photo 1392288570 begin to download photo : 1392288580 download finish for photo 1392289224 download finish for photo 1392288734 begin to download photo : 1392288736 download finish for photo 1392288580 begin to download photo : 1392288584 download finish for photo 1392288511 begin to download photo : 1392288516 download finish for photo 1392288657 begin to download photo : 1392288662 download finish for photo 1392288736 begin to download photo : 1392288784 download finish for photo 1392288584 begin to download photo : 1392288587 download finish for photo 1392288516 download finish for photo 1392288662 download finish for photo 1392288784 download finish for photo 1392288587 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette281347451762317601/ length of list_filenames : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P28134742_05-11-2025_05_40_01.pdf 28134745 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=28134745 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette281347451762317601 28134750 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=28134750 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392288700: '1762229467_4100579_1392288587_80bdb2e6f4bb0bdab0f530de915623a4_rle_crop_4018471178_0.png', 1392289295: '1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473440_0.png', 1392289297: '1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473442_0.png', 1392289299: '1762229726_4105821_1392288732_519bed94cf2bcba82adf184ea7edad64_rle_crop_4018473467_0.png', 1392295737: '1762231767_4154895_1392288587_80bdb2e6f4bb0bdab0f530de915623a4_rle_crop_4018471178_0.png', 1392295821: '1762231867_4157147_1392288580_45e6389a97fd2595cd54445754e90ffc_rle_crop_4018514801_0.png', 1392295822: '1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514815_0.png', 1392295823: '1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514816_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/b4315fcb5b1f4638b1d45e4ebc61231c_15101216.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/2685da0f1c33a00d3561d187b77ea911_94324792.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/544ed8b76807043a8861d7a4e071c0ad_13944302.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/75b1fb694a06d53dea971d2494b329c9_22392219.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/b4315fcb5b1f4638b1d45e4ebc61231c_71285574.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/188c972b508991c2eb20fa81372fa040_29401173.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/8c85d4aab913763b05cc64cc2624376a_25037665.png change filename to text .imagette281347501762317601/ imagette281347501762317601/1762229467_4100579_1392288587_80bdb2e6f4bb0bdab0f530de915623a4_rle_crop_4018471178_0.png.png imagette281347501762317601/1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473442_0.png.png imagette281347501762317601/1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514816_0.png.png imagette281347501762317601/1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514815_0.png.png imagette281347501762317601/1762229726_4105821_1392288732_519bed94cf2bcba82adf184ea7edad64_rle_crop_4018473467_0.png.png imagette281347501762317601/1762231767_4154895_1392288587_80bdb2e6f4bb0bdab0f530de915623a4_rle_crop_4018471178_0.png.png imagette281347501762317601/1762231867_4157147_1392288580_45e6389a97fd2595cd54445754e90ffc_rle_crop_4018514801_0.png.png imagette281347501762317601/1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473440_0.png.png imagette281347511762317602/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/74f7b050fb71792f958f0045235c5110_96086858.png imagette281347501762317601 28134751 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=28134751 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette281347511762317602 28134752 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=28134752 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392288540: '1762229346_4097348_1392288434_c1211e27145e2b9a77acaf2f8bb7f6f0_rle_crop_4018466679_0.png', 1392288541: '1762229346_4097348_1392288382_7bc06e74fe2243ce7da5f417a46ac0b0_rle_crop_4018466684_0.png', 1392288549: '1762229364_4097722_1392287942_cfc6617b77fc2c0fbb8b070890cd1dd1_rle_crop_4018466802_0.png', 1392288697: '1762229467_4100579_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471203_0.png', 1392289239: '1762229726_4105821_1392288789_6fede0689167348ca884f8fa85a6b4f5_rle_crop_4018473415_0.png', 1392289241: '1762229726_4105821_1392288734_ef64f7fab63b165139daff169b1dfd08_rle_crop_4018473427_0.png', 1392289243: '1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473441_0.png', 1392289245: '1762229726_4105821_1392288731_e5a729ab7baad0b75fef6a236fcfa24f_rle_crop_4018473478_0.png', 1392289247: '1762229726_4105821_1392288731_e5a729ab7baad0b75fef6a236fcfa24f_rle_crop_4018473484_0.png', 1392295729: '1762231767_4154895_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471203_0.png', 1392296338: '1762232246_4167107_1392287942_cfc6617b77fc2c0fbb8b070890cd1dd1_rle_crop_4018466802_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/0c85b88d5d3ceaea12af457a916d21cc_8175503.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/42d5403df2a41f6e7659c725b1d9204a_16701657.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/4efac541aa5785ace8ec244a31d5a622_5660432.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/c5608d8f429dfd92b59ef9cde4d3fad4_53206650.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/e9d6fe9332dcda5add05925db4d361f7_46030527.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/277195d150b590622cfddaa6048ca922_49199931.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/ec0313cc6ed434f0ed0f587b97e69e8c_93571484.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/f5082f5d3443ee1f3d0318e6a5608725_74408018.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/459861876211ea3c574fb60316ea0592_24628808.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/c5608d8f429dfd92b59ef9cde4d3fad4_67089544.png change filename to text .imagette281347521762317602/ imagette281347521762317602/1762229364_4097722_1392287942_cfc6617b77fc2c0fbb8b070890cd1dd1_rle_crop_4018466802_0.png.png imagette281347521762317602/1762229726_4105821_1392288789_6fede0689167348ca884f8fa85a6b4f5_rle_crop_4018473415_0.png.png imagette281347521762317602/1762229346_4097348_1392288434_c1211e27145e2b9a77acaf2f8bb7f6f0_rle_crop_4018466679_0.png.png imagette281347521762317602/1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473441_0.png.png imagette281347521762317602/1762229726_4105821_1392288731_e5a729ab7baad0b75fef6a236fcfa24f_rle_crop_4018473478_0.png.png imagette281347521762317602/1762229346_4097348_1392288382_7bc06e74fe2243ce7da5f417a46ac0b0_rle_crop_4018466684_0.png.png imagette281347521762317602/1762231767_4154895_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471203_0.png.png imagette281347521762317602/1762232246_4167107_1392287942_cfc6617b77fc2c0fbb8b070890cd1dd1_rle_crop_4018466802_0.png.png imagette281347521762317602/1762229726_4105821_1392288734_ef64f7fab63b165139daff169b1dfd08_rle_crop_4018473427_0.png.png imagette281347521762317602/1762229726_4105821_1392288731_e5a729ab7baad0b75fef6a236fcfa24f_rle_crop_4018473484_0.png.png imagette281347521762317602/1762229467_4100579_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471203_0.png.png imagette281347531762317603/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/4efac541aa5785ace8ec244a31d5a622_61493016.png imagette281347521762317602 28134753 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=28134753 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette281347531762317603 28134754 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=28134754 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392288702: '1762229467_4100579_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471204_0.png', 1392295738: '1762231767_4154895_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471204_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/102d340b69f153250e7ef44e12837579_77575155.png change filename to text .imagette281347541762317603/ imagette281347541762317603/1762231767_4154895_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471204_0.png.png imagette281347541762317603/1762229467_4100579_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471204_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/102d340b69f153250e7ef44e12837579_70533732.png imagette281347541762317603 28134755 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=28134755 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392289173: '1762229706_4104880_1392288786_6cf4eed5790045b1a1983fe9f9db4ec9_rle_crop_4018473150_0.png', 1392289175: '1762229706_4104880_1392288785_1c795ef7ac33f46c60bd852d12833340_rle_crop_4018473164_0.png', 1392289177: '1762229706_4104880_1392288784_d9ca5550a0aedc51234addab783930ba_rle_crop_4018473187_0.png', 1392289280: '1762229726_4105821_1392288734_ef64f7fab63b165139daff169b1dfd08_rle_crop_4018473429_0.png', 1392289284: '1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473444_0.png', 1392295506: '1762231626_4152998_1392288688_a789134ea1441843940b8005e5c3cab0_rle_crop_4018510655_0.png', 1392295800: '1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514821_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/229e9a277f481126d2e74b214332905c_27288540.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/bcfd0156643f324ab33040aa1fbe7062_74424365.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/e0e9d715722cc7b8d41322f5fbdcc4d7_28657209.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/d67d1e641c95682627b2b6ec7c673916_50214118.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/4f2dae6a7c307dcfc5105aeaf8bc5656_77212835.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/e2a7deffaede43b758798d62ced54e80_99166396.png change filename to text .imagette281347551762317603/ imagette281347551762317603/1762229706_4104880_1392288784_d9ca5550a0aedc51234addab783930ba_rle_crop_4018473187_0.png.png imagette281347551762317603/1762229726_4105821_1392288734_ef64f7fab63b165139daff169b1dfd08_rle_crop_4018473429_0.png.png imagette281347551762317603/1762229706_4104880_1392288786_6cf4eed5790045b1a1983fe9f9db4ec9_rle_crop_4018473150_0.png.png imagette281347551762317603/1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514821_0.png.png imagette281347551762317603/1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473444_0.png.png imagette281347551762317603/1762231626_4152998_1392288688_a789134ea1441843940b8005e5c3cab0_rle_crop_4018510655_0.png.png imagette281347551762317603/1762229706_4104880_1392288785_1c795ef7ac33f46c60bd852d12833340_rle_crop_4018473164_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/4bf41dd898a09369a58a31be0452e25b_5597783.png imagette281347551762317603 28134746 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=28134746 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392289657: '1762229825_4107771_1392289224_a7bee3dc6ac27b376088b9647b1aa08e_rle_crop_4018481080_0.png', 1392295802: '1762231867_4157147_1392288584_96e2d9f2ad1aedcecd4aad05365d602a_rle_crop_4018514792_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/452550c7d5c4f94288e542ba8e353ba1_88864836.png change filename to text .imagette281347461762317604/ imagette281347461762317604/1762229825_4107771_1392289224_a7bee3dc6ac27b376088b9647b1aa08e_rle_crop_4018481080_0.png.png imagette281347461762317604/1762231867_4157147_1392288584_96e2d9f2ad1aedcecd4aad05365d602a_rle_crop_4018514792_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/1b50fd395ea99a451790f989a2389ad0_71023305.png imagette281347461762317604 28134749 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=28134749 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392288699: '1762229467_4100579_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471192_0.png', 1392289263: '1762229726_4105821_1392288732_519bed94cf2bcba82adf184ea7edad64_rle_crop_4018473465_0.png', 1392289265: '1762229726_4105821_1392288732_519bed94cf2bcba82adf184ea7edad64_rle_crop_4018473468_0.png', 1392289267: '1762229726_4105821_1392288731_e5a729ab7baad0b75fef6a236fcfa24f_rle_crop_4018473479_0.png', 1392295505: '1762231626_4152998_1392288688_a789134ea1441843940b8005e5c3cab0_rle_crop_4018510656_0.png', 1392295736: '1762231767_4154895_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471192_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/d94ba0d924a4e5dc4bde9526537359ec_98255390.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/f80e1a60656d13001785ba64837a1cfd_16888860.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/5bdcdfbdd5fe754ab374d384b2e210c6_70551957.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/0145bab254be0d8ae4a99007ac4c54be_60114513.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/848855439b29e6582b67a0bf2c191a71_65995268.png change filename to text .imagette281347491762317604/ imagette281347491762317604/1762229726_4105821_1392288732_519bed94cf2bcba82adf184ea7edad64_rle_crop_4018473468_0.png.png imagette281347491762317604/1762229726_4105821_1392288732_519bed94cf2bcba82adf184ea7edad64_rle_crop_4018473465_0.png.png imagette281347491762317604/1762231767_4154895_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471192_0.png.png imagette281347491762317604/1762231626_4152998_1392288688_a789134ea1441843940b8005e5c3cab0_rle_crop_4018510656_0.png.png imagette281347491762317604/1762229467_4100579_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471192_0.png.png imagette281347491762317604/1762229726_4105821_1392288731_e5a729ab7baad0b75fef6a236fcfa24f_rle_crop_4018473479_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/d94ba0d924a4e5dc4bde9526537359ec_9158892.png imagette281347491762317604 28134756 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=28134756 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392288538: '1762229346_4097348_1392288382_7bc06e74fe2243ce7da5f417a46ac0b0_rle_crop_4018466685_0.png', 1392288539: '1762229346_4097348_1392288382_7bc06e74fe2243ce7da5f417a46ac0b0_rle_crop_4018466688_0.png', 1392288693: '1762229467_4100579_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471193_0.png', 1392288695: '1762229467_4100579_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471208_0.png', 1392289233: '1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473446_0.png', 1392295725: '1762231767_4154895_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471193_0.png', 1392295726: '1762231767_4154895_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471208_0.png', 1392295795: '1762231867_4157147_1392288625_5ebcbd68120821e6a7a1cf5e74473df8_rle_crop_4018514781_0.png', 1392295796: '1762231867_4157147_1392288580_45e6389a97fd2595cd54445754e90ffc_rle_crop_4018514800_0.png', 1392295797: '1762231867_4157147_1392288570_383395251efe378c7c06b8f634992be8_rle_crop_4018514809_0.png', 1392295798: '1762231867_4157147_1392288570_383395251efe378c7c06b8f634992be8_rle_crop_4018514807_0.png', 1392295799: '1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514820_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/d8e139b4b5ccc638cd8847fb00d02ec8_75188643.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/2b5d2e48b71aca8c2db82c9622423a0a_95202031.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/2216afbb7147af6704a5080907ed4fbc_31230960.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/a1be53e4b6f77097e0242b92bc21e732_1938134.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/2fbf51d6faa2da36c1123a908451ba29_58300061.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/2216afbb7147af6704a5080907ed4fbc_74359500.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/a1be53e4b6f77097e0242b92bc21e732_72354030.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/582ed165c6a34a7ed6bdbd2a0f7ad31e_76711043.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/350a131e8aaf68d112c8e31abaaf74b6_352389.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/460fc83d0fab24dee4a6bfea111110ae_63799994.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/d344d0b84907db1ddade95f4807544d7_33371150.png change filename to text .imagette281347561762317605/ imagette281347561762317605/1762229346_4097348_1392288382_7bc06e74fe2243ce7da5f417a46ac0b0_rle_crop_4018466688_0.png.png imagette281347561762317605/1762231867_4157147_1392288625_5ebcbd68120821e6a7a1cf5e74473df8_rle_crop_4018514781_0.png.png imagette281347561762317605/1762231767_4154895_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471208_0.png.png imagette281347561762317605/1762229467_4100579_1392288520_13acadf2800e20cc3c649a5744a1d3f1_rle_crop_4018471208_0.png.png imagette281347561762317605/1762231867_4157147_1392288580_45e6389a97fd2595cd54445754e90ffc_rle_crop_4018514800_0.png.png imagette281347561762317605/1762231867_4157147_1392288568_1faefd8b120cbd24ceb6b222bd1aace2_rle_crop_4018514820_0.png.png imagette281347561762317605/1762231867_4157147_1392288570_383395251efe378c7c06b8f634992be8_rle_crop_4018514809_0.png.png imagette281347561762317605/1762229726_4105821_1392288733_560dc0916c223ba0ee34d3cb996b0963_rle_crop_4018473446_0.png.png imagette281347561762317605/1762231867_4157147_1392288570_383395251efe378c7c06b8f634992be8_rle_crop_4018514807_0.png.png imagette281347561762317605/1762231767_4154895_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471193_0.png.png imagette281347561762317605/1762229346_4097348_1392288382_7bc06e74fe2243ce7da5f417a46ac0b0_rle_crop_4018466685_0.png.png imagette281347561762317605/1762229467_4100579_1392288524_976207937318592be5c48b1640975e50_rle_crop_4018471193_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/c46ad37e122cdad63a1969172fd59a59_50672468.png imagette281347561762317605 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28134742 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28134757,28134758,28134759,28134760,28134761,28134762,28134763,28134764,28134765,28134766,28134767,28134768?tags=flou,Carton_brun,papier,environnement,Carton_gris,plastique,mal_croppe,autre_refus,metal,kraft,cartonnette,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1392289224] : ('0.043060411833443606',) no score found for photo 1392289224 We are sending mail with results at report@fotonower.com args[1392289094] : ('0.043060411833443606',) no score found for photo 1392289094 We are sending mail with results at report@fotonower.com args[1392289056] : ('0.043060411833443606',) no score found for photo 1392289056 We are sending mail with results at report@fotonower.com args[1392288789] : ('0.043060411833443606',) no score found for photo 1392288789 We are sending mail with results at report@fotonower.com args[1392288786] : ('0.043060411833443606',) no score found for photo 1392288786 We are sending mail with results at report@fotonower.com args[1392288785] : ('0.043060411833443606',) no score found for photo 1392288785 We are sending mail with results at report@fotonower.com args[1392288784] : ('0.043060411833443606',) no score found for photo 1392288784 We are sending mail with results at report@fotonower.com args[1392288736] : ('0.043060411833443606',) no score found for photo 1392288736 We are sending mail with results at report@fotonower.com args[1392288734] : ('0.043060411833443606',) no score found for photo 1392288734 We are sending mail with results at report@fotonower.com args[1392288733] : ('0.043060411833443606',) no score found for photo 1392288733 We are sending mail with results at report@fotonower.com args[1392288732] : ('0.043060411833443606',) no score found for photo 1392288732 We are sending mail with results at report@fotonower.com args[1392288731] : ('0.043060411833443606',) no score found for photo 1392288731 We are sending mail with results at report@fotonower.com args[1392288688] : ('0.043060411833443606',) no score found for photo 1392288688 We are sending mail with results at report@fotonower.com args[1392288671] : ('0.043060411833443606',) no score found for photo 1392288671 We are sending mail with results at report@fotonower.com args[1392288662] : ('0.043060411833443606',) no score found for photo 1392288662 We are sending mail with results at report@fotonower.com args[1392288657] : ('0.043060411833443606',) no score found for photo 1392288657 We are sending mail with results at report@fotonower.com args[1392288655] : ('0.043060411833443606',) no score found for photo 1392288655 We are sending mail with results at report@fotonower.com args[1392288652] : ('0.043060411833443606',) no score found for photo 1392288652 We are sending mail with results at report@fotonower.com args[1392288625] : ('0.043060411833443606',) no score found for photo 1392288625 We are sending mail with results at report@fotonower.com args[1392288623] : ('0.043060411833443606',) no score found for photo 1392288623 We are sending mail with results at report@fotonower.com args[1392288622] : ('0.043060411833443606',) no score found for photo 1392288622 We are sending mail with results at report@fotonower.com args[1392288620] : ('0.043060411833443606',) no score found for photo 1392288620 We are sending mail with results at report@fotonower.com args[1392288587] : ('0.043060411833443606',) no score found for photo 1392288587 We are sending mail with results at report@fotonower.com args[1392288584] : ('0.043060411833443606',) no score found for photo 1392288584 We are sending mail with results at report@fotonower.com args[1392288580] : ('0.043060411833443606',) no score found for photo 1392288580 We are sending mail with results at report@fotonower.com args[1392288570] : ('0.043060411833443606',) no score found for photo 1392288570 We are sending mail with results at report@fotonower.com args[1392288568] : ('0.043060411833443606',) no score found for photo 1392288568 We are sending mail with results at report@fotonower.com args[1392288529] : ('0.043060411833443606',) no score found for photo 1392288529 We are sending mail with results at report@fotonower.com args[1392288524] : ('0.043060411833443606',) no score found for photo 1392288524 We are sending mail with results at report@fotonower.com args[1392288520] : ('0.043060411833443606',) no score found for photo 1392288520 We are sending mail with results at report@fotonower.com args[1392288516] : ('0.043060411833443606',) no score found for photo 1392288516 We are sending mail with results at report@fotonower.com args[1392288511] : ('0.043060411833443606',) no score found for photo 1392288511 We are sending mail with results at report@fotonower.com args[1392288471] : ('0.043060411833443606',) no score found for photo 1392288471 We are sending mail with results at report@fotonower.com args[1392288434] : ('0.043060411833443606',) no score found for photo 1392288434 We are sending mail with results at report@fotonower.com args[1392288382] : ('0.043060411833443606',) no score found for photo 1392288382 We are sending mail with results at report@fotonower.com args[1392288347] : ('0.043060411833443606',) no score found for photo 1392288347 We are sending mail with results at report@fotonower.com args[1392287942] : ('0.043060411833443606',) no score found for photo 1392287942 We are sending mail with results at report@fotonower.com args[1392287588] : ('0.043060411833443606',) no score found for photo 1392287588 We are sending mail with results at report@fotonower.com refus_total : 0.043060411833443606 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=28134742 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_P28134742_05-11-2025_05_40_01.pdf results_Auto_P28134742_05-11-2025_05_40_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28134742_05-11-2025_05_40_01.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','28134742','results_Auto_P28134742_05-11-2025_05_40_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28134742_05-11-2025_05_40_01.pdf','pdf','','0.41','0.043060411833443606') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28134742]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] map_info['map_portfolio_photo'] : {28134742: [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588]} final : False mtd_id 4302 list_pids : [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] 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, '4000908') ('4302', '28134742', '1392289224', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289094', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289056', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288789', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288786', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288785', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288784', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288736', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288734', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288733', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288732', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288731', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288688', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288671', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288662', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288657', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288655', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288652', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288625', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288623', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288622', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288620', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288587', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288584', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288580', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288570', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288568', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288529', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288524', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288520', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288516', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288511', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288471', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288434', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288382', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288347', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287942', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287588', None, None, None, None, None, '4000908') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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', '28134742', '1392289224', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392289094', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392289056', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288789', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288786', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288785', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288784', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288736', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288734', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288733', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288732', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288731', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288688', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288671', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288662', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288657', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288655', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288652', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288625', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288623', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288622', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288620', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288587', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288584', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288580', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288570', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288568', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288529', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288524', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288520', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288516', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288511', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288471', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288434', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288382', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288347', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392287942', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392287588', None, None, None, None, None, '4000908')] time used for this insertion : 0.019639253616333008 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.2858304977417 time spend to save output : 0.02016425132751465 total time spend for step 4 : 9.305994749069214 step5:split_time_score Wed Nov 5 05:40:08 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 : ['28134742'] 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 : [('28134742',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28134742) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1392288785: {'path': 'temp/1762317599_2219129_1392288785_1c795ef7ac33f46c60bd852d12833340.jpg', 'extension': 'jpg'}, 1392288786: {'path': 'temp/1762317599_2219129_1392288786_6cf4eed5790045b1a1983fe9f9db4ec9.jpg', 'extension': 'jpg'}, 1392288789: {'path': 'temp/1762317599_2219129_1392288789_6fede0689167348ca884f8fa85a6b4f5.jpg', 'extension': 'jpg'}, 1392289056: {'path': 'temp/1762317599_2219129_1392289056_bd9ac94b86b1a700d5b4929e40da892b.jpg', 'extension': 'jpg'}, 1392289094: {'path': 'temp/1762317599_2219129_1392289094_17b6e39110f7d98d2f489b89c59e80b1.jpg', 'extension': 'jpg'}, 1392289224: {'path': 'temp/1762317599_2219129_1392289224_a7bee3dc6ac27b376088b9647b1aa08e.jpg', 'extension': 'jpg'}, 1392287588: {'path': 'temp/1762317599_2219129_1392287588_a1f92b597eb79d7284950a8a9415b772.jpg', 'extension': 'jpg'}, 1392287942: {'path': 'temp/1762317599_2219129_1392287942_cfc6617b77fc2c0fbb8b070890cd1dd1.jpg', 'extension': 'jpg'}, 1392288347: {'path': 'temp/1762317599_2219129_1392288347_01bfd1698246617e54748181fb16e05e.jpg', 'extension': 'jpg'}, 1392288382: {'path': 'temp/1762317599_2219129_1392288382_7bc06e74fe2243ce7da5f417a46ac0b0.jpg', 'extension': 'jpg'}, 1392288434: {'path': 'temp/1762317599_2219129_1392288434_c1211e27145e2b9a77acaf2f8bb7f6f0.jpg', 'extension': 'jpg'}, 1392288471: {'path': 'temp/1762317599_2219129_1392288471_2f9e168da2e0cfd083e4a3f76f6b1437.jpg', 'extension': 'jpg'}, 1392288511: {'path': 'temp/1762317599_2219129_1392288511_3ad93660ce518377786185377893504e.jpg', 'extension': 'jpg'}, 1392288516: {'path': 'temp/1762317599_2219129_1392288516_6f91272d975ad42a0ddb563e2666c2fd.jpg', 'extension': 'jpg'}, 1392288620: {'path': 'temp/1762317599_2219129_1392288620_2ca1a6c48b9219d9b19bc0263b3fe6e6.jpg', 'extension': 'jpg'}, 1392288622: {'path': 'temp/1762317599_2219129_1392288622_41b293f91dcc2520443da16c3bbdcaa4.jpg', 'extension': 'jpg'}, 1392288623: {'path': 'temp/1762317599_2219129_1392288623_50ebb66bccdb7daa2340474dd7776093.jpg', 'extension': 'jpg'}, 1392288625: {'path': 'temp/1762317599_2219129_1392288625_5ebcbd68120821e6a7a1cf5e74473df8.jpg', 'extension': 'jpg'}, 1392288652: {'path': 'temp/1762317599_2219129_1392288652_f797822c0d55479da4d258ce3898adfb.jpg', 'extension': 'jpg'}, 1392288655: {'path': 'temp/1762317599_2219129_1392288655_88ba2bde8a07a2536191d22bfbb23872.jpg', 'extension': 'jpg'}, 1392288657: {'path': 'temp/1762317599_2219129_1392288657_4aa06e2854878eb69aa8b411efd79c35.jpg', 'extension': 'jpg'}, 1392288662: {'path': 'temp/1762317599_2219129_1392288662_2f2085ab94cfe7da31972dbd84286b76.jpg', 'extension': 'jpg'}, 1392288671: {'path': 'temp/1762317599_2219129_1392288671_f641ba63592ed3a7d3b6261235cef4f1.jpg', 'extension': 'jpg'}, 1392288688: {'path': 'temp/1762317599_2219129_1392288688_a789134ea1441843940b8005e5c3cab0.jpg', 'extension': 'jpg'}, 1392288731: {'path': 'temp/1762317599_2219129_1392288731_e5a729ab7baad0b75fef6a236fcfa24f.jpg', 'extension': 'jpg'}, 1392288732: {'path': 'temp/1762317599_2219129_1392288732_519bed94cf2bcba82adf184ea7edad64.jpg', 'extension': 'jpg'}, 1392288733: {'path': 'temp/1762317599_2219129_1392288733_560dc0916c223ba0ee34d3cb996b0963.jpg', 'extension': 'jpg'}, 1392288734: {'path': 'temp/1762317599_2219129_1392288734_ef64f7fab63b165139daff169b1dfd08.jpg', 'extension': 'jpg'}, 1392288736: {'path': 'temp/1762317599_2219129_1392288736_db6fb0a9755f75b987775506a586429f.jpg', 'extension': 'jpg'}, 1392288784: {'path': 'temp/1762317599_2219129_1392288784_d9ca5550a0aedc51234addab783930ba.jpg', 'extension': 'jpg'}, 1392288520: {'path': 'temp/1762317599_2219129_1392288520_13acadf2800e20cc3c649a5744a1d3f1.jpg', 'extension': 'jpg'}, 1392288524: {'path': 'temp/1762317599_2219129_1392288524_976207937318592be5c48b1640975e50.jpg', 'extension': 'jpg'}, 1392288529: {'path': 'temp/1762317599_2219129_1392288529_3ae4db2e460cfde17becccc28977104a.jpg', 'extension': 'jpg'}, 1392288568: {'path': 'temp/1762317599_2219129_1392288568_1faefd8b120cbd24ceb6b222bd1aace2.jpg', 'extension': 'jpg'}, 1392288570: {'path': 'temp/1762317599_2219129_1392288570_383395251efe378c7c06b8f634992be8.jpg', 'extension': 'jpg'}, 1392288580: {'path': 'temp/1762317599_2219129_1392288580_45e6389a97fd2595cd54445754e90ffc.jpg', 'extension': 'jpg'}, 1392288584: {'path': 'temp/1762317599_2219129_1392288584_96e2d9f2ad1aedcecd4aad05365d602a.jpg', 'extension': 'jpg'}, 1392288587: {'path': 'temp/1762317599_2219129_1392288587_80bdb2e6f4bb0bdab0f530de915623a4.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 = 28134742; (('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 = 28134742 group by h (('05', 38),) 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=28134742 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 (28134742) 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 (28134742) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04112025 28134742 Nombre de photos uploadées : 38 / 23040 (0%) 04112025 28134742 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 04112025 28134742 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1392287588, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/a1f92b597eb79d7284950a8a9415b772.jpg', 'username': None, 'uploaded_at': 1762229168, 'text': 'image_04112025_05_05_44_10140.jpg'}, {'photo_id': 1392287942, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/cfc6617b77fc2c0fbb8b070890cd1dd1.jpg', 'username': None, 'uploaded_at': 1762229227, 'text': 'image_04112025_05_05_54_10136.jpg'}, {'photo_id': 1392288471, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/2f9e168da2e0cfd083e4a3f76f6b1437.jpg', 'username': None, 'uploaded_at': 1762229287, 'text': 'image_04112025_05_06_34_9130.jpg'}, {'photo_id': 1392288434, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/4/c1211e27145e2b9a77acaf2f8bb7f6f0.jpg', 'username': None, 'uploaded_at': 1762229287, 'text': 'image_04112025_05_07_04_10145.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001909494400024414 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28134742, '2025-11-04' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-11-04' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2503266,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.1997203826904297 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= 2503266 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28123472, 'dashboard_result_id': 16819463, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123472_05-11-2025_05_34_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28123477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123485, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28123890, 'dashboard_result_id': 16819464, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123890_05-11-2025_05_35_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28123910, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28124264, 'dashboard_result_id': 16819466, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124264_05-11-2025_05_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28124316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28124317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28124318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28124319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28124320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28124321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28124322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28124323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28124324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28124325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28124326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28124327, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28124852, 'dashboard_result_id': 16819467, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124852_05-11-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28124856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28124857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28124858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28124859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28124860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28124861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28124862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28124863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28124864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28124865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28124866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28124867, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28126317, 'dashboard_result_id': 16819468, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126317_05-11-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28126322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28126323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28126324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28126325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28126326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28126327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28126328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28126329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28126330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28126331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28126332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28126333, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28126933, 'dashboard_result_id': 16819471, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126933_05-11-2025_05_36_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28126991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28126992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28126993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28126994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28126995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28126996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28126997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28126998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28126999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28127000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28127001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28127002, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28127390, 'dashboard_result_id': 16819472, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28127390_05-11-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28127415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28127416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28127417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28127418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28127419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28127420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28127421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28127422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28127423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28127424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28127425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28127426, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28128065, 'dashboard_result_id': 16819473, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128065_05-11-2025_05_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28128069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28128070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28128071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28128072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28128073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28128074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28128075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28128076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28128077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28128078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28128079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28128080, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28128502, 'dashboard_result_id': 16819475, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128502_05-11-2025_05_37_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28128543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28128544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28128545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28128546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28128547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28128548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28128549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28128550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28128551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28128552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28128553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28128554, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28129163, 'dashboard_result_id': 16819476, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129163_05-11-2025_05_37_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28129164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28129165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28129166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28129167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28129168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28129169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28129170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28129171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28129172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28129173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28129174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28129175, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28129705, 'dashboard_result_id': 16819477, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129705_05-11-2025_05_38_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28129749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28129750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28129751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28129752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28129753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28129754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28129755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28129756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28129757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28129758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28129759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28129760, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28130392, 'dashboard_result_id': 16819480, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28130392_05-11-2025_05_38_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28130417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28130418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28130419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28130420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28130421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28130422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28130423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28130424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28130425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28130426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28130427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28130428, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28131240, 'dashboard_result_id': 16819481, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131240_05-11-2025_05_39_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28131244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28131245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28131246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28131247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28131248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28131249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28131250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28131251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28131252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28131253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28131254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28131255, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28131780, 'dashboard_result_id': 16819482, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131780_04-11-2025_06_16_18.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28131806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28131807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28131808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28131809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28131810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28131812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28131813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28131814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28131815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28131816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28131817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28131818, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28132440, 'dashboard_result_id': 16819485, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28132440_05-11-2025_05_39_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28132469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28132470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28132471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28132472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28132473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28132474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28132475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28132476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28132477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28132478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28132479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28132480, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28134742, 'dashboard_result_id': 16819486, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28134742_04-11-2025_06_17_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28134745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28134746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28134747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28134748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28134749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28134750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28134751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28134752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28134753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28134754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28134755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28134756, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28135066, 'dashboard_result_id': 16819487, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135066_04-11-2025_06_17_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28135098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135101, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135103, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28135267, 'dashboard_result_id': 16819489, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135267_04-11-2025_05_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28135303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135314, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28135833, 'dashboard_result_id': 16819490, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135833_04-11-2025_06_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28135847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135849, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28136289, 'dashboard_result_id': 16819491, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136289_04-11-2025_06_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28136293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28136294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28136295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28136296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28136297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28136298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28136299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28136300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28136301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28136302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28136303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28136304, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28136968, 'dashboard_result_id': 16819492, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136968_04-11-2025_06_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28136990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28136991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28136992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28136993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28136994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28136995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28136996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28136997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28136998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28136999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28137000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28137001, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28137588, 'dashboard_result_id': 16819496, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28137588_04-11-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28137637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28137638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28137639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28137640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28137641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28137642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28137643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28137644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28137646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28137648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28137651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28137653, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28138146, 'dashboard_result_id': 16819498, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138146_04-11-2025_07_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28138187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28138188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28138189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28138190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28138191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28138192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28138193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28138194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28138195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28138196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28138197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28138198, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28138799, 'dashboard_result_id': 16819499, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138799_04-11-2025_07_19_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28138819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28138820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28138821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28138822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28138823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28138824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28138825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28138826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28138827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28138828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28138829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28138830, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28139733, 'dashboard_result_id': 16819500, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28139733_04-11-2025_07_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28139756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28139757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28139758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28139759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28139760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28139761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28139762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28139763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28139764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28139765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28139766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28139767, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28140546, 'dashboard_result_id': 16819504, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28140546_04-11-2025_07_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28140570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28140571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28140572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28140573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28140574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28140575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28140576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28140577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28140578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28140579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28140580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28140581, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28141396, 'dashboard_result_id': 16819505, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28141396_04-11-2025_08_06_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28141443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28141444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28141445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28141446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28141447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28141448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28141449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28141450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28141451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28141452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28141453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28141454, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28142167, 'dashboard_result_id': 16819506, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142167_04-11-2025_08_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28142189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28142190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28142191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28142192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28142193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28142194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28142195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28142196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28142197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28142198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28142199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28142200, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28142804, 'dashboard_result_id': 16819509, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142804_04-11-2025_08_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28142823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28142824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28142825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28142826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28142827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28142828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28142829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28142830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28142832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28142833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28142834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28142835, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28143445, 'dashboard_result_id': 16819510, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28143445_04-11-2025_08_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28143484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28143485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28143486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28143487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28143488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28143489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28143490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28143491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28143492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28143493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28143494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28143496, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28144267, 'dashboard_result_id': 16819511, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28144267_04-11-2025_09_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28144300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28144301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28144302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28144303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28144304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28144305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28144306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28144307, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28144308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28144309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28144310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28144311, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28146755, 'dashboard_result_id': 16819512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146755_04-11-2025_09_49_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28146756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28146757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28146758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28146759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28146760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28146761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28146762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28146763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28146764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28146765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28146766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28146767, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28147528, 'dashboard_result_id': 16819514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28147528_04-11-2025_10_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28147535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28147536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28147537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28147538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28147539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28147540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28147541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28147542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28147543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28147544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28147545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28147546, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28148235, 'dashboard_result_id': 16819515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148235_04-11-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28148284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28148285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28148286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28148287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28148288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28148289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28148290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28148291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28148292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28148293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28148294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28148295, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28149133, 'dashboard_result_id': 16819516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149133_04-11-2025_10_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28149146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28149147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28149148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28149149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28149150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28149151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28149152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28149153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28149154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28149155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28149156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28149157, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28149987, 'dashboard_result_id': 16819519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149987_04-11-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28150053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28150055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28150057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28150059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28150062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28150065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28150067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28150069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28150070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28150071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28150072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28150073, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28150885, 'dashboard_result_id': 16819520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150885_04-11-2025_11_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28150936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28150937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28150938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28150939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28150940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28150941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28150942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28150943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28150944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28150945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28150946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28150947, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28152731, 'dashboard_result_id': 16819521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28152731_04-11-2025_11_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28152753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28152754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28152755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28152756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28152757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28152758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28152759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28152760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28152761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28152762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28152763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28152764, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28153387, 'dashboard_result_id': 16819524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28153387_04-11-2025_11_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28153432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28153433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28153434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28153435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28153436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28153437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28153438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28153439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28153440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28153441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28153442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28153443, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28154256, 'dashboard_result_id': 16819525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154256_04-11-2025_12_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28154309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28154310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28154311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28154312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28154313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28154314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28154315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28154316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28154317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28154318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28154319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28154320, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28155022, 'dashboard_result_id': 16819526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28155022_04-11-2025_13_59_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28155027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28155028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28155029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28155030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28155031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28155032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28155033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28155034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28155035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28155036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28155037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28155038, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28159055, 'dashboard_result_id': 16819528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159055_04-11-2025_14_03_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28159080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28159081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28159082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28159084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28159085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28159087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28159088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28159089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28159090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28159092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28159093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28159094, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28159444, 'dashboard_result_id': 16819531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159444_04-11-2025_14_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28159454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28159455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28159456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28159457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28159458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28159459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28159460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28159461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28159462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28159463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28159464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28159465, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28160204, 'dashboard_result_id': 16819532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160204_04-11-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28160208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28160209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28160210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28160211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28160212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28160213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28160214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28160215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28160216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28160217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28160218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28160219, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28160827, 'dashboard_result_id': 16819533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160827_04-11-2025_14_49_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28160842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28160843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28160844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28160845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28160846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28160847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28160848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28160849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28160850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28160851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28160852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28160853, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28161544, 'dashboard_result_id': 16819535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28161544_04-11-2025_14_58_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28161571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28161572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28161573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28161574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28161575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28161576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28161577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28161578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28161579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28161580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28161581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28161582, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28162079, 'dashboard_result_id': 16819536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162079_04-11-2025_15_21_10.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28162089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28162090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28162091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28162092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28162093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28162094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28162095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28162096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28162097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28162098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28162099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28162100, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28162965, 'dashboard_result_id': 16819537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162965_04-11-2025_15_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28163045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28163046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28163047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28163048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28163049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28163050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28163051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28163052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28163054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28163055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28163056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28163057, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28163709, 'dashboard_result_id': 16819538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28163709_04-11-2025_15_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28163728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28163729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28163730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28163731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28163732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28163733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28163734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28163735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28163736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28163737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28163738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28163739, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28164565, 'dashboard_result_id': 16819540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28164565_04-11-2025_17_31_13.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28164598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28164599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28164600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28164601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28164602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28164603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28164604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28164605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28164606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28164607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28164608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28164609, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28165106, 'dashboard_result_id': 16819541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165106_04-11-2025_16_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28165142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28165143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28165144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28165145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28165146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28165147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28165148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28165149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28165150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28165151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28165152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28165153, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28165927, 'dashboard_result_id': 16819542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165927_04-11-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28165986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28165987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28165988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28165989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28165990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28165991, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28165992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28165993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28165994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28165995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28165996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28165997, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28166773, 'dashboard_result_id': 16819545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28166773_04-11-2025_16_46_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28166859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28166860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28166861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28166862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28166863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28166864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28166865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28166866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28166867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28166868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28166869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28166870, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28167631, 'dashboard_result_id': 16819546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28167631_04-11-2025_18_31_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28167632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28167633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28167634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28167635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28167636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28167637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28167638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28167639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28167640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28167641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28167642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28167643, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28168305, 'dashboard_result_id': 16819547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28168305_04-11-2025_17_19_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28168316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28168317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28168318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28168319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28168320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28168321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28168322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28168323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28168324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28168325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28168326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28168327, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28169231, 'dashboard_result_id': 16819551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28169231_04-11-2025_17_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28169248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28169249, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28169250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28169251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28169252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28169253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28169254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28169255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28169256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28169257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28169258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28169259, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28170988, 'dashboard_result_id': 16819552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28170988_04-11-2025_18_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28170992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28170993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28170994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28170995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28170996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28170997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28170998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28170999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28171000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28171001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28171002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28171003, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28171740, 'dashboard_result_id': 16819553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28171740_04-11-2025_18_34_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28171745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28171746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28171747, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28171748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28171749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28171750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28171751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28171752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28171753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28171754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28171755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28171756, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28172287, 'dashboard_result_id': 16819555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172287_04-11-2025_18_46_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28172353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28172354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28172355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28172356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28172357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28172358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28172359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28172360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28172361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28172362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28172363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28172364, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28173203, 'dashboard_result_id': 16819556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173203_04-11-2025_20_31_10.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28173210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28173211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28173212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28173213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28173214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28173215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28173216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28173217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28173218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28173219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28173220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28173221, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28173818, 'dashboard_result_id': 16819557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173818_04-11-2025_19_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28173844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28173845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28173846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28173847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28173848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28173849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28173850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28173851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28173852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28173853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28173854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28173855, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28174836, 'dashboard_result_id': 16819559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28174836_04-11-2025_19_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28174890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28174891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28174893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28174894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28174895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28174897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28174898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28174899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28174900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28174902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28174903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28174904, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28175693, 'dashboard_result_id': 16819560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28175693_04-11-2025_19_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28175729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28175730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28175731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28175732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28175733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28175734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28175735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28175736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28175737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28175738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28175739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28175741, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28176408, 'dashboard_result_id': 16819561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28176408_04-11-2025_21_30_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28176450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28176451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28176452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28176453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28176454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28176455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28176456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28176457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28176458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28176459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28176460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28176461, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28177008, 'dashboard_result_id': 16819562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177008_04-11-2025_20_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28177020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28177021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28177022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28177023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28177024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28177025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28177026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28177027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28177028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28177029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28177030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28177031, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28177809, 'dashboard_result_id': 16819565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177809_04-11-2025_20_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28177819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28177820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28177821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28177822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28177823, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28177824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28177825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28177826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28177827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28177828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28177829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28177831, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28178528, 'dashboard_result_id': 16819567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178528_04-11-2025_21_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28178547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28178548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28178549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28178550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28178551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28178552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28178553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28178554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28178555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28178556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28178557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28178558, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28180082, 'dashboard_result_id': 16819568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28180082_04-11-2025_21_16_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28180086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28180087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28180088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28180089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28180090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28180091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28180092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28180093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28180094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28180095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28180096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28180097, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28180633, 'dashboard_result_id': 16819569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28180633_04-11-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28180636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28180637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28180638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28180639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28180640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28180641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28180642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28180643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28180644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28180645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28180646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28180647, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28181237, 'dashboard_result_id': 16819571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28181237_04-11-2025_21_53_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28181239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28181240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28181241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28181242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28181243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28181244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28181245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28181246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28181247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28181248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28181249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28181250, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28182506, 'dashboard_result_id': 16819574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182506_04-11-2025_22_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28182511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28182512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28182513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28182514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28182515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28182516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28182517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28182518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28182519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28182520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28182521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28182522, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28182760, 'dashboard_result_id': 16819575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182760_04-11-2025_22_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28182812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28182813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28182814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28182815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28182816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28182817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28182818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28182820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28182821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28182822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28182823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28182824, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28183356, 'dashboard_result_id': 16819576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183356_04-11-2025_23_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28183372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28183373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28183374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28183375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28183376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28183377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28183378, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28183379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28183380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28183381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28183382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28183383, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28183881, 'dashboard_result_id': 16819578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183881_04-11-2025_23_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28183882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28183883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28183884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28183885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28183886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28183887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28183888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28183889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28183890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28183891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28183892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28183893, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28184447, 'dashboard_result_id': 16819579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28184447_04-11-2025_23_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28184492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28184493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28184494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28184496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28184497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28184498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28184500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28184501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28184502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28184503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28184505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28184506, 'pht': 3726}}"}, {'dashboat_entry_day': 2503266, 'dashboard_run_id': 2521138, 'mtr_portfolio_id': 28185223, 'dashboard_result_id': 16819580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185223_04-11-2025_23_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28185224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28185225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28185226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28185227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28185228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28185229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28185230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28185231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28185232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28185233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28185234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28185235, '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 = 28123472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000893, 'mtr_portfolio_id': 28123472, 'created_at': datetime.datetime(2025, 11, 5, 5, 34, 30), 'result': '0.04630939593376634', 'result_long': None, 'result_double': None}] Qualite : 0.04630939593376634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28123472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123472_05-11-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28123472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123472_05-11-2025_05_34_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28123477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123485, 'pht': 3726}}" where mtr_portfolio_id = 28123472 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28123472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819463, 0.04630939593376634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123472_05-11-2025_05_34_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28123477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28123890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000894, 'mtr_portfolio_id': 28123890, 'created_at': datetime.datetime(2025, 11, 5, 5, 34, 59), 'result': '0.04991267424432694', 'result_long': None, 'result_double': None}] Qualite : 0.04991267424432694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28123890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123890_05-11-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28123890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123890_05-11-2025_05_35_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28123910, 'pht': 3726}}" where mtr_portfolio_id = 28123890 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28123890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819464, 0.04991267424432694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28123890_05-11-2025_05_35_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28123899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28123900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28123901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28123902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28123903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28123904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28123905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28123906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28123907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28123908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28123909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28123910, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28124264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000895, 'mtr_portfolio_id': 28124264, 'created_at': datetime.datetime(2025, 11, 5, 5, 35, 26), 'result': '0.06543906943027794', 'result_long': None, 'result_double': None}] Qualite : 0.06543906943027794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28124264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124264_05-11-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28124264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124264_05-11-2025_05_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28124316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28124317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28124318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28124319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28124320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28124321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28124322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28124323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28124324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28124325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28124326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28124327, 'pht': 3726}}" where mtr_portfolio_id = 28124264 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28124264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819466, 0.06543906943027794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124264_05-11-2025_05_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28124316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28124317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28124318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28124319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28124320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28124321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28124322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28124323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28124324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28124325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28124326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28124327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28124852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000896, 'mtr_portfolio_id': 28124852, 'created_at': datetime.datetime(2025, 11, 5, 5, 35, 27), 'result': '0.05533266878109363', 'result_long': None, 'result_double': None}] Qualite : 0.05533266878109363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28124852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124852_05-11-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28124852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124852_05-11-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28124856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28124857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28124858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28124859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28124860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28124861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28124862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28124863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28124864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28124865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28124866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28124867, 'pht': 3726}}" where mtr_portfolio_id = 28124852 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28124852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819467, 0.05533266878109363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28124852_05-11-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28124856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28124857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28124858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28124859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28124860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28124861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28124862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28124863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28124864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28124865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28124866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28124867, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28126317 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000897, 'mtr_portfolio_id': 28126317, 'created_at': datetime.datetime(2025, 11, 5, 5, 36), 'result': '0.07732689597303057', 'result_long': None, 'result_double': None}] Qualite : 0.07732689597303057 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28126317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126317_05-11-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28126317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126317_05-11-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28126322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28126323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28126324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28126325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28126326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28126327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28126328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28126329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28126330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28126331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28126332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28126333, 'pht': 3726}}" where mtr_portfolio_id = 28126317 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28126317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819468, 0.07732689597303057, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126317_05-11-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28126322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28126323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28126324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28126325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28126326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28126327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28126328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28126329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28126330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28126331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28126332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28126333, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28126933 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000898, 'mtr_portfolio_id': 28126933, 'created_at': datetime.datetime(2025, 11, 5, 5, 36, 12), 'result': '0.045604452158560634', 'result_long': None, 'result_double': None}] Qualite : 0.045604452158560634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28126933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126933_05-11-2025_05_36_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28126933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126933_05-11-2025_05_36_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28126991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28126992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28126993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28126994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28126995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28126996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28126997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28126998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28126999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28127000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28127001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28127002, 'pht': 3726}}" where mtr_portfolio_id = 28126933 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28126933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819471, 0.045604452158560634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28126933_05-11-2025_05_36_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28126991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28126992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28126993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28126994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28126995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28126996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28126997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28126998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28126999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28127000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28127001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28127002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28127390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000899, 'mtr_portfolio_id': 28127390, 'created_at': datetime.datetime(2025, 11, 5, 5, 36, 28), 'result': '0.0348205584061535', 'result_long': None, 'result_double': None}] Qualite : 0.0348205584061535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28127390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28127390_05-11-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28127390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28127390_05-11-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28127415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28127416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28127417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28127418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28127419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28127420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28127421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28127422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28127423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28127424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28127425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28127426, 'pht': 3726}}" where mtr_portfolio_id = 28127390 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28127390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819472, 0.0348205584061535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28127390_05-11-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28127415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28127416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28127417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28127418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28127419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28127420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28127421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28127422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28127423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28127424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28127425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28127426, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28128065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000900, 'mtr_portfolio_id': 28128065, 'created_at': datetime.datetime(2025, 11, 5, 5, 36, 57), 'result': '0.035043307602960115', 'result_long': None, 'result_double': None}] Qualite : 0.035043307602960115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28128065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128065_05-11-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28128065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128065_05-11-2025_05_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28128069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28128070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28128071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28128072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28128073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28128074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28128075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28128076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28128077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28128078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28128079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28128080, 'pht': 3726}}" where mtr_portfolio_id = 28128065 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28128065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819473, 0.035043307602960115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128065_05-11-2025_05_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28128069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28128070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28128071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28128072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28128073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28128074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28128075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28128076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28128077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28128078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28128079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28128080, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28128502 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000901, 'mtr_portfolio_id': 28128502, 'created_at': datetime.datetime(2025, 11, 5, 5, 37, 31), 'result': '0.05837924168419694', 'result_long': None, 'result_double': None}] Qualite : 0.05837924168419694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28128502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128502_05-11-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28128502 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128502_05-11-2025_05_37_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28128543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28128544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28128545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28128546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28128547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28128548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28128549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28128550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28128551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28128552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28128553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28128554, 'pht': 3726}}" where mtr_portfolio_id = 28128502 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28128502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819475, 0.05837924168419694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28128502_05-11-2025_05_37_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28128543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28128544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28128545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28128546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28128547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28128548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28128549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28128550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28128551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28128552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28128553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28128554, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28129163 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000902, 'mtr_portfolio_id': 28129163, 'created_at': datetime.datetime(2025, 11, 5, 5, 37, 27), 'result': '0.024820580435470162', 'result_long': None, 'result_double': None}] Qualite : 0.024820580435470162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28129163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129163_05-11-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28129163 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129163_05-11-2025_05_37_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28129164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28129165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28129166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28129167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28129168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28129169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28129170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28129171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28129172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28129173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28129174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28129175, 'pht': 3726}}" where mtr_portfolio_id = 28129163 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28129163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819476, 0.024820580435470162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129163_05-11-2025_05_37_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28129164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28129165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28129166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28129167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28129168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28129169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28129170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28129171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28129172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28129173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28129174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28129175, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28129705 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000903, 'mtr_portfolio_id': 28129705, 'created_at': datetime.datetime(2025, 11, 5, 5, 37, 57), 'result': '0.06260130543876621', 'result_long': None, 'result_double': None}] Qualite : 0.06260130543876621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28129705 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129705_05-11-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28129705 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129705_05-11-2025_05_38_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28129749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28129750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28129751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28129752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28129753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28129754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28129755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28129756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28129757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28129758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28129759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28129760, 'pht': 3726}}" where mtr_portfolio_id = 28129705 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28129705 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819477, 0.06260130543876621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28129705_05-11-2025_05_38_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28129749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28129750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28129751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28129752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28129753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28129754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28129755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28129756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28129757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28129758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28129759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28129760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28130392 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000904, 'mtr_portfolio_id': 28130392, 'created_at': datetime.datetime(2025, 11, 5, 5, 38, 27), 'result': '0.051931014819516515', 'result_long': None, 'result_double': None}] Qualite : 0.051931014819516515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28130392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28130392_05-11-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28130392 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28130392_05-11-2025_05_38_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28130417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28130418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28130419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28130420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28130421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28130422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28130423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28130424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28130425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28130426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28130427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28130428, 'pht': 3726}}" where mtr_portfolio_id = 28130392 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28130392 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819480, 0.051931014819516515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28130392_05-11-2025_05_38_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28130417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28130418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28130419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28130420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28130421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28130422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28130423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28130424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28130425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28130426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28130427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28130428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28131240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000905, 'mtr_portfolio_id': 28131240, 'created_at': datetime.datetime(2025, 11, 5, 5, 38, 59), 'result': '0.06549621652839901', 'result_long': None, 'result_double': None}] Qualite : 0.06549621652839901 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28131240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131240_05-11-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28131240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131240_05-11-2025_05_39_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28131244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28131245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28131246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28131247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28131248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28131249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28131250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28131251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28131252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28131253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28131254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28131255, 'pht': 3726}}" where mtr_portfolio_id = 28131240 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28131240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819481, 0.06549621652839901, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131240_05-11-2025_05_39_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28131244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28131245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28131246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28131247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28131248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28131249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28131250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28131251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28131252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28131253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28131254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28131255, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28131780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000906, 'mtr_portfolio_id': 28131780, 'created_at': datetime.datetime(2025, 11, 5, 5, 39, 31), 'result': '0.054334198056012036', 'result_long': None, 'result_double': None}] Qualite : 0.054334198056012036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28131780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131780_04-11-2025_06_16_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28131780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131780_04-11-2025_06_16_18.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28131806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28131807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28131808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28131809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28131810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28131812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28131813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28131814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28131815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28131816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28131817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28131818, 'pht': 3726}}" where mtr_portfolio_id = 28131780 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28131780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819482, 0.054334198056012036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28131780_04-11-2025_06_16_18.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28131806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28131807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28131808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28131809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28131810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28131812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28131813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28131814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28131815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28131816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28131817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28131818, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28132440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000907, 'mtr_portfolio_id': 28132440, 'created_at': datetime.datetime(2025, 11, 5, 5, 39, 27), 'result': '0.04736351933688976', 'result_long': None, 'result_double': None}] Qualite : 0.04736351933688976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28132440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28132440_05-11-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28132440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28132440_05-11-2025_05_39_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28132469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28132470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28132471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28132472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28132473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28132474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28132475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28132476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28132477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28132478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28132479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28132480, 'pht': 3726}}" where mtr_portfolio_id = 28132440 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28132440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819485, 0.04736351933688976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28132440_05-11-2025_05_39_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28132469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28132470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28132471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28132472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28132473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28132474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28132475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28132476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28132477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28132478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28132479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28132480, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28134742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000908, 'mtr_portfolio_id': 28134742, 'created_at': datetime.datetime(2025, 11, 5, 5, 39, 59), 'result': '0.043060411833443606', 'result_long': None, 'result_double': None}] Qualite : 0.043060411833443606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28134742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28134742_05-11-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28134742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28134742_05-11-2025_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28134745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28134746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28134747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28134748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28134749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28134750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28134751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28134752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28134753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28134754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28134755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28134756, 'pht': 3726}}" where mtr_portfolio_id = 28134742 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28134742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819486, 0.043060411833443606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28134742_05-11-2025_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28134745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28134746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28134747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28134748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28134749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28134750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28134751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28134752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28134753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28134754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28134755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28134756, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28135066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993982, 'mtr_portfolio_id': 28135066, 'created_at': datetime.datetime(2025, 11, 4, 6, 17, 57), 'result': '0.04877199315337247', 'result_long': None, 'result_double': None}] Qualite : 0.04877199315337247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28135066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135066_04-11-2025_06_17_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28135066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135066_04-11-2025_06_17_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28135098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135101, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135103, 'pht': 3726}}" where mtr_portfolio_id = 28135066 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28135066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819487, 0.04877199315337247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135066_04-11-2025_06_17_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28135098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135101, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28135267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3993893, 'mtr_portfolio_id': 28135267, 'created_at': datetime.datetime(2025, 11, 4, 5, 46, 59), 'result': '0.04211723764889731', 'result_long': None, 'result_double': None}] Qualite : 0.04211723764889731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28135267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135267_04-11-2025_05_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28135267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135267_04-11-2025_05_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28135303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135314, 'pht': 3726}}" where mtr_portfolio_id = 28135267 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28135267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819489, 0.04211723764889731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135267_04-11-2025_05_46_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28135303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135314, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28135833 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994075, 'mtr_portfolio_id': 28135833, 'created_at': datetime.datetime(2025, 11, 4, 6, 4, 59), 'result': '0.054513809365100196', 'result_long': None, 'result_double': None}] Qualite : 0.054513809365100196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28135833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135833_04-11-2025_06_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28135833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135833_04-11-2025_06_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28135847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135849, 'pht': 3726}}" where mtr_portfolio_id = 28135833 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28135833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819490, 0.054513809365100196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28135833_04-11-2025_06_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28135838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28135839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28135840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28135841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28135842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28135843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28135844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28135845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28135846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28135847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28135848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28135849, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28136289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994143, 'mtr_portfolio_id': 28136289, 'created_at': datetime.datetime(2025, 11, 4, 6, 16, 59), 'result': '0.031461636664971926', 'result_long': None, 'result_double': None}] Qualite : 0.031461636664971926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28136289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136289_04-11-2025_06_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28136289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136289_04-11-2025_06_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28136293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28136294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28136295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28136296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28136297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28136298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28136299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28136300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28136301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28136302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28136303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28136304, 'pht': 3726}}" where mtr_portfolio_id = 28136289 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28136289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819491, 0.031461636664971926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136289_04-11-2025_06_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28136293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28136294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28136295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28136296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28136297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28136298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28136299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28136300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28136301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28136302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28136303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28136304, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28136968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994214, 'mtr_portfolio_id': 28136968, 'created_at': datetime.datetime(2025, 11, 4, 6, 34, 58), 'result': '0.06967123912076012', 'result_long': None, 'result_double': None}] Qualite : 0.06967123912076012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28136968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136968_04-11-2025_06_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28136968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136968_04-11-2025_06_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28136990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28136991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28136992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28136993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28136994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28136995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28136996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28136997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28136998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28136999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28137000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28137001, 'pht': 3726}}" where mtr_portfolio_id = 28136968 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28136968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819492, 0.06967123912076012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28136968_04-11-2025_06_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28136990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28136991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28136992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28136993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28136994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28136995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28136996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28136997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28136998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28136999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28137000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28137001, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28137588 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994318, 'mtr_portfolio_id': 28137588, 'created_at': datetime.datetime(2025, 11, 4, 6, 48, 58), 'result': '0.04543400353585638', 'result_long': None, 'result_double': None}] Qualite : 0.04543400353585638 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28137588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28137588_04-11-2025_06_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28137588 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28137588_04-11-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28137637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28137638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28137639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28137640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28137641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28137642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28137643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28137644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28137646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28137648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28137651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28137653, 'pht': 3726}}" where mtr_portfolio_id = 28137588 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28137588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819496, 0.04543400353585638, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28137588_04-11-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28137637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28137638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28137639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28137640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28137641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28137642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28137643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28137644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28137646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28137648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28137651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28137653, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28138146 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994379, 'mtr_portfolio_id': 28138146, 'created_at': datetime.datetime(2025, 11, 4, 7, 3, 30), 'result': '0.03317790698198497', 'result_long': None, 'result_double': None}] Qualite : 0.03317790698198497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28138146 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138146_04-11-2025_07_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28138146 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138146_04-11-2025_07_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28138187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28138188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28138189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28138190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28138191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28138192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28138193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28138194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28138195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28138196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28138197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28138198, 'pht': 3726}}" where mtr_portfolio_id = 28138146 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28138146 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819498, 0.03317790698198497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138146_04-11-2025_07_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28138187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28138188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28138189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28138190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28138191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28138192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28138193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28138194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28138195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28138196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28138197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28138198, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28138799 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994526, 'mtr_portfolio_id': 28138799, 'created_at': datetime.datetime(2025, 11, 4, 7, 19, 57), 'result': '0.12057242655631127', 'result_long': None, 'result_double': None}] Qualite : 0.12057242655631127 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28138799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138799_04-11-2025_07_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28138799 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138799_04-11-2025_07_19_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28138819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28138820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28138821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28138822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28138823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28138824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28138825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28138826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28138827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28138828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28138829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28138830, 'pht': 3726}}" where mtr_portfolio_id = 28138799 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28138799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819499, 0.12057242655631127, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28138799_04-11-2025_07_19_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28138819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28138820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28138821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28138822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28138823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28138824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28138825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28138826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28138827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28138828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28138829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28138830, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28139733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994748, 'mtr_portfolio_id': 28139733, 'created_at': datetime.datetime(2025, 11, 4, 7, 35, 31), 'result': '0.04969135802469136', 'result_long': None, 'result_double': None}] Qualite : 0.04969135802469136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28139733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28139733_04-11-2025_07_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28139733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28139733_04-11-2025_07_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28139756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28139757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28139758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28139759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28139760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28139761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28139762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28139763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28139764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28139765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28139766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28139767, 'pht': 3726}}" where mtr_portfolio_id = 28139733 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28139733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819500, 0.04969135802469136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28139733_04-11-2025_07_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28139756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28139757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28139758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28139759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28139760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28139761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28139762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28139763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28139764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28139765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28139766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28139767, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28140546 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3994922, 'mtr_portfolio_id': 28140546, 'created_at': datetime.datetime(2025, 11, 4, 7, 49), 'result': '0.09401388438722184', 'result_long': None, 'result_double': None}] Qualite : 0.09401388438722184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28140546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28140546_04-11-2025_07_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28140546 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28140546_04-11-2025_07_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28140570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28140571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28140572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28140573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28140574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28140575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28140576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28140577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28140578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28140579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28140580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28140581, 'pht': 3726}}" where mtr_portfolio_id = 28140546 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28140546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819504, 0.09401388438722184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28140546_04-11-2025_07_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28140570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28140571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28140572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28140573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28140574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28140575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28140576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28140577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28140578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28140579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28140580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28140581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28141396 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3995120, 'mtr_portfolio_id': 28141396, 'created_at': datetime.datetime(2025, 11, 4, 8, 6, 31), 'result': '0.04386069277452685', 'result_long': None, 'result_double': None}] Qualite : 0.04386069277452685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28141396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28141396_04-11-2025_08_06_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28141396 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28141396_04-11-2025_08_06_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28141443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28141444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28141445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28141446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28141447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28141448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28141449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28141450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28141451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28141452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28141453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28141454, 'pht': 3726}}" where mtr_portfolio_id = 28141396 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28141396 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819505, 0.04386069277452685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28141396_04-11-2025_08_06_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28141443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28141444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28141445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28141446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28141447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28141448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28141449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28141450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28141451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28141452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28141453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28141454, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28142167 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3995317, 'mtr_portfolio_id': 28142167, 'created_at': datetime.datetime(2025, 11, 4, 8, 18, 58), 'result': '0.06491223421211728', 'result_long': None, 'result_double': None}] Qualite : 0.06491223421211728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28142167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142167_04-11-2025_08_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28142167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142167_04-11-2025_08_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28142189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28142190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28142191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28142192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28142193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28142194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28142195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28142196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28142197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28142198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28142199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28142200, 'pht': 3726}}" where mtr_portfolio_id = 28142167 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28142167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819506, 0.06491223421211728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142167_04-11-2025_08_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28142189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28142190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28142191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28142192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28142193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28142194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28142195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28142196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28142197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28142198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28142199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28142200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28142804 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3995501, 'mtr_portfolio_id': 28142804, 'created_at': datetime.datetime(2025, 11, 4, 8, 33), 'result': '0.039892720490450305', 'result_long': None, 'result_double': None}] Qualite : 0.039892720490450305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28142804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142804_04-11-2025_08_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28142804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142804_04-11-2025_08_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28142823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28142824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28142825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28142826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28142827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28142828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28142829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28142830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28142832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28142833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28142834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28142835, 'pht': 3726}}" where mtr_portfolio_id = 28142804 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28142804 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819509, 0.039892720490450305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28142804_04-11-2025_08_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28142823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28142824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28142825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28142826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28142827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28142828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28142829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28142830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28142832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28142833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28142834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28142835, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28143445 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3995664, 'mtr_portfolio_id': 28143445, 'created_at': datetime.datetime(2025, 11, 4, 8, 46, 58), 'result': '0.05203674101966978', 'result_long': None, 'result_double': None}] Qualite : 0.05203674101966978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28143445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28143445_04-11-2025_08_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28143445 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28143445_04-11-2025_08_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28143484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28143485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28143486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28143487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28143488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28143489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28143490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28143491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28143492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28143493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28143494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28143496, 'pht': 3726}}" where mtr_portfolio_id = 28143445 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28143445 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819510, 0.05203674101966978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28143445_04-11-2025_08_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28143484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28143485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28143486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28143487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28143488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28143489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28143490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28143491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28143492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28143493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28143494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28143496, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28144267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3995881, 'mtr_portfolio_id': 28144267, 'created_at': datetime.datetime(2025, 11, 4, 9, 3), 'result': '0.015820086587680648', 'result_long': None, 'result_double': None}] Qualite : 0.015820086587680648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28144267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28144267_04-11-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28144267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28144267_04-11-2025_09_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28144300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28144301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28144302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28144303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28144304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28144305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28144306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28144307, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28144308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28144309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28144310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28144311, 'pht': 3726}}" where mtr_portfolio_id = 28144267 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28144267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819511, 0.015820086587680648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28144267_04-11-2025_09_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28144300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28144301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28144302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28144303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28144304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28144305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28144306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28144307, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28144308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28144309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28144310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28144311, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28146755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3996340, 'mtr_portfolio_id': 28146755, 'created_at': datetime.datetime(2025, 11, 4, 9, 49, 29), 'result': '0.04215640501651104', 'result_long': None, 'result_double': None}] Qualite : 0.04215640501651104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28146755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146755_04-11-2025_09_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146755_04-11-2025_09_49_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28146756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28146757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28146758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28146759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28146760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28146761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28146762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28146763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28146764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28146765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28146766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28146767, 'pht': 3726}}" where mtr_portfolio_id = 28146755 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28146755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819512, 0.04215640501651104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146755_04-11-2025_09_49_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28146756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28146757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28146758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28146759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28146760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28146761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28146762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28146763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28146764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28146765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28146766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28146767, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28147528 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3996397, 'mtr_portfolio_id': 28147528, 'created_at': datetime.datetime(2025, 11, 4, 10, 2, 57), 'result': '0.0713723927228882', 'result_long': None, 'result_double': None}] Qualite : 0.0713723927228882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28147528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28147528_04-11-2025_10_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28147528 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28147528_04-11-2025_10_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28147535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28147536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28147537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28147538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28147539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28147540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28147541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28147542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28147543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28147544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28147545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28147546, 'pht': 3726}}" where mtr_portfolio_id = 28147528 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28147528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819514, 0.0713723927228882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28147528_04-11-2025_10_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28147535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28147536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28147537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28147538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28147539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28147540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28147541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28147542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28147543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28147544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28147545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28147546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28148235 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3996530, 'mtr_portfolio_id': 28148235, 'created_at': datetime.datetime(2025, 11, 4, 10, 18, 58), 'result': '0.037600924134168184', 'result_long': None, 'result_double': None}] Qualite : 0.037600924134168184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28148235 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148235_04-11-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148235 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148235_04-11-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28148284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28148285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28148286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28148287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28148288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28148289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28148290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28148291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28148292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28148293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28148294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28148295, 'pht': 3726}}" where mtr_portfolio_id = 28148235 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28148235 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819515, 0.037600924134168184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148235_04-11-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28148284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28148285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28148286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28148287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28148288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28148289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28148290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28148291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28148292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28148293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28148294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28148295, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28149133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3996626, 'mtr_portfolio_id': 28149133, 'created_at': datetime.datetime(2025, 11, 4, 10, 32, 59), 'result': '0.05015841207161353', 'result_long': None, 'result_double': None}] Qualite : 0.05015841207161353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28149133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149133_04-11-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28149133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149133_04-11-2025_10_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28149146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28149147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28149148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28149149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28149150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28149151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28149152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28149153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28149154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28149155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28149156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28149157, 'pht': 3726}}" where mtr_portfolio_id = 28149133 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28149133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819516, 0.05015841207161353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149133_04-11-2025_10_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28149146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28149147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28149148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28149149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28149150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28149151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28149152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28149153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28149154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28149155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28149156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28149157, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28149987 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3996704, 'mtr_portfolio_id': 28149987, 'created_at': datetime.datetime(2025, 11, 4, 10, 47), 'result': '0.029955112372037955', 'result_long': None, 'result_double': None}] Qualite : 0.029955112372037955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28149987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149987_04-11-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28149987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149987_04-11-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28150053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28150055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28150057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28150059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28150062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28150065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28150067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28150069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28150070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28150071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28150072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28150073, 'pht': 3726}}" where mtr_portfolio_id = 28149987 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28149987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819519, 0.029955112372037955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149987_04-11-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28150053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28150055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28150057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28150059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28150062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28150065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28150067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28150069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28150070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28150071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28150072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28150073, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28150885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3996815, 'mtr_portfolio_id': 28150885, 'created_at': datetime.datetime(2025, 11, 4, 11, 3), 'result': '0.08247999784316754', 'result_long': None, 'result_double': None}] Qualite : 0.08247999784316754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28150885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150885_04-11-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150885_04-11-2025_11_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28150936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28150937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28150938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28150939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28150940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28150941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28150942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28150943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28150944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28150945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28150946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28150947, 'pht': 3726}}" where mtr_portfolio_id = 28150885 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28150885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819520, 0.08247999784316754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150885_04-11-2025_11_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28150936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28150937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28150938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28150939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28150940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28150941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28150942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28150943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28150944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28150945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28150946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28150947, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28152731 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997006, 'mtr_portfolio_id': 28152731, 'created_at': datetime.datetime(2025, 11, 4, 11, 32, 59), 'result': '0.0519296046884721', 'result_long': None, 'result_double': None}] Qualite : 0.0519296046884721 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28152731 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28152731_04-11-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28152731 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28152731_04-11-2025_11_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28152753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28152754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28152755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28152756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28152757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28152758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28152759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28152760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28152761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28152762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28152763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28152764, 'pht': 3726}}" where mtr_portfolio_id = 28152731 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28152731 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819521, 0.0519296046884721, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28152731_04-11-2025_11_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28152753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28152754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28152755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28152756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28152757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28152758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28152759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28152760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28152761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28152762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28152763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28152764, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28153387 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997047, 'mtr_portfolio_id': 28153387, 'created_at': datetime.datetime(2025, 11, 4, 11, 48, 58), 'result': '0.05471224124499361', 'result_long': None, 'result_double': None}] Qualite : 0.05471224124499361 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28153387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28153387_04-11-2025_11_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28153387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28153387_04-11-2025_11_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28153432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28153433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28153434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28153435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28153436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28153437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28153438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28153439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28153440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28153441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28153442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28153443, 'pht': 3726}}" where mtr_portfolio_id = 28153387 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28153387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819524, 0.05471224124499361, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28153387_04-11-2025_11_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28153432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28153433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28153434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28153435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28153436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28153437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28153438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28153439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28153440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28153441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28153442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28153443, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28154256 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997154, 'mtr_portfolio_id': 28154256, 'created_at': datetime.datetime(2025, 11, 4, 12, 2, 59), 'result': '0.041925807989875045', 'result_long': None, 'result_double': None}] Qualite : 0.041925807989875045 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28154256 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154256_04-11-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154256 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154256_04-11-2025_12_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28154309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28154310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28154311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28154312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28154313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28154314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28154315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28154316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28154317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28154318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28154319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28154320, 'pht': 3726}}" where mtr_portfolio_id = 28154256 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28154256 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819525, 0.041925807989875045, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154256_04-11-2025_12_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28154309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28154310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28154311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28154312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28154313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28154314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28154315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28154316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28154317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28154318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28154319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28154320, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28155022 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997247, 'mtr_portfolio_id': 28155022, 'created_at': datetime.datetime(2025, 11, 4, 13, 59, 58), 'result': '0.0421528070391111', 'result_long': None, 'result_double': None}] Qualite : 0.0421528070391111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28155022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28155022_04-11-2025_13_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28155022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28155022_04-11-2025_13_59_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28155027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28155028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28155029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28155030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28155031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28155032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28155033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28155034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28155035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28155036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28155037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28155038, 'pht': 3726}}" where mtr_portfolio_id = 28155022 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28155022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819526, 0.0421528070391111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28155022_04-11-2025_13_59_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28155027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28155028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28155029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28155030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28155031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28155032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28155033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28155034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28155035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28155036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28155037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28155038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28159055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997582, 'mtr_portfolio_id': 28159055, 'created_at': datetime.datetime(2025, 11, 4, 14, 3, 28), 'result': '0.047802484967385435', 'result_long': None, 'result_double': None}] Qualite : 0.047802484967385435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28159055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159055_04-11-2025_14_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28159055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159055_04-11-2025_14_03_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28159080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28159081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28159082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28159084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28159085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28159087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28159088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28159089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28159090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28159092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28159093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28159094, 'pht': 3726}}" where mtr_portfolio_id = 28159055 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28159055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819528, 0.047802484967385435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159055_04-11-2025_14_03_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28159080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28159081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28159082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28159084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28159085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28159087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28159088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28159089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28159090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28159092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28159093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28159094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28159444 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997624, 'mtr_portfolio_id': 28159444, 'created_at': datetime.datetime(2025, 11, 4, 14, 17), 'result': '0.06168885923607284', 'result_long': None, 'result_double': None}] Qualite : 0.06168885923607284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28159444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159444_04-11-2025_14_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28159444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159444_04-11-2025_14_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28159454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28159455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28159456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28159457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28159458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28159459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28159460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28159461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28159462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28159463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28159464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28159465, 'pht': 3726}}" where mtr_portfolio_id = 28159444 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28159444 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819531, 0.06168885923607284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28159444_04-11-2025_14_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28159454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28159455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28159456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28159457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28159458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28159459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28159460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28159461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28159462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28159463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28159464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28159465, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28160204 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997672, 'mtr_portfolio_id': 28160204, 'created_at': datetime.datetime(2025, 11, 4, 14, 32, 59), 'result': '0.06000461226459856', 'result_long': None, 'result_double': None}] Qualite : 0.06000461226459856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28160204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160204_04-11-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160204_04-11-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28160208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28160209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28160210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28160211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28160212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28160213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28160214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28160215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28160216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28160217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28160218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28160219, 'pht': 3726}}" where mtr_portfolio_id = 28160204 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28160204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819532, 0.06000461226459856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160204_04-11-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28160208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28160209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28160210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28160211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28160212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28160213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28160214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28160215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28160216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28160217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28160218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28160219, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28160827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997732, 'mtr_portfolio_id': 28160827, 'created_at': datetime.datetime(2025, 11, 4, 14, 49, 28), 'result': '0.04277344809330554', 'result_long': None, 'result_double': None}] Qualite : 0.04277344809330554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28160827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160827_04-11-2025_14_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160827_04-11-2025_14_49_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28160842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28160843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28160844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28160845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28160846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28160847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28160848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28160849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28160850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28160851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28160852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28160853, 'pht': 3726}}" where mtr_portfolio_id = 28160827 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28160827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819533, 0.04277344809330554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160827_04-11-2025_14_49_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28160842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28160843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28160844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28160845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28160846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28160847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28160848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28160849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28160850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28160851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28160852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28160853, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28161544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997819, 'mtr_portfolio_id': 28161544, 'created_at': datetime.datetime(2025, 11, 4, 14, 58, 59), 'result': '0.05582722733515259', 'result_long': None, 'result_double': None}] Qualite : 0.05582722733515259 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28161544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28161544_04-11-2025_14_58_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28161544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28161544_04-11-2025_14_58_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28161571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28161572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28161573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28161574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28161575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28161576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28161577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28161578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28161579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28161580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28161581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28161582, 'pht': 3726}}" where mtr_portfolio_id = 28161544 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28161544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819535, 0.05582722733515259, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28161544_04-11-2025_14_58_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28161571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28161572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28161573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28161574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28161575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28161576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28161577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28161578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28161579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28161580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28161581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28161582, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28162079 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997901, 'mtr_portfolio_id': 28162079, 'created_at': datetime.datetime(2025, 11, 4, 15, 21, 10), 'result': '0.05108875717502112', 'result_long': None, 'result_double': None}] Qualite : 0.05108875717502112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28162079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162079_04-11-2025_15_21_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162079 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162079_04-11-2025_15_21_10.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28162089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28162090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28162091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28162092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28162093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28162094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28162095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28162096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28162097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28162098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28162099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28162100, 'pht': 3726}}" where mtr_portfolio_id = 28162079 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28162079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819536, 0.05108875717502112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162079_04-11-2025_15_21_10.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28162089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28162090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28162091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28162092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28162093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28162094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28162095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28162096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28162097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28162098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28162099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28162100, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28162965 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3997995, 'mtr_portfolio_id': 28162965, 'created_at': datetime.datetime(2025, 11, 4, 15, 34, 59), 'result': '0.030464575389481423', 'result_long': None, 'result_double': None}] Qualite : 0.030464575389481423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28162965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162965_04-11-2025_15_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162965_04-11-2025_15_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28163045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28163046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28163047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28163048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28163049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28163050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28163051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28163052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28163054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28163055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28163056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28163057, 'pht': 3726}}" where mtr_portfolio_id = 28162965 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28162965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819537, 0.030464575389481423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162965_04-11-2025_15_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28163045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28163046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28163047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28163048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28163049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28163050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28163051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28163052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28163054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28163055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28163056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28163057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28163709 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998063, 'mtr_portfolio_id': 28163709, 'created_at': datetime.datetime(2025, 11, 4, 15, 48, 58), 'result': '0.06520685773480049', 'result_long': None, 'result_double': None}] Qualite : 0.06520685773480049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28163709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28163709_04-11-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28163709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28163709_04-11-2025_15_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28163728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28163729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28163730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28163731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28163732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28163733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28163734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28163735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28163736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28163737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28163738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28163739, 'pht': 3726}}" where mtr_portfolio_id = 28163709 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28163709 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819538, 0.06520685773480049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28163709_04-11-2025_15_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28163728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28163729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28163730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28163731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28163732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28163733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28163734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28163735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28163736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28163737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28163738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28163739, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28164565 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998164, 'mtr_portfolio_id': 28164565, 'created_at': datetime.datetime(2025, 11, 4, 17, 31, 13), 'result': '0.06514097539719166', 'result_long': None, 'result_double': None}] Qualite : 0.06514097539719166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28164565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28164565_04-11-2025_17_31_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28164565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28164565_04-11-2025_17_31_13.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28164598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28164599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28164600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28164601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28164602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28164603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28164604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28164605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28164606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28164607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28164608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28164609, 'pht': 3726}}" where mtr_portfolio_id = 28164565 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28164565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819540, 0.06514097539719166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28164565_04-11-2025_17_31_13.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28164598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28164599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28164600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28164601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28164602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28164603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28164604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28164605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28164606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28164607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28164608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28164609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28165106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998236, 'mtr_portfolio_id': 28165106, 'created_at': datetime.datetime(2025, 11, 4, 16, 16, 57), 'result': '0.07787410216277921', 'result_long': None, 'result_double': None}] Qualite : 0.07787410216277921 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28165106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165106_04-11-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165106_04-11-2025_16_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28165142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28165143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28165144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28165145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28165146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28165147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28165148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28165149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28165150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28165151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28165152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28165153, 'pht': 3726}}" where mtr_portfolio_id = 28165106 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28165106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819541, 0.07787410216277921, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165106_04-11-2025_16_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28165142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28165143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28165144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28165145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28165146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28165147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28165148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28165149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28165150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28165151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28165152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28165153, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28165927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998315, 'mtr_portfolio_id': 28165927, 'created_at': datetime.datetime(2025, 11, 4, 16, 32, 57), 'result': '0.058009232746288115', 'result_long': None, 'result_double': None}] Qualite : 0.058009232746288115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28165927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165927_04-11-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165927_04-11-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28165986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28165987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28165988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28165989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28165990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28165991, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28165992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28165993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28165994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28165995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28165996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28165997, 'pht': 3726}}" where mtr_portfolio_id = 28165927 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28165927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819542, 0.058009232746288115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165927_04-11-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28165986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28165987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28165988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28165989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28165990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28165991, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28165992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28165993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28165994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28165995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28165996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28165997, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28166773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998401, 'mtr_portfolio_id': 28166773, 'created_at': datetime.datetime(2025, 11, 4, 16, 46, 31), 'result': '0.044351273126417325', 'result_long': None, 'result_double': None}] Qualite : 0.044351273126417325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28166773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28166773_04-11-2025_16_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28166773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28166773_04-11-2025_16_46_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28166859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28166860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28166861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28166862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28166863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28166864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28166865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28166866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28166867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28166868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28166869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28166870, 'pht': 3726}}" where mtr_portfolio_id = 28166773 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28166773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819545, 0.044351273126417325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28166773_04-11-2025_16_46_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28166859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28166860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28166861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28166862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28166863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28166864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28166865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28166866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28166867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28166868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28166869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28166870, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28167631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998484, 'mtr_portfolio_id': 28167631, 'created_at': datetime.datetime(2025, 11, 4, 18, 31, 10), 'result': '0.07123872399579947', 'result_long': None, 'result_double': None}] Qualite : 0.07123872399579947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28167631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28167631_04-11-2025_18_31_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28167631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28167631_04-11-2025_18_31_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28167632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28167633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28167634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28167635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28167636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28167637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28167638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28167639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28167640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28167641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28167642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28167643, 'pht': 3726}}" where mtr_portfolio_id = 28167631 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28167631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819546, 0.07123872399579947, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28167631_04-11-2025_18_31_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28167632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28167633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28167634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28167635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28167636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28167637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28167638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28167639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28167640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28167641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28167642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28167643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28168305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998545, 'mtr_portfolio_id': 28168305, 'created_at': datetime.datetime(2025, 11, 4, 17, 19), 'result': '0.05803034037349991', 'result_long': None, 'result_double': None}] Qualite : 0.05803034037349991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28168305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28168305_04-11-2025_17_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28168305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28168305_04-11-2025_17_19_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28168316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28168317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28168318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28168319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28168320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28168321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28168322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28168323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28168324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28168325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28168326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28168327, 'pht': 3726}}" where mtr_portfolio_id = 28168305 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28168305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819547, 0.05803034037349991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28168305_04-11-2025_17_19_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28168316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28168317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28168318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28168319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28168320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28168321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28168322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28168323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28168324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28168325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28168326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28168327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28169231 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998623, 'mtr_portfolio_id': 28169231, 'created_at': datetime.datetime(2025, 11, 4, 17, 32, 57), 'result': '0.06954474747094648', 'result_long': None, 'result_double': None}] Qualite : 0.06954474747094648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28169231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28169231_04-11-2025_17_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28169231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28169231_04-11-2025_17_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28169248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28169249, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28169250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28169251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28169252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28169253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28169254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28169255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28169256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28169257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28169258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28169259, 'pht': 3726}}" where mtr_portfolio_id = 28169231 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28169231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819551, 0.06954474747094648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28169231_04-11-2025_17_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28169248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28169249, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28169250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28169251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28169252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28169253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28169254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28169255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28169256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28169257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28169258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28169259, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28170988 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998786, 'mtr_portfolio_id': 28170988, 'created_at': datetime.datetime(2025, 11, 4, 18, 19), 'result': '0.08104532270252829', 'result_long': None, 'result_double': None}] Qualite : 0.08104532270252829 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28170988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28170988_04-11-2025_18_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28170988 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28170988_04-11-2025_18_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28170992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28170993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28170994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28170995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28170996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28170997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28170998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28170999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28171000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28171001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28171002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28171003, 'pht': 3726}}" where mtr_portfolio_id = 28170988 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28170988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819552, 0.08104532270252829, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28170988_04-11-2025_18_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28170992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28170993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28170994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28170995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28170996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28170997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28170998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28170999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28171000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28171001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28171002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28171003, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28171740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998832, 'mtr_portfolio_id': 28171740, 'created_at': datetime.datetime(2025, 11, 4, 18, 34, 57), 'result': '0.047912844760004694', 'result_long': None, 'result_double': None}] Qualite : 0.047912844760004694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28171740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28171740_04-11-2025_18_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28171740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28171740_04-11-2025_18_34_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28171745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28171746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28171747, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28171748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28171749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28171750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28171751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28171752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28171753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28171754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28171755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28171756, 'pht': 3726}}" where mtr_portfolio_id = 28171740 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28171740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819553, 0.047912844760004694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28171740_04-11-2025_18_34_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28171745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28171746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28171747, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28171748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28171749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28171750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28171751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28171752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28171753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28171754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28171755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28171756, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28172287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998889, 'mtr_portfolio_id': 28172287, 'created_at': datetime.datetime(2025, 11, 4, 18, 46, 31), 'result': '0.03259160770297112', 'result_long': None, 'result_double': None}] Qualite : 0.03259160770297112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28172287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172287_04-11-2025_18_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172287_04-11-2025_18_46_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28172353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28172354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28172355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28172356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28172357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28172358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28172359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28172360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28172361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28172362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28172363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28172364, 'pht': 3726}}" where mtr_portfolio_id = 28172287 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28172287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819555, 0.03259160770297112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172287_04-11-2025_18_46_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28172353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28172354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28172355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28172356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28172357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28172358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28172359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28172360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28172361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28172362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28172363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28172364, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28173203 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3998984, 'mtr_portfolio_id': 28173203, 'created_at': datetime.datetime(2025, 11, 4, 20, 31, 9), 'result': '0.04550906303701776', 'result_long': None, 'result_double': None}] Qualite : 0.04550906303701776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28173203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173203_04-11-2025_20_31_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28173203 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173203_04-11-2025_20_31_10.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28173210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28173211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28173212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28173213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28173214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28173215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28173216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28173217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28173218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28173219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28173220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28173221, 'pht': 3726}}" where mtr_portfolio_id = 28173203 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28173203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819556, 0.04550906303701776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173203_04-11-2025_20_31_10.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28173210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28173211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28173212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28173213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28173214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28173215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28173216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28173217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28173218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28173219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28173220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28173221, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28173818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999075, 'mtr_portfolio_id': 28173818, 'created_at': datetime.datetime(2025, 11, 4, 19, 18, 58), 'result': '0.054127240179984874', 'result_long': None, 'result_double': None}] Qualite : 0.054127240179984874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28173818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173818_04-11-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28173818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173818_04-11-2025_19_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28173844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28173845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28173846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28173847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28173848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28173849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28173850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28173851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28173852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28173853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28173854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28173855, 'pht': 3726}}" where mtr_portfolio_id = 28173818 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28173818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819557, 0.054127240179984874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28173818_04-11-2025_19_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28173844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28173845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28173846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28173847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28173848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28173849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28173850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28173851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28173852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28173853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28173854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28173855, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28174836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999229, 'mtr_portfolio_id': 28174836, 'created_at': datetime.datetime(2025, 11, 4, 19, 32, 57), 'result': '0.032760257559448926', 'result_long': None, 'result_double': None}] Qualite : 0.032760257559448926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28174836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28174836_04-11-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28174836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28174836_04-11-2025_19_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28174890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28174891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28174893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28174894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28174895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28174897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28174898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28174899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28174900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28174902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28174903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28174904, 'pht': 3726}}" where mtr_portfolio_id = 28174836 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28174836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819559, 0.032760257559448926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28174836_04-11-2025_19_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28174890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28174891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28174893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28174894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28174895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28174897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28174898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28174899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28174900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28174902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28174903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28174904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28175693 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999362, 'mtr_portfolio_id': 28175693, 'created_at': datetime.datetime(2025, 11, 4, 19, 48, 58), 'result': '0.030695470646473325', 'result_long': None, 'result_double': None}] Qualite : 0.030695470646473325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28175693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28175693_04-11-2025_19_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28175693 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28175693_04-11-2025_19_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28175729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28175730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28175731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28175732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28175733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28175734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28175735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28175736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28175737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28175738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28175739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28175741, 'pht': 3726}}" where mtr_portfolio_id = 28175693 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28175693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819560, 0.030695470646473325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28175693_04-11-2025_19_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28175729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28175730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28175731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28175732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28175733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28175734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28175735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28175736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28175737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28175738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28175739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28175741, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28176408 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999432, 'mtr_portfolio_id': 28176408, 'created_at': datetime.datetime(2025, 11, 4, 21, 30, 57), 'result': '0.04018733983573919', 'result_long': None, 'result_double': None}] Qualite : 0.04018733983573919 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28176408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28176408_04-11-2025_21_30_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28176408 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28176408_04-11-2025_21_30_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28176450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28176451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28176452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28176453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28176454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28176455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28176456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28176457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28176458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28176459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28176460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28176461, 'pht': 3726}}" where mtr_portfolio_id = 28176408 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28176408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819561, 0.04018733983573919, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28176408_04-11-2025_21_30_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28176450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28176451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28176452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28176453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28176454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28176455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28176456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28176457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28176458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28176459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28176460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28176461, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28177008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999516, 'mtr_portfolio_id': 28177008, 'created_at': datetime.datetime(2025, 11, 4, 20, 16, 57), 'result': '0.04183537817637918', 'result_long': None, 'result_double': None}] Qualite : 0.04183537817637918 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28177008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177008_04-11-2025_20_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28177008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177008_04-11-2025_20_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28177020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28177021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28177022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28177023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28177024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28177025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28177026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28177027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28177028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28177029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28177030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28177031, 'pht': 3726}}" where mtr_portfolio_id = 28177008 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28177008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819562, 0.04183537817637918, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177008_04-11-2025_20_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28177020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28177021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28177022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28177023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28177024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28177025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28177026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28177027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28177028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28177029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28177030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28177031, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28177809 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999601, 'mtr_portfolio_id': 28177809, 'created_at': datetime.datetime(2025, 11, 4, 20, 32, 58), 'result': '0.04975806709251966', 'result_long': None, 'result_double': None}] Qualite : 0.04975806709251966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28177809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177809_04-11-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28177809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177809_04-11-2025_20_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28177819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28177820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28177821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28177822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28177823, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28177824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28177825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28177826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28177827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28177828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28177829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28177831, 'pht': 3726}}" where mtr_portfolio_id = 28177809 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28177809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819565, 0.04975806709251966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28177809_04-11-2025_20_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28177819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28177820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28177821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28177822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28177823, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28177824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28177825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28177826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28177827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28177828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28177829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28177831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28178528 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999670, 'mtr_portfolio_id': 28178528, 'created_at': datetime.datetime(2025, 11, 4, 21, 2, 31), 'result': '0.06473367484084361', 'result_long': None, 'result_double': None}] Qualite : 0.06473367484084361 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28178528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178528_04-11-2025_21_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178528 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178528_04-11-2025_21_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28178547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28178548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28178549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28178550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28178551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28178552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28178553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28178554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28178555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28178556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28178557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28178558, 'pht': 3726}}" where mtr_portfolio_id = 28178528 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28178528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819567, 0.06473367484084361, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178528_04-11-2025_21_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28178547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28178548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28178549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28178550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28178551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28178552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28178553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28178554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28178555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28178556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28178557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28178558, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28180082 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28180082 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28180082 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28180082 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28180082 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28180082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28180082_04-11-2025_21_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28180082 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28180082_04-11-2025_21_16_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28180086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28180087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28180088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28180089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28180090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28180091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28180092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28180093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28180094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28180095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28180096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28180097, 'pht': 3726}}" where mtr_portfolio_id = 28180082 and dashboard_run_id = 2521138 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28180633 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999857, 'mtr_portfolio_id': 28180633, 'created_at': datetime.datetime(2025, 11, 4, 21, 32, 31), 'result': '0.05821468037053094', 'result_long': None, 'result_double': None}] Qualite : 0.05821468037053094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28180633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28180633_04-11-2025_21_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28180633 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28180633_04-11-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28180636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28180637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28180638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28180639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28180640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28180641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28180642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28180643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28180644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28180645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28180646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28180647, 'pht': 3726}}" where mtr_portfolio_id = 28180633 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28180633 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819569, 0.05821468037053094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28180633_04-11-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28180636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28180637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28180638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28180639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28180640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28180641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28180642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28180643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28180644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28180645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28180646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28180647, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28181237 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3999895, 'mtr_portfolio_id': 28181237, 'created_at': datetime.datetime(2025, 11, 4, 21, 52, 59), 'result': '0.05637006967820916', 'result_long': None, 'result_double': None}] Qualite : 0.05637006967820916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28181237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28181237_04-11-2025_21_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28181237 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28181237_04-11-2025_21_53_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28181239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28181240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28181241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28181242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28181243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28181244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28181245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28181246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28181247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28181248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28181249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28181250, 'pht': 3726}}" where mtr_portfolio_id = 28181237 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28181237 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819571, 0.05637006967820916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28181237_04-11-2025_21_53_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28181239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28181240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28181241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28181242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28181243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28181244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28181245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28181246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28181247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28181248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28181249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28181250, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28182506 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000060, 'mtr_portfolio_id': 28182506, 'created_at': datetime.datetime(2025, 11, 4, 22, 32, 59), 'result': '0.037223954753497636', 'result_long': None, 'result_double': None}] Qualite : 0.037223954753497636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28182506 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182506_04-11-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28182506 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182506_04-11-2025_22_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28182511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28182512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28182513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28182514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28182515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28182516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28182517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28182518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28182519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28182520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28182521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28182522, 'pht': 3726}}" where mtr_portfolio_id = 28182506 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28182506 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819574, 0.037223954753497636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182506_04-11-2025_22_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28182511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28182512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28182513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28182514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28182515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28182516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28182517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28182518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28182519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28182520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28182521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28182522, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28182760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000079, 'mtr_portfolio_id': 28182760, 'created_at': datetime.datetime(2025, 11, 4, 22, 46, 59), 'result': '0.12168211665673884', 'result_long': None, 'result_double': None}] Qualite : 0.12168211665673884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28182760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182760_04-11-2025_22_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28182760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182760_04-11-2025_22_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28182812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28182813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28182814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28182815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28182816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28182817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28182818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28182820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28182821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28182822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28182823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28182824, 'pht': 3726}}" where mtr_portfolio_id = 28182760 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28182760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819575, 0.12168211665673884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28182760_04-11-2025_22_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28182812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28182813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28182814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28182815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28182816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28182817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28182818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28182820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28182821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28182822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28182823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28182824, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28183356 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000110, 'mtr_portfolio_id': 28183356, 'created_at': datetime.datetime(2025, 11, 4, 23, 2, 57), 'result': '0.025059654587352802', 'result_long': None, 'result_double': None}] Qualite : 0.025059654587352802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28183356 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183356_04-11-2025_23_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28183356 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183356_04-11-2025_23_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28183372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28183373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28183374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28183375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28183376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28183377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28183378, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28183379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28183380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28183381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28183382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28183383, 'pht': 3726}}" where mtr_portfolio_id = 28183356 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28183356 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819576, 0.025059654587352802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183356_04-11-2025_23_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28183372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28183373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28183374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28183375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28183376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28183377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28183378, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28183379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28183380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28183381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28183382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28183383, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28183881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000152, 'mtr_portfolio_id': 28183881, 'created_at': datetime.datetime(2025, 11, 4, 23, 16, 58), 'result': '0.055639872938343986', 'result_long': None, 'result_double': None}] Qualite : 0.055639872938343986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28183881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183881_04-11-2025_23_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28183881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183881_04-11-2025_23_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28183882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28183883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28183884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28183885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28183886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28183887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28183888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28183889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28183890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28183891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28183892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28183893, 'pht': 3726}}" where mtr_portfolio_id = 28183881 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28183881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819578, 0.055639872938343986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28183881_04-11-2025_23_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28183882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28183883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28183884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28183885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28183886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28183887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28183888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28183889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28183890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28183891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28183892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28183893, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28184447 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000181, 'mtr_portfolio_id': 28184447, 'created_at': datetime.datetime(2025, 11, 4, 23, 35, 1), 'result': '0.09454774904338292', 'result_long': None, 'result_double': None}] Qualite : 0.09454774904338292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28184447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28184447_04-11-2025_23_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28184447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28184447_04-11-2025_23_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28184492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28184493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28184494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28184496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28184497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28184498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28184500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28184501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28184502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28184503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28184505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28184506, 'pht': 3726}}" where mtr_portfolio_id = 28184447 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28184447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819579, 0.09454774904338292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28184447_04-11-2025_23_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28184492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28184493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28184494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28184496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28184497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28184498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28184500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28184501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28184502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28184503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28184505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28184506, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28185223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4000208, 'mtr_portfolio_id': 28185223, 'created_at': datetime.datetime(2025, 11, 4, 23, 46, 59), 'result': '0.04406921839758754', 'result_long': None, 'result_double': None}] Qualite : 0.04406921839758754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28185223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185223_04-11-2025_23_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185223_04-11-2025_23_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28185224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28185225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28185226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28185227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28185228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28185229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28185230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28185231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28185232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28185233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28185234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28185235, 'pht': 3726}}" where mtr_portfolio_id = 28185223 and dashboard_run_id = 2521138 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28185223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16819580, 0.04406921839758754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185223_04-11-2025_23_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28185224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28185225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28185226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28185227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28185228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28185229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28185230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28185231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28185232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28185233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28185234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28185235, '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 (28123472,28123890,28124264,28124852,28126317,28126933,28127390,28128065,28128502,28129163,28129705,28130392,28131240,28131780,28132440,28134742,28135066,28135267,28135833,28136289,28136968,28137588,28138146,28138799,28139733,28140546,28141396,28142167,28142804,28143445,28144267,28146755,28147528,28148235,28149133,28149987,28150885,28152731,28153387,28154256,28155022,28159055,28159444,28160204,28160827,28161544,28162079,28162965,28163709,28164565,28165106,28165927,28166773,28167631,28168305,28169231,28170988,28171740,28172287,28173203,28173818,28174836,28175693,28176408,28177008,28177809,28178528,28180082,28180633,28181237,28182506,28182760,28183356,28183881,28184447,28185223) result : ((1392204983,), (1392205871,), (1392205908,), (1392205943,), (1392205979,), (1392206015,), (1392206037,), (1392206041,), (1392206044,), (1392206067,), (1392206099,), (1392206129,), (1392206164,), (1392206201,), (1392206574,), (1392206580,), (1392206584,), (1392206603,), (1392206872,), (1392206907,), (1392206938,), (1392206971,), (1392207309,), (1392207311,), (1392207313,), (1392207328,), (1392207845,), (1392207865,), (1392207878,), (1392207896,), (1392207937,), (1392207940,), (1392207943,), (1392207947,), (1392207970,), (1392208004,), (1392208037,), (1392208210,), (1392208212,), (1392208213,), (1392208214,), (1392208216,), (1392208239,), (1392208241,), (1392208245,), (1392208249,), (1392208253,), (1392208257,), (1392208274,), (1392208278,), (1392208280,), (1392208282,), (1392208316,), (1392208689,), (1392208725,), (1392208759,), (1392209227,), (1392209212,), (1392209215,), (1392209217,), (1392209220,), (1392209224,), (1392209430,), (1392209441,), (1392209449,), (1392209482,), (1392209486,), (1392209516,), (1392209551,), (1392209553,), (1392209568,), (1392209570,), (1392209601,), (1392209604,), (1392209607,), (1392209609,), (1392209613,), (1392209618,), (1392209701,), (1392209714,), (1392209742,), (1392209745,), (1392209787,), (1392209789,), (1392209824,), (1392209840,), (1392209921,), (1392209924,), (1392209927,), (1392209929,), (1392209932,), (1392209936,), (1392209949,), (1392209950,), (1392209951,), (1392209953,), (1392209956,), (1392209959,), (1392209997,), (1392209998,), (1392210000,), (1392210003,), (1392210099,), (1392210101,), (1392210103,), (1392210105,), (1392210107,), (1392210110,), (1392210188,), (1392210221,), (1392210256,), (1392210277,), (1392210395,), (1392210429,), (1392210462,), (1392210496,), (1392210536,), (1392210929,), (1392210962,), (1392210997,), (1392211394,), (1392211398,), (1392211400,), (1392211403,), (1392211411,), (1392211622,), (1392211666,), (1392211730,), (1392211822,), (1392213145,), (1392213218,), (1392213305,), (1392213412,), (1392213601,), (1392212958,), (1392213075,), (1392213606,), (1392213615,), (1392213617,), (1392213623,), (1392213916,), (1392213934,), (1392213990,), (1392214383,), (1392214386,), (1392214402,), (1392214435,), (1392214451,), (1392214454,), (1392214555,), (1392214557,), (1392214559,), (1392214562,), (1392214566,), (1392214590,), (1392214592,), (1392214594,), (1392214596,), (1392214600,), (1392214635,), (1392214637,), (1392214638,), (1392214642,), (1392214671,), (1392214692,), (1392214693,), (1392214709,), (1392214738,), (1392214780,), (1392215125,), (1392215173,), (1392215215,), (1392215258,), (1392215295,), (1392215338,), (1392215875,), (1392215908,), (1392216199,), (1392216202,), (1392216203,), (1392216567,), (1392216602,), (1392216650,), (1392216693,), (1392217263,), (1392217296,), (1392217343,), (1392217374,), (1392217410,), (1392217635,), (1392217637,), (1392217640,), (1392217795,), (1392217681,), (1392217684,), (1392217724,), (1392217757,), (1392217992,), (1392218027,), (1392218271,), (1392218276,), (1392218312,), (1392218324,), (1392218343,), (1392218800,), (1392218838,), (1392218861,), (1392218863,), (1392218885,), (1392219011,), (1392219015,), (1392219019,), (1392219022,), (1392219052,), (1392219073,), (1392219085,), (1392219095,), (1392219103,), (1392219212,), (1392219249,), (1392219274,), (1392219275,), (1392219277,), (1392219279,), (1392219367,), (1392219410,), (1392219447,), (1392219484,), (1392219896,), (1392219928,), (1392219960,), (1392219992,), (1392220026,), (1392220060,), (1392220113,), (1392220116,), (1392220118,), (1392220254,), (1392220329,), (1392220395,), (1392220480,), (1392220543,), (1392221003,), (1392221066,), (1392221093,), (1392221339,), (1392221352,), (1392221355,), (1392221387,), (1392221393,), (1392221415,), (1392221447,), (1392221450,), (1392221452,), (1392221454,), (1392221457,), (1392221704,), (1392221737,), (1392221746,), (1392221761,), (1392221800,), (1392230972,), (1392230974,), (1392230976,), (1392230999,), (1392231001,), (1392231003,), (1392231006,), (1392231013,), (1392231073,), (1392231074,), (1392231075,), (1392231283,), (1392231317,), (1392231350,), (1392231382,), (1392231415,), (1392231763,), (1392231765,), (1392231921,), (1392231965,), (1392231999,), (1392232050,), (1392232085,), (1392232122,), (1392232552,), (1392232610,), (1392232650,), (1392232686,), (1392232725,), (1392233061,), (1392233069,), (1392233073,), (1392233104,), (1392233140,), (1392233322,), (1392233323,), (1392233328,), (1392233359,), (1392233362,), (1392233381,), (1392233383,), (1392233385,), (1392233387,), (1392233390,), (1392233436,), (1392233452,), (1392233453,), (1392233454,), (1392233615,), (1392233733,), (1392233767,), (1392233799,), (1392233842,), (1392234192,), (1392234223,), (1392234255,), (1392234294,), (1392234716,), (1392234748,), (1392234774,), (1392234776,), (1392234792,), (1392235220,), (1392235178,), (1392235183,), (1392235186,), (1392235189,), (1392235194,), (1392235410,), (1392235444,), (1392235479,), (1392235519,), (1392235565,), (1392235949,), (1392235951,), (1392235954,), (1392235985,), (1392236004,), (1392236007,), (1392236096,), (1392236119,), (1392236151,), (1392236184,), (1392236568,), (1392236597,), (1392236625,), (1392236653,), (1392236683,), (1392236710,), (1392236756,), (1392236757,), (1392236760,), (1392236764,), (1392236768,), (1392236797,), (1392237029,), (1392237067,), (1392237088,), (1392237099,), (1392237211,), (1392237220,), (1392237231,), (1392237235,), (1392237243,), (1392237245,), (1392237262,), (1392237263,), (1392237264,), (1392237267,), (1392237287,), (1392237290,), (1392237292,), (1392237294,), (1392237296,), (1392237298,), (1392237338,), (1392237372,), (1392237407,), (1392237440,), (1392237472,), (1392237507,), (1392237827,), (1392237858,), (1392237893,), (1392238165,), (1392238166,), (1392238168,), (1392239304,), (1392239340,), (1392239351,), (1392239357,), (1392239624,), (1392239597,), (1392239615,), (1392239774,), (1392239805,), (1392239836,), (1392239871,), (1392239908,), (1392239949,), (1392240270,), (1392240304,), (1392240341,), (1392240407,), (1392240448,), (1392240802,), (1392240806,), (1392240809,), (1392241018,), (1392241050,), (1392241079,), (1392241113,), (1392241145,), (1392241199,), (1392241591,), (1392241636,), (1392241669,), (1392241699,), (1392242100,), (1392242136,), (1392242168,), (1392242201,), (1392242369,), (1392242374,), (1392242386,), (1392242392,), (1392242409,), (1392242421,), (1392242587,), (1392242615,), (1392242646,), (1392242679,), (1392242716,), (1392242893,), (1392242895,), (1392242896,), (1392242930,), (1392242943,), (1392242944,), (1392242946,), (1392242951,), (1392242956,), (1392243186,), (1392243248,), (1392243315,), (1392243377,), (1392243415,), (1392243809,), (1392243840,), (1392243875,), (1392244131,), (1392244136,), (1392244138,), (1392244140,), (1392244156,), (1392244402,), (1392244406,), (1392245049,), (1392245017,), (1392245965,), (1392245972,), (1392245974,), (1392245977,), (1392245979,), (1392245982,), (1392245997,), (1392246000,), (1392246001,), (1392246062,), (1392246065,), (1392246070,), (1392246074,), (1392246089,), (1392246092,), (1392246145,), (1392246149,), (1392246153,), (1392246157,), (1392246161,), (1392246184,), (1392246189,), (1392246191,), (1392246230,), (1392246234,), (1392246238,), (1392246241,), (1392246245,), (1392246249,), (1392246268,), (1392246270,), (1392246271,), (1392246273,), (1392246276,), (1392246278,), (1392246291,), (1392246300,), (1392246315,), (1392246450,), (1392246452,), (1392246454,), (1392246457,), (1392246480,), (1392246483,), (1392246485,), (1392246486,), (1392246495,), (1392246504,), (1392246577,), (1392246606,), (1392246640,), (1392246682,), (1392247264,), (1392247299,), (1392247336,), (1392247369,), (1392247477,), (1392247185,), (1392247224,), (1392247633,), (1392247672,), (1392247724,), (1392247774,), (1392247818,), (1392247953,), (1392247954,), (1392247955,), (1392247957,), (1392248260,), (1392248293,), (1392249215,), (1392249277,), (1392249342,), (1392249396,), (1392249435,), (1392249906,), (1392249947,), (1392249993,), (1392250003,), (1392250007,), (1392250011,), (1392250035,), (1392250067,), (1392250101,), (1392250136,), (1392250175,), (1392250209,), (1392250348,), (1392250393,), (1392250420,), (1392250568,), (1392250571,), (1392250574,), (1392250605,), (1392250610,), (1392250874,), (1392250909,), (1392250941,), (1392250976,), (1392251010,), (1392251047,), (1392251255,), (1392251258,), (1392251260,), (1392251548,), (1392251550,), (1392251588,), (1392251590,), (1392251623,), (1392251661,), (1392251675,), (1392251702,), (1392251765,), (1392251767,), (1392251770,), (1392252008,), (1392251832,), (1392251866,), (1392251901,), (1392251936,), (1392251972,), (1392252290,), (1392252301,), (1392252305,), (1392252455,), (1392252487,), (1392252519,), (1392252552,), (1392252742,), (1392252743,), (1392252744,), (1392252746,), (1392252750,), (1392252753,), (1392252773,), (1392252777,), (1392252781,), (1392252831,), (1392252832,), (1392252844,), (1392252877,), (1392252914,), (1392252954,), (1392253073,), (1392253110,), (1392253242,), (1392253277,), (1392253310,), (1392253346,), (1392253369,), (1392253373,), (1392253545,), (1392253547,), (1392253548,), (1392253850,), (1392253876,), (1392253878,), (1392253982,), (1392253985,), (1392253988,), (1392254013,), (1392254014,), (1392254016,), (1392254019,), (1392254024,), (1392254200,), (1392254212,), (1392254214,), (1392254217,), (1392254221,), (1392254224,), (1392254232,), (1392254235,), (1392254237,), (1392254275,), (1392254278,), (1392254283,), (1392254285,), (1392254288,), (1392254298,), (1392254332,), (1392254368,), (1392254403,), (1392254438,), (1392254972,), (1392255004,), (1392255038,), (1392255070,), (1392255692,), (1392255880,), (1392254904,), (1392254939,), (1392255308,), (1392255405,), (1392255494,), (1392255560,), (1392255623,), (1392256068,), (1392256132,), (1392256192,), (1392256268,), (1392256804,), (1392256816,), (1392256848,), (1392256875,), (1392256901,), (1392256958,), (1392257026,), (1392257096,), (1392257164,), (1392257503,), (1392257536,), (1392257540,), (1392257543,), (1392257561,), (1392257602,), (1392257639,), (1392257666,), (1392257691,), (1392257694,), (1392257739,), (1392257755,), (1392257769,), (1392257775,), (1392257788,), (1392257790,), (1392257805,), (1392257807,), (1392257809,), (1392257812,), (1392257816,), (1392257820,), (1392257853,), (1392257888,), (1392257920,), (1392258349,), (1392258383,), (1392258417,), (1392258427,), (1392258431,), (1392258436,), (1392258646,), (1392258699,), (1392258740,), (1392258775,), (1392258843,), (1392258880,), (1392259141,), (1392259148,), (1392259187,), (1392259219,), (1392259243,), (1392259292,), (1392259293,), (1392259294,), (1392259296,), (1392259300,), (1392259304,), (1392259319,), (1392259323,), (1392259325,), (1392259327,), (1392259760,), (1392259655,), (1392259692,), (1392259726,), (1392259880,), (1392259917,), (1392259987,), (1392260066,), (1392260138,), (1392260433,), (1392260444,), (1392260447,), (1392260452,), (1392260475,), (1392260478,), (1392260482,), (1392260540,), (1392260546,), (1392260547,), (1392260550,), (1392260553,), (1392260573,), (1392260576,), (1392260579,), (1392260583,), (1392260587,), (1392260590,), (1392260596,), (1392260600,), (1392260607,), (1392260613,), (1392260614,), (1392260615,), (1392260617,), (1392260620,), (1392260676,), (1392260689,), (1392260691,), (1392260693,), (1392260697,), (1392260698,), (1392261048,), (1392261114,), (1392261188,), (1392261793,), (1392261839,), (1392261886,), (1392261941,), (1392261978,), (1392262016,), (1392262336,), (1392262341,), (1392262346,), (1392262349,), (1392262352,), (1392262404,), (1392262410,), (1392262453,), (1392262491,), (1392263163,), (1392263231,), (1392263437,), (1392263473,), (1392263509,), (1392263545,), (1392263724,), (1392263726,), (1392263727,), (1392263730,), (1392263760,), (1392263762,), (1392263765,), (1392263768,), (1392263771,), (1392263759,), (1392263787,), (1392263790,), (1392263794,), (1392263798,), (1392263802,), (1392263826,), (1392263828,), (1392263830,), (1392263832,), (1392263869,), (1392263870,), (1392263874,), (1392263876,), (1392263877,), (1392263911,), (1392263923,), (1392263990,), (1392263993,), (1392263994,), (1392263995,), (1392263998,), (1392264043,), (1392264045,), (1392264046,), (1392264049,), (1392264054,), (1392264101,), (1392264104,), (1392264106,), (1392264115,), (1392264124,), (1392264435,), (1392264496,), (1392265096,), (1392265136,), (1392265172,), (1392265209,), (1392265247,), (1392265406,), (1392265408,), (1392265410,), (1392265418,), (1392265436,), (1392265440,), (1392265773,), (1392265810,), (1392265857,), (1392265908,), (1392266349,), (1392266366,), (1392266403,), (1392266424,), (1392266428,), (1392266432,), (1392266533,), (1392266535,), (1392266536,), (1392266540,), (1392266549,), (1392266552,), (1392266585,), (1392266588,), (1392266630,), (1392266672,), (1392267102,), (1392267012,), (1392267014,), (1392267039,), (1392267071,), (1392267098,), (1392267223,), (1392267261,), (1392267296,), (1392267307,), (1392267341,), (1392267358,), (1392267378,), (1392267743,), (1392267781,), (1392267813,), (1392267845,), (1392268095,), (1392268098,), (1392268101,), (1392268104,), (1392268118,), (1392268158,), (1392268301,), (1392268336,), (1392268337,), (1392268338,), (1392268341,), (1392268365,), (1392268367,), (1392268369,), (1392268372,), (1392268375,), (1392268378,), (1392268399,), (1392268401,), (1392268404,), (1392268405,), (1392268406,), (1392268408,), (1392268419,), (1392268517,), (1392268520,), (1392268522,), (1392268525,), (1392268529,), (1392268531,), (1392268544,), (1392268547,), (1392268550,), (1392268577,), (1392268580,), (1392268586,), (1392268592,), (1392268597,), (1392268602,), (1392268623,), (1392268625,), (1392268636,), (1392268643,), (1392268651,), (1392268659,), (1392268676,), (1392268678,), (1392268679,), (1392268685,), (1392268692,), (1392268853,), (1392268889,), (1392268923,), (1392268959,), (1392269418,), (1392269254,), (1392269314,), (1392269823,), (1392269857,), (1392269895,), (1392269948,), (1392269986,), (1392270025,), (1392270056,), (1392270100,), (1392270137,), (1392270170,), (1392270204,), (1392270236,), (1392270565,), (1392270602,), (1392270633,), (1392270665,), (1392271058,), (1392271091,), (1392271123,), (1392271159,), (1392271196,), (1392271233,), (1392271598,), (1392271611,), (1392271631,), (1392271658,), (1392271661,), (1392271663,), (1392271699,), (1392271702,), (1392271705,), (1392271708,), (1392271713,), (1392272048,), (1392272081,), (1392272113,), (1392272332,), (1392272340,), (1392272359,), (1392272384,), (1392272386,), (1392272387,), (1392272388,), (1392272719,), (1392272755,), (1392272788,), (1392272822,), (1392273098,), (1392273100,), (1392287622,), (1392287588,), (1392287942,), (1392288347,), (1392288382,), (1392288434,), (1392288471,), (1392288511,), (1392288516,), (1392288520,), (1392288524,), (1392288529,), (1392288568,), (1392288570,), (1392288580,), (1392288584,), (1392288587,), (1392288620,), (1392288622,), (1392288623,), (1392288625,), (1392288652,), (1392288655,), (1392288657,), (1392288662,), (1392288671,), (1392288688,), (1392288731,), (1392288732,), (1392288733,), (1392288734,), (1392288736,), (1392288784,), (1392288785,), (1392288786,), (1392288789,), (1392289056,), (1392289094,), (1392289224,), (1392289212,), (1392289216,), (1392289219,), (1392289222,), (1392289668,), (1392290527,), (1392291083,), (1392291084,), (1392291085,), (1392291108,), (1392291110,), (1392291111,), (1392291112,), (1392291115,), (1392291132,), (1392291135,), (1392291138,), (1392291142,), (1392291181,), (1392291199,), (1392291269,), (1392291271,), (1392291273,), (1392291306,), (1392291309,), (1392291314,), (1392291316,), (1392291322,), (1392291326,), (1392291772,), (1392291783,), (1392291785,), (1392291787,), (1392291800,), (1392291842,), (1392291879,), (1392291672,), (1392291708,), (1392291747,), (1392291764,), (1392291768,), (1392292001,), (1392292038,), (1392292078,), (1392292186,), (1392292187,), (1392292189,), (1392292191,), (1392292194,), (1392292198,), (1392292388,), (1392292391,), (1392292393,), (1392292395,), (1392292398,), (1392292420,), (1392292445,), (1392292451,), (1392292455,), (1392292488,), (1392292490,), (1392292492,), (1392292494,), (1392294198,), (1392295331,), (1392295335,), (1392295369,), (1392295399,), (1392295404,), (1392295428,), (1392295454,), (1392295480,), (1392295482,), (1392295500,), (1392295598,), (1392295615,), (1392295619,), (1392295620,), (1392295655,), (1392295659,), (1392295660,), (1392295662,), (1392295687,), (1392295689,), (1392295691,), (1392295704,), (1392295706,), (1392295710,), (1392295750,), (1392295754,), (1392295758,), (1392295762,), (1392295768,), (1392295790,), (1392295793,), (1392295794,), (1392295801,), (1392295825,), (1392295839,), (1392295927,), (1392295939,), (1392295947,), (1392295958,), (1392295996,), (1392296016,), (1392296019,), (1392296022,), (1392296054,), (1392296057,), (1392296059,), (1392296079,), (1392296081,), (1392296083,), (1392296085,), (1392296348,), (1392296361,), (1392296962,), (1392297002,), (1392297038,), (1392297079,), (1392297115,), (1392297155,), (1392297191,), (1392297194,), (1392297198,), (1392297488,), (1392297522,), (1392297555,), (1392297592,), (1392297425,), (1392297435,), (1392297474,), (1392297486,), (1392297537,), (1392297540,), (1392297543,), (1392297797,), (1392298548,), (1392298614,), (1392298674,), (1392298736,), (1392299219,), (1392299262,), (1392299280,), (1392299668,), (1392299689,), (1392299697,), (1392299698,), (1392299825,), (1392299828,), (1392299832,), (1392299994,), (1392300012,), (1392300014,), (1392300018,), (1392300022,), (1392300047,), (1392300051,), (1392300054,), (1392300059,), (1392300063,), (1392300082,), (1392300084,), (1392300086,), (1392300089,), (1392300093,), (1392300117,), (1392300120,), (1392300156,), (1392300159,), (1392300161,), (1392300163,), (1392300399,), (1392300443,), (1392300478,), (1392300520,), (1392300553,), (1392300762,), (1392300808,), (1392300857,), (1392300890,), (1392300915,), (1392300985,), (1392300987,), (1392300991,), (1392301028,), (1392301064,), (1392301181,), (1392301178,), (1392301295,), (1392301307,), (1392301320,), (1392301328,), (1392301396,), (1392301414,), (1392301416,), (1392301418,), (1392301445,), (1392301446,), (1392301447,), (1392301449,), (1392301477,), (1392301480,), (1392301481,), (1392301482,), (1392301527,), (1392301529,), (1392301532,), (1392301568,), (1392301571,), (1392301575,), (1392301581,), (1392301623,), (1392302032,), (1392302066,), (1392302097,), (1392302342,), (1392302374,), (1392302568,), (1392302570,), (1392302603,), (1392302605,), (1392302607,), (1392302937,), (1392302970,), (1392303005,), (1392303041,), (1392303403,), (1392303407,), (1392303417,), (1392303420,), (1392303423,), (1392303646,), (1392303683,), (1392303706,), (1392303719,), (1392303722,), (1392303888,), (1392303911,), (1392303913,), (1392303917,), (1392303921,), (1392303924,), (1392304038,), (1392304073,), (1392304245,), (1392304287,), (1392304343,), (1392304389,), (1392304410,), (1392304422,), (1392304452,), (1392303944,), (1392303947,), (1392303967,), (1392304003,), (1392304435,), (1392304439,), (1392304443,), (1392304447,), (1392304462,), (1392304465,), (1392304467,), (1392304510,), (1392304513,), (1392304515,), (1392304516,), (1392304519,), (1392304521,), (1392304545,), (1392304547,), (1392304549,), (1392304552,), (1392304556,), (1392304560,), (1392304583,), (1392304585,), (1392304586,), (1392304587,), (1392304633,), (1392304638,), (1392304652,), (1392304656,), (1392304661,), (1392304731,), (1392304742,), (1392304755,), (1392305195,), (1392305266,), (1392305883,), (1392305919,), (1392305954,), (1392305988,), (1392306021,), (1392306057,), (1392306181,), (1392306205,), (1392306209,), (1392306214,), (1392306219,), (1392306474,), (1392306510,), (1392306545,), (1392306705,), (1392306708,), (1392306711,), (1392306714,), (1392306740,), (1392306742,), (1392306743,), (1392306954,), (1392306985,), (1392307014,), (1392307041,), (1392307052,), (1392307056,), (1392307155,), (1392307159,), (1392307162,), (1392307196,), (1392307200,), (1392307202,), (1392307205,), (1392307132,), (1392307137,), (1392307143,), (1392307210,), (1392307212,), (1392307215,), (1392307241,), (1392307243,), (1392307245,), (1392307302,), (1392307306,), (1392307309,), (1392307332,), (1392307335,), (1392307338,), (1392307341,), (1392307344,), (1392307361,), (1392307363,), (1392307365,), (1392307367,), (1392307370,), (1392307374,), (1392307401,), (1392307409,), (1392307888,), (1392307921,), (1392307986,), (1392308305,), (1392308310,), (1392308342,), (1392308381,), (1392308415,), (1392308626,), (1392308628,), (1392308631,), (1392308634,), (1392308673,), (1392308711,), (1392308715,), (1392308741,), (1392308761,), (1392308763,), (1392308794,), (1392308797,), (1392308806,), (1392308877,), (1392308887,), (1392308890,), (1392308908,), (1392309201,), (1392309235,), (1392309238,), (1392309242,), (1392309420,), (1392309400,), (1392309405,), (1392309453,), (1392309456,), (1392309457,), (1392309503,), (1392309509,), (1392309511,), (1392309513,), (1392309718,), (1392309754,), (1392309792,), (1392309827,), (1392309863,), (1392310509,), (1392310581,), (1392310646,), (1392310714,), (1392311437,), (1392311443,), (1392311446,), (1392311665,), (1392311705,), (1392311714,), (1392312056,), (1392312094,), (1392312125,), (1392312148,), (1392312332,), (1392312343,), (1392312353,), (1392312358,), (1392312372,), (1392312404,), (1392312489,), (1392312491,), (1392312878,), (1392312945,), (1392312979,), (1392313004,), (1392313111,), (1392313147,), (1392313193,), (1392313241,), (1392313294,), (1392313551,), (1392313554,), (1392313557,), (1392313560,), (1392313566,), (1392313780,), (1392313815,), (1392313828,), (1392314020,), (1392314024,), (1392314029,), (1392314033,), (1392314047,), (1392314052,), (1392314090,), (1392314077,), (1392314081,), (1392314083,), (1392314086,), (1392314112,), (1392314116,), (1392314148,), (1392314193,), (1392314349,), (1392314351,), (1392314352,), (1392314418,), (1392314453,), (1392314493,), (1392314517,), (1392314585,), (1392314588,), (1392314589,), (1392314593,), (1392314598,), (1392314694,), (1392314697,), (1392314701,), (1392314705,), (1392314783,), (1392314794,), (1392314797,), (1392314812,), (1392314821,), (1392314876,), (1392314879,), (1392314885,), (1392314889,), (1392314894,), (1392314897,), (1392315059,), (1392315108,), (1392315145,), (1392315197,), (1392315489,), (1392315491,), (1392315495,), (1392315526,), (1392315562,), (1392315601,), (1392315708,), (1392315713,), (1392315745,), (1392315778,), (1392315788,), (1392315805,), (1392315870,), (1392315872,), (1392315875,), (1392315880,), (1392315912,), (1392315916,), (1392315932,), (1392315934,), (1392315938,), (1392315954,), (1392315985,), (1392315988,), (1392315993,), (1392316033,), (1392316036,), (1392316043,), (1392316158,), (1392316161,), (1392316163,), (1392316373,), (1392316375,), (1392316395,), (1392316408,), (1392316594,), (1392316597,), (1392316599,), (1392316601,), (1392316609,), (1392316569,), (1392316576,), (1392316661,), (1392316706,), (1392317011,), (1392317038,), (1392317045,), (1392317097,), (1392317098,), (1392317100,), (1392317103,), (1392317114,), (1392317121,), (1392317138,), (1392317161,), (1392317173,), (1392317576,), (1392317579,), (1392317840,), (1392317860,), (1392317900,), (1392317903,), (1392317947,), (1392317960,), (1392318038,), (1392318075,), (1392318110,), (1392318250,), (1392318252,), (1392318253,), (1392318298,), (1392318302,), (1392318305,), (1392318330,), (1392318334,), (1392318360,), (1392318384,), (1392318918,), (1392318858,), (1392318860,), (1392318881,), (1392319087,), (1392319090,), (1392319092,), (1392319094,), (1392319292,), (1392319296,), (1392319345,), (1392319387,), (1392319438,), (1392319603,), (1392319605,), (1392319608,), (1392319611,), (1392319613,), (1392319639,), (1392319641,), (1392319643,), (1392319670,), (1392319673,), (1392319676,), (1392319679,), (1392319710,), (1392319714,), (1392319726,), (1392319729,), (1392319732,), (1392319736,), (1392320093,), (1392320130,), (1392320143,), (1392320146,), (1392320333,), (1392320375,), (1392320392,), (1392320519,), (1392320521,), (1392320523,), (1392320739,), (1392320744,), (1392320747,), (1392320749,), (1392320813,), (1392320849,), (1392320890,), (1392320930,), (1392320972,), (1392321006,), (1392321185,), (1392321205,), (1392321244,), (1392321280,), (1392321286,), (1392321288,), (1392321593,), (1392321596,), (1392321599,), (1392321612,), (1392321620,), (1392321631,), (1392321633,), (1392321673,), (1392321676,), (1392321678,), (1392321737,), (1392321664,), (1392321666,), (1392321670,), (1392321687,), (1392321693,), (1392321713,), (1392321718,), (1392321723,), (1392321729,), (1392321788,), (1392321822,), (1392321921,), (1392321933,), (1392321943,), (1392321949,), (1392321959,), (1392322017,), (1392322021,), (1392322023,), (1392322026,), (1392322030,), (1392322034,), (1392322053,), (1392322055,), (1392322057,), (1392322060,), (1392322084,), (1392322086,), (1392322088,), (1392322090,), (1392322211,), (1392322241,), (1392322273,), (1392322304,), (1392322341,), (1392322879,), (1392322948,), (1392323016,), (1392323090,), (1392323858,), (1392323922,), (1392323984,), (1392324033,), (1392324070,), (1392324073,), (1392324074,), (1392324085,), (1392324124,), (1392324683,), (1392324745,), (1392324810,), (1392324876,), (1392324969,), (1392325065,), (1392325239,), (1392325281,), (1392325500,), (1392325537,), (1392325577,), (1392325633,), (1392326235,), (1392326305,), (1392326373,), (1392326442,), (1392326487,), (1392326522,), (1392327015,), (1392327052,), (1392327086,), (1392327576,), (1392327552,), (1392327554,), (1392327555,), (1392327672,), (1392327674,), (1392327677,), (1392327679,), (1392327685,), (1392327717,), (1392327739,), (1392327750,), (1392327775,), (1392328039,), (1392328041,), (1392328042,), (1392328275,), (1392328278,), (1392328280,), (1392328318,), (1392328321,), (1392328323,), (1392328351,), (1392328359,), (1392328361,), (1392328370,), (1392328373,), (1392328412,), (1392328422,), (1392328429,), (1392328435,), (1392328456,), (1392328459,), (1392328466,), (1392328475,), (1392328488,), (1392328694,), (1392328759,), (1392328799,), (1392329491,), (1392329647,), (1392329692,), (1392329756,), (1392329838,), (1392330218,), (1392330250,), (1392330277,), (1392330336,), (1392330339,), (1392330345,), (1392330833,), (1392330873,), (1392330935,), (1392331018,), (1392331473,), (1392331475,), (1392331478,), (1392331482,), (1392331491,), (1392331496,), (1392331752,), (1392331790,), (1392331837,), (1392331840,), (1392331841,), (1392331845,), (1392331849,), (1392331654,), (1392331656,), (1392331681,), (1392331716,), (1392331924,), (1392331963,), (1392332004,), (1392332035,), (1392332071,), (1392332164,), (1392332235,), (1392332238,), (1392332240,), (1392332242,), (1392332465,), (1392332632,), (1392332667,), (1392332699,), (1392332737,), (1392332773,), (1392332847,), (1392332886,), (1392332920,), (1392332930,), (1392333072,), (1392333099,), (1392333100,), (1392333103,), (1392333305,), (1392333309,), (1392333740,), (1392333832,), (1392333903,), (1392334517,), (1392334560,), (1392334590,), (1392334597,), (1392334901,), (1392334938,), (1392334970,), (1392335134,), (1392335172,), (1392335210,), (1392335245,), (1392335562,), (1392335626,), (1392335664,), (1392335700,), (1392335739,), (1392335796,), (1392336224,), (1392336310,), (1392336340,), (1392336377,), (1392336415,), (1392336539,), (1392336542,), (1392336545,), (1392336772,), (1392336767,), (1392336768,), (1392336769,), (1392336798,), (1392336803,), (1392336807,), (1392336925,), (1392336927,), (1392336928,), (1392336929,), (1392336932,), (1392336999,), (1392337006,), (1392337126,), (1392337161,), (1392337165,), (1392337168,), (1392337197,), (1392337201,), (1392337202,), (1392337206,), (1392337319,), (1392337326,), (1392337416,), (1392337419,), (1392337422,), (1392337778,), (1392337813,), (1392337843,), (1392337879,), (1392338289,), (1392338330,), (1392338902,), (1392338936,), (1392339341,), (1392341047,), (1392341960,), (1392349181,), (1392349303,), (1392349556,), (1392349587,), (1392349850,), (1392349883,), (1392350074,), (1392350101,), (1392350133,), (1392350136,), (1392350190,), (1392350195,), (1392350277,), (1392350308,), (1392350342,), (1392350374,), (1392350408,), (1392350702,), (1392350705,), (1392351124,), (1392351517,), (1392351525,), (1392351542,), (1392351639,), (1392351644,), (1392351660,), (1392351692,), (1392351695,), (1392351697,), (1392351915,), (1392351950,), (1392352005,), (1392352198,), (1392352185,), (1392352186,), (1392352191,), (1392352194,), (1392352357,), (1392352359,), (1392352363,), (1392352429,), (1392352431,), (1392352685,), (1392352726,), (1392352859,), (1392353126,), (1392353146,), (1392353239,), (1392353253,), (1392353332,), (1392353339,), (1392353374,), (1392353584,), (1392353619,), (1392353624,), (1392353805,), (1392353807,), (1392353808,), (1392353838,), (1392353840,), (1392353842,), (1392353897,), (1392353965,), (1392354030,), (1392354314,), (1392354324,), (1392354352,), (1392354356,), (1392354419,), (1392354578,), (1392354582,), (1392354588,), (1392354594,), (1392354629,), (1392354625,), (1392354671,), (1392354673,), (1392354676,), (1392354679,), (1392354927,), (1392354963,), (1392355002,), (1392355504,), (1392355569,), (1392355615,), (1392356026,), (1392356058,), (1392356089,), (1392356781,), (1392356796,), (1392357005,), (1392357038,), (1392357073,), (1392357109,), (1392357148,), (1392357186,), (1392357668,), (1392357744,), (1392357809,), (1392357870,), (1392357940,), (1392358844,), (1392358907,), (1392359220,), (1392359237,), (1392359272,), (1392359304,), (1392360022,), (1392360068,), (1392360109,), (1392360170,), (1392360198,), (1392360545,), (1392360555,), (1392360557,), (1392360576,), (1392360597,), (1392360599,), (1392360601,), (1392360602,), (1392360648,), (1392360652,), (1392360718,), (1392360750,), (1392360787,), (1392360823,), (1392360881,), (1392361362,), (1392361291,), (1392361327,), (1392361345,), (1392361353,), (1392361568,), (1392361570,), (1392361573,), (1392361577,), (1392361599,), (1392362038,), (1392362072,), (1392362197,), (1392362199,), (1392362200,), (1392362202,), (1392362206,), (1392362269,), (1392362270,), (1392362271,), (1392362277,), (1392362290,), (1392362294,), (1392362538,), (1392362541,), (1392362543,), (1392362546,), (1392362550,), (1392362783,), (1392362786,), (1392362805,), (1392362893,), (1392362929,), (1392362953,), (1392362957,), (1392362964,), (1392363107,), (1392363137,), (1392363144,), (1392363150,), (1392363155,), (1392363203,), (1392363207,), (1392363209,), (1392363214,), (1392363219,), (1392363221,), (1392363316,), (1392363330,), (1392363364,), (1392363587,), (1392363614,), (1392363618,), (1392363620,), (1392363624,), (1392363632,), (1392363684,), (1392363716,), (1392363719,), (1392363722,), (1392363726,), (1392363806,), (1392363839,), (1392363864,), (1392363907,), (1392363989,), (1392363992,), (1392363994,), (1392363999,), (1392364022,), (1392364026,), (1392364087,), (1392364090,), (1392364095,), (1392364098,), (1392364106,), (1392364108,), (1392364110,), (1392364079,), (1392364083,), (1392364128,), (1392364130,), (1392364134,), (1392364137,), (1392364149,), (1392364161,), (1392364231,), (1392364270,), (1392364302,), (1392364307,), (1392364311,), (1392364597,), (1392364661,), (1392364762,), (1392364864,), (1392364938,), (1392365019,), (1392365285,), (1392365289,), (1392365315,), (1392365327,), (1392365611,), (1392365622,), (1392365640,), (1392365674,), (1392365796,), (1392365813,), (1392365864,), (1392365890,), (1392365895,), (1392365917,), (1392365919,), (1392365924,), (1392365936,), (1392365942,), (1392366014,), (1392366016,), (1392366024,), (1392366041,), (1392366228,), (1392366267,), (1392366301,), (1392366332,), (1392366500,), (1392366520,), (1392366552,), (1392366585,), (1392366600,), (1392366706,), (1392366739,), (1392366777,), (1392366830,), (1392366877,), (1392366914,), (1392367288,), (1392367376,), (1392367419,), (1392367456,), (1392367806,), (1392367824,), (1392367883,), (1392367931,), (1392367999,), (1392368549,), (1392368594,), (1392368629,), (1392368688,), (1392368771,), (1392369088,), (1392369061,), (1392369080,), (1392369084,), (1392369112,), (1392369115,), (1392369118,), (1392369125,), (1392369149,), (1392369194,), (1392369664,), (1392369702,), (1392369714,), (1392369718,), (1392369723,), (1392370138,), (1392370173,), (1392370218,), (1392370265,), (1392370642,), (1392370707,), (1392370762,), (1392370834,), (1392370873,), (1392370920,), (1392371154,), (1392371190,), (1392371226,), (1392371269,), (1392371505,), (1392371517,), (1392371519,), (1392371522,), (1392371526,), (1392371531,), (1392371673,), (1392371676,), (1392371679,), (1392371682,), (1392371727,), (1392371731,), (1392371734,), (1392371737,), (1392371764,), (1392371799,), (1392371829,), (1392371862,), (1392371878,), (1392371886,), (1392372399,), (1392372437,), (1392372502,), (1392372567,), (1392372605,), (1392372772,), (1392372786,), (1392372817,), (1392372851,), (1392372918,), (1392373484,), (1392373486,), (1392373488,), (1392373491,), (1392373494,), (1392373863,), (1392373869,), (1392373874,), (1392373880,), (1392373885,), (1392373889,), (1392374072,), (1392382083,), (1392382087,), (1392382090,), (1392382095,), (1392382370,), (1392382397,), (1392382401,), (1392382405,), (1392382451,), (1392382454,), (1392382456,), (1392382640,), (1392382673,), (1392382675,), (1392382927,), (1392382941,), (1392382978,), (1392383015,), (1392383163,), (1392383167,), (1392383170,), (1392383173,), (1392383178,), (1392383225,), (1392383363,), (1392383396,), (1392383419,), (1392383422,), (1392383740,), (1392383744,), (1392383747,), (1392383750,), (1392383777,), (1392383790,), (1392383906,), (1392383910,), (1392383914,), (1392383916,), (1392383919,), (1392383923,), (1392383944,), (1392383953,), (1392383985,), (1392384165,), (1392384168,), (1392384171,), (1392384180,), (1392384185,), (1392384263,), (1392384277,), (1392384279,), (1392384282,), (1392384285,), (1392384288,), (1392384226,), (1392384252,), (1392384254,), (1392384258,), (1392384261,), (1392384334,), (1392384339,), (1392384354,), (1392384483,), (1392384485,), (1392384488,), (1392384490,), (1392384492,), (1392384543,), (1392384563,), (1392384568,), (1392384571,), (1392384575,), (1392384741,), (1392384771,), (1392384805,), (1392385262,), (1392385295,), (1392385330,), (1392385379,), (1392385443,), (1392385491,), (1392385824,), (1392385860,), (1392385895,), (1392385931,), (1392385955,), (1392385959,), (1392386043,), (1392386061,), (1392386108,), (1392386638,), (1392386822,), (1392386824,), (1392386836,), (1392386854,), (1392386861,), (1392386991,), (1392386995,), (1392386999,), (1392387002,), (1392387100,), (1392387132,), (1392387198,), (1392387248,), (1392387298,), (1392387680,), (1392387686,), (1392387739,), (1392387747,), (1392387752,), (1392387756,), (1392387775,), (1392387880,), (1392387884,), (1392387911,), (1392387941,), (1392388025,), (1392388028,), (1392388030,), (1392388126,), (1392388111,), (1392388114,), (1392388116,), (1392388119,), (1392388122,), (1392388149,), (1392388152,), (1392388153,), (1392388155,), (1392388159,), (1392388161,), (1392388284,), (1392388290,), (1392388307,), (1392388312,), (1392388332,), (1392388335,), (1392388346,), (1392388347,), (1392388348,), (1392388349,), (1392388352,), (1392388366,), (1392388373,), (1392388379,), (1392388384,), (1392388390,), (1392388408,), (1392388413,), (1392388415,), (1392388447,), (1392388450,), (1392388456,), (1392388462,), (1392388467,), (1392388633,), (1392388635,), (1392388638,), (1392388644,), (1392388648,), (1392388653,), (1392388664,), (1392388665,), (1392388677,), (1392388678,), (1392388680,), (1392388719,), (1392388732,), (1392388744,), (1392388883,), (1392388928,), (1392388962,), (1392389002,), (1392389059,), (1392389062,), (1392389065,), (1392389069,), (1392389076,), (1392389079,), (1392389128,), (1392389131,), (1392389135,), (1392389138,), (1392389143,), (1392389199,), (1392389214,), (1392389227,), (1392389232,), (1392389471,), (1392389504,), (1392389532,), (1392389565,), (1392389599,), (1392389637,), (1392390380,), (1392390459,), (1392390548,), (1392390708,), (1392390763,), (1392390765,), (1392390770,), (1392391087,), (1392391017,), (1392391963,), (1392391965,), (1392391968,), (1392391972,), (1392391976,), (1392391980,), (1392392181,), (1392392248,), (1392392318,), (1392392401,), (1392392445,), (1392393020,), (1392393100,), (1392393144,), (1392393180,), (1392393596,), (1392393632,), (1392393649,), (1392393651,), (1392393762,), (1392393819,), (1392393854,), (1392393888,), (1392393925,), (1392394101,), (1392394104,), (1392394229,), (1392394270,), (1392394272,), (1392421149,), (1392422980,), (1392422992,), (1392422994,), (1392423069,), (1392423415,), (1392423416,), (1392424128,), (1392424543,), (1392425049,), (1392425082,), (1392425237,), (1392425238,), (1392425597,), (1392425629,), (1392425661,), (1392425701,), (1392426188,), (1392426193,), (1392426198,), (1392426203,), (1392426209,), (1392426253,), (1392426287,), (1392426996,), (1392426578,), (1392426639,), (1392426717,), (1392426812,), (1392428419,), (1392428589,), (1392428753,), (1392428931,), (1392429108,), (1392430437,), (1392430504,), (1392430575,), (1392430639,), (1392430910,), (1392430974,), (1392431041,), (1392431100,), (1392431167,), (1392432298,), (1392432393,), (1392433182,), (1392433252,), (1392433441,), (1392434041,), (1392434098,), (1392434101,), (1392434103,), (1392434166,), (1392434187,), (1392434230,), (1392434262,), (1392434457,), (1392434466,), (1392434468,), (1392434470,), (1392434476,), (1392434574,), (1392434580,), (1392434583,), (1392434586,), (1392434615,), (1392434617,), (1392434620,), (1392434635,), (1392434642,), (1392434650,), (1392434713,), (1392434715,), (1392434717,), (1392434723,), (1392434732,), (1392434761,), (1392434749,), (1392434752,), (1392434756,), (1392434796,), (1392434799,), (1392434801,), (1392434803,), (1392435020,), (1392435050,), (1392435083,), (1392435118,), (1392435156,), (1392435562,), (1392435599,), (1392435733,), (1392435735,), (1392435781,), (1392436537,), (1392436605,), (1392436675,), (1392436998,), (1392437002,), (1392437008,), (1392437029,), (1392437041,), (1392437509,), (1392437587,), (1392437656,), (1392437739,), (1392438066,), (1392438220,), (1392438255,), (1392438290,), (1392438670,), (1392438679,), (1392438694,), (1392438768,), (1392438770,), (1392438772,), (1392438813,), (1392438860,), (1392438891,), (1392438893,), (1392438895,), (1392438898,), (1392438902,), (1392438938,), (1392438940,), (1392438944,), (1392438946,), (1392438950,), (1392438994,), (1392439007,), (1392439011,), (1392439015,), (1392439020,), (1392439027,), (1392438978,), (1392438982,), (1392438984,), (1392438988,), (1392438992,), (1392439060,), (1392439073,), (1392439078,), (1392439098,), (1392439102,), (1392439878,), (1392439950,), (1392440444,), (1392440510,), (1392440887,), (1392440926,), (1392440952,), (1392440956,), (1392440974,), (1392441006,), (1392441241,), (1392441275,), (1392441310,), (1392441342,), (1392441380,), (1392441422,), (1392441802,), (1392441811,), (1392441835,), (1392442145,), (1392442182,), (1392442216,), (1392442250,), (1392442282,), (1392442321,), (1392442782,), (1392442844,), (1392442908,), (1392442983,), (1392443060,), (1392443122,), (1392443187,), (1392443188,), (1392443190,), (1392443193,), (1392443195,), (1392443657,), (1392443732,), (1392443803,), (1392443840,), (1392443897,), (1392444164,), (1392444235,), (1392444281,), (1392444300,), (1392444304,), (1392444468,), (1392444523,), (1392444588,), (1392444673,), (1392444720,), (1392444735,), (1392445013,), (1392445033,), (1392445046,), (1392445508,), (1392445512,), (1392445519,), (1392445521,), (1392445487,), (1392445491,), (1392445498,), (1392445504,), (1392445529,), (1392445531,), (1392445533,), (1392445536,), (1392445539,), (1392445541,), (1392445621,), (1392445664,), (1392446042,), (1392446080,), (1392446114,), (1392446128,), (1392446133,), (1392446285,), (1392446288,), (1392446289,), (1392446293,), (1392446296,), (1392446298,), (1392446446,), (1392446478,), (1392446518,), (1392446548,), (1392446595,), (1392446792,), (1392446804,), (1392446839,), (1392446852,), (1392447076,), (1392447108,), (1392447144,), (1392447149,), (1392447187,), (1392447191,), (1392447237,), (1392447240,), (1392447246,), (1392447250,), (1392447262,), (1392447268,), (1392447282,), (1392447284,), (1392447287,), (1392447290,), (1392447293,), (1392447295,), (1392447314,), (1392447318,), (1392447321,), (1392447325,), (1392447330,), (1392447341,), (1392447345,), (1392447348,), (1392447351,), (1392447353,), (1392447355,), (1392447372,), (1392447376,), (1392447378,), (1392447405,), (1392447846,), (1392447848,), (1392447851,), (1392447854,), (1392447857,), (1392447873,), (1392448224,), (1392448228,), (1392448235,), (1392448241,), (1392448247,), (1392448252,), (1392448277,), (1392448290,), (1392448300,), (1392448347,), (1392448355,), (1392448358,), (1392448362,), (1392448339,), (1392448341,), (1392448343,), (1392448344,), (1392448346,), (1392448351,), (1392451048,), (1392451081,), (1392451115,), (1392451169,), (1392451212,), (1392451708,), (1392451771,), (1392451832,), (1392451936,), (1392452036,), (1392452084,), (1392452662,), (1392452694,), (1392453123,), (1392453149,), (1392453181,), (1392453214,), (1392453237,), (1392453239,), (1392453497,), (1392453533,), (1392453564,), (1392453618,), (1392453700,), (1392453745,), (1392453938,), (1392453978,), (1392453987,), (1392453997,), (1392454017,), (1392454123,), (1392454127,), (1392454166,), (1392454211,), (1392454365,), (1392454373,), (1392454403,), (1392454413,), (1392454423,), (1392454483,), (1392454485,), (1392454486,), (1392454488,), (1392454491,), (1392454553,), (1392455142,), (1392454536,), (1392454539,), (1392454544,), (1392454548,), (1392454631,), (1392454644,), (1392454657,), (1392454706,), (1392454737,), (1392454758,), (1392454789,), (1392454790,), (1392454795,), (1392454798,), (1392454803,), (1392454807,), (1392454930,), (1392454962,), (1392454995,), (1392455029,), (1392455031,), (1392455033,), (1392455091,), (1392455124,), (1392455266,), (1392455277,), (1392455340,), (1392455372,), (1392455395,), (1392455399,), (1392455470,), (1392455476,), (1392455511,), (1392455875,), (1392455884,), (1392455887,), (1392455891,), (1392455897,), (1392455982,), (1392455985,), (1392455988,), (1392455991,), (1392455996,), (1392455998,), (1392456051,), (1392456054,), (1392456057,), (1392456061,), (1392456082,), (1392456212,), (1392456216,), (1392456220,), (1392456224,), (1392456232,), (1392456236,), (1392456377,), (1392456395,), (1392456405,), (1392456415,), (1392456441,), (1392456625,), (1392456687,), (1392456701,), (1392456706,), (1392456711,), (1392456716,), (1392456855,), (1392456886,), (1392456889,), (1392456891,), (1392456895,), (1392456917,), (1392456922,), (1392456926,), (1392456938,), (1392456967,), (1392456970,), (1392456971,), (1392456974,), (1392456978,), (1392456982,), (1392457039,), (1392457045,), (1392457050,), (1392457454,), (1392457487,), (1392457524,), (1392457944,), (1392458105,), (1392458139,), (1392458176,), (1392457026,), (1392457029,), (1392457033,), (1392457076,), (1392457080,), (1392457096,), (1392457102,), (1392457117,), (1392457155,), (1392457311,), (1392457378,), (1392457420,), (1392457735,), (1392457771,), (1392457806,), (1392457845,), (1392457885,), (1392458318,), (1392458347,), (1392458352,), (1392458355,), (1392458358,), (1392458370,), (1392458373,), (1392458375,), (1392458378,), (1392458382,), (1392458716,), (1392458719,), (1392458721,), (1392458722,), (1392458725,), (1392459543,), (1392459985,), (1392460023,), (1392460058,), (1392460115,), (1392460822,), (1392460859,), (1392460874,), (1392460877,), (1392460885,), (1392460905,), (1392461164,), (1392461231,), (1392462717,), (1392462719,), (1392462723,), (1392462726,), (1392462839,), (1392462841,), (1392462844,), (1392462848,), (1392462853,), (1392462857,), (1392462970,), (1392462976,), (1392462990,), (1392463114,), (1392463116,), (1392463133,), (1392463175,), (1392463214,), (1392463256,), (1392463494,), (1392463408,), (1392463447,), (1392463463,), (1392463479,), (1392463491,), (1392463710,), (1392463713,), (1392463715,), (1392463718,), (1392463795,), (1392463810,), (1392463814,), (1392463817,), (1392463821,), (1392463825,), (1392463863,), (1392463865,), (1392463867,), (1392463871,), (1392463924,), (1392463930,), (1392463937,), (1392463939,), (1392463941,), (1392463944,), (1392463977,), (1392463979,), (1392463981,), (1392463992,), (1392464028,), (1392464371,), (1392464380,), (1392464382,), (1392464384,), (1392464394,), (1392464412,), (1392464610,), (1392464612,), (1392464616,), (1392464619,), (1392464642,), (1392464678,), (1392464764,), (1392464766,), (1392464768,), (1392464774,), (1392464782,), (1392464786,), (1392464792,), (1392464798,), (1392464803,), (1392464834,), (1392464835,), (1392464836,), (1392464838,), (1392464841,), (1392464847,), (1392464886,), (1392464889,), (1392464917,), (1392464920,), (1392464922,), (1392464925,), (1392464928,), (1392464999,), (1392465001,), (1392465055,), (1392465069,), (1392465080,), (1392465272,), (1392466401,), (1392467490,), (1392466200,), (1392466266,), (1392466332,), (1392466903,), (1392466937,), (1392466971,), (1392467028,), (1392467068,), (1392467108,), (1392467348,), (1392467429,), (1392467667,), (1392467705,), (1392467733,), (1392467753,), (1392468118,), (1392468121,), (1392468127,), (1392468292,), (1392468316,), (1392468322,), (1392468325,), (1392468330,), (1392468335,), (1392468388,), (1392468392,), (1392468393,), (1392468406,), (1392468409,), (1392468446,), (1392468447,), (1392468448,), (1392468451,), (1392468467,), (1392468472,), (1392468526,), (1392468529,), (1392468547,), (1392468549,), (1392468551,), (1392468605,), (1392468614,), (1392468629,), (1392468632,), (1392468635,), (1392468707,), (1392468771,), (1392468841,), (1392468888,), (1392468922,), (1392468969,), (1392469418,), (1392469459,), (1392469490,), (1392469526,), (1392469683,), (1392469685,), (1392469697,), (1392469728,), (1392469759,), (1392469796,), (1392470009,), (1392470038,), (1392470040,), (1392470051,), (1392470087,), (1392470541,), (1392470589,), (1392470691,), (1392470950,), (1392470878,), (1392470916,), (1392471069,), (1392471089,), (1392471127,), (1392471166,), (1392471231,), (1392471509,), (1392471514,), (1392471517,), (1392471561,), (1392471562,), (1392471563,), (1392471664,), (1392471696,), (1392471716,), (1392471732,), (1392471738,), (1392471746,), (1392471944,), (1392471950,), (1392471962,), (1392471965,), (1392471968,), (1392472000,), (1392472002,), (1392472003,), (1392472006,), (1392472143,), (1392472147,), (1392472176,), (1392472207,), (1392472210,), (1392472251,), (1392472253,), (1392472365,), (1392472376,), (1392472395,), (1392472398,), (1392472453,), (1392472465,), (1392472469,), (1392472470,), (1392472491,), (1392472583,), (1392472586,), (1392472589,), (1392472604,), (1392472748,), (1392472782,), (1392472846,), (1392472866,), (1392472882,), (1392472924,), (1392473144,), (1392473179,), (1392473183,), (1392473185,), (1392473188,), (1392473361,), (1392473503,), (1392473624,), (1392474019,), (1392474192,), (1392474322,), (1392473207,), (1392473213,), (1392473242,), (1392474681,), (1392474715,), (1392474756,), (1392474770,), (1392474776,), (1392474782,), (1392474890,), (1392474896,), (1392474908,), (1392474910,), (1392475005,), (1392475006,), (1392475008,), (1392475011,), (1392475014,), (1392475016,), (1392475024,), (1392475026,), (1392475034,), (1392475036,), (1392475095,), (1392475098,), (1392475103,), (1392475107,), (1392475131,), (1392475332,), (1392475363,), (1392475369,), (1392475370,), (1392475404,), (1392475407,), (1392475536,), (1392475539,), (1392475546,), (1392475562,), (1392475717,), (1392475725,), (1392475746,), (1392475752,), (1392475757,), (1392475781,), (1392475830,), (1392475859,), (1392475862,), (1392475863,), (1392475865,), (1392475867,), (1392475972,), (1392475973,), (1392475975,), (1392475978,), (1392475999,), (1392476002,), (1392476005,), (1392476007,), (1392476195,), (1392476239,), (1392476266,), (1392476273,), (1392476275,), (1392476491,), (1392476492,), (1392476751,), (1392476781,), (1392476798,), (1392476807,), (1392476812,), (1392476815,), (1392476865,), (1392476870,), (1392476872,), (1392476873,), (1392476874,), (1392476936,), (1392476932,), (1392477066,), (1392477085,), (1392477087,), (1392477103,), (1392477203,), (1392477206,), (1392477208,), (1392477300,), (1392477301,), (1392477303,), (1392477306,), (1392477311,), (1392477418,), (1392477420,), (1392477437,), (1392477475,), (1392477479,), (1392477504,), (1392477565,), (1392477569,), (1392477571,), (1392477573,), (1392477639,), (1392477643,), (1392477644,), (1392477646,), (1392477838,), (1392477973,), (1392478012,), (1392478013,), (1392478120,), (1392478137,), (1392478210,), (1392478265,), (1392479169,), (1392479174,), (1392479181,), (1392479230,), (1392479227,), (1392479229,), (1392479384,), (1392479410,), (1392479412,), (1392479750,), (1392479787,), (1392479822,), (1392479858,), (1392480340,), (1392480478,), (1392480656,), (1392480825,), (1392482037,), (1392482057,), (1392482095,), (1392482140,), (1392482182,), (1392482225,), (1392482407,), (1392482410,), (1392482417,), (1392482465,), (1392482896,), (1392482923,), (1392482935,), (1392482937,), (1392482950,), (1392482976,), (1392483192,), (1392483206,), (1392483222,), (1392483361,), (1392483364,), (1392483368,), (1392483372,), (1392483376,), (1392483381,), (1392483444,), (1392483448,), (1392483452,), (1392483551,), (1392483553,), (1392483624,), (1392483627,), (1392483744,), (1392483746,), (1392483747,), (1392483891,), (1392483904,), (1392483914,), (1392483945,), (1392483948,), (1392483951,), (1392483955,), (1392483959,), (1392483962,), (1392483971,), (1392483987,), (1392483977,), (1392483979,), (1392483980,), (1392483982,), (1392483985,), (1392484087,), (1392484095,), (1392484106,), (1392484118,), (1392484137,), (1392484145,), (1392484217,), (1392484220,), (1392484223,), (1392484242,), (1392484245,), (1392484247,), (1392484249,), (1392484252,), (1392484255,), (1392484415,), (1392484450,), (1392484480,), (1392484523,), (1392484546,), (1392484638,), (1392484662,), (1392484672,), (1392484680,), (1392484753,), (1392484762,), (1392484771,), (1392484773,), (1392484776,), (1392484908,), (1392484926,), (1392484928,), (1392485149,), (1392485206,), (1392485227,), (1392485238,), (1392485344,), (1392485351,), (1392485355,), (1392485359,), (1392485364,), (1392485370,), (1392485382,), (1392485383,), (1392485392,), (1392485395,), (1392485398,), (1392485401,), (1392485403,), (1392485407,), (1392485444,), (1392485449,), (1392485461,), (1392485479,), (1392485868,), (1392485901,), (1392485937,), (1392485966,), (1392485970,), (1392485974,), (1392486166,), (1392486174,), (1392486199,), (1392486240,), (1392486276,), (1392486648,), (1392486695,), (1392486731,), (1392486872,), (1392486874,), (1392486877,), (1392486887,), (1392495063,), (1392495096,), (1392495133,), (1392495184,), (1392495219,), (1392495828,), (1392495859,), (1392495926,), (1392495989,), (1392496027,), (1392496218,), (1392496221,), (1392496225,), (1392496525,), (1392496589,), (1392496631,), (1392496670,), (1392496710,), (1392496773,), (1392496923,), (1392496959,), (1392496991,), (1392497115,), (1392497120,), (1392497147,), (1392497186,), (1392497196,), (1392497377,), (1392497429,), (1392497436,), (1392497456,), (1392497530,), (1392497533,), (1392497535,), (1392497538,), (1392497542,), (1392497581,), (1392497584,), (1392497587,), (1392497591,), (1392497596,), (1392497686,), (1392497721,), (1392497729,), (1392497740,), (1392497847,), (1392497863,), (1392497868,), (1392497896,), (1392497903,), (1392497908,), (1392497978,), (1392497981,), (1392497983,), (1392497985,), (1392497987,), (1392497995,), (1392498065,), (1392498068,), (1392498071,), (1392498076,), (1392498081,), (1392498215,), (1392498254,), (1392498289,), (1392498307,), (1392498310,), (1392498358,), (1392498348,), (1392498354,), (1392498355,), (1392498356,), (1392498460,), (1392498593,), (1392498595,), (1392498597,), (1392498622,), (1392498624,), (1392498625,), (1392498667,), (1392498669,), (1392498672,), (1392498676,), (1392498683,), (1392498944,), (1392498959,), (1392498962,), (1392498965,), (1392498968,), (1392499142,), (1392499176,), (1392499222,), (1392499321,), (1392499347,), (1392499379,), (1392499608,), (1392499611,), (1392499613,), (1392499615,), (1392499637,), (1392499640,), (1392499641,), (1392499643,), (1392499646,), (1392499675,), (1392499676,), (1392499677,), (1392499679,), (1392499700,), (1392499703,), (1392499706,), (1392499762,), (1392499764,), (1392499766,), (1392499769,), (1392499773,), (1392499798,), (1392499801,), (1392499802,), (1392499803,), (1392499805,), (1392499806,), (1392499847,), (1392499856,), (1392499884,), (1392500346,), (1392500381,), (1392500670,), (1392500672,), (1392500674,), (1392500273,), (1392500276,), (1392500279,), (1392500308,), (1392500498,), (1392500499,), (1392500505,), (1392500513,), (1392500540,), (1392500576,), (1392500668,), (1392500669,), (1392500685,), (1392500690,), (1392500693,), (1392500696,), (1392500698,), (1392500703,), (1392500705,), (1392500707,), (1392500709,), (1392500731,), (1392500734,), (1392500735,), (1392500737,), (1392500740,), (1392500743,), (1392500769,), (1392500772,), (1392500774,), (1392500776,), (1392500779,), (1392500966,), (1392500969,), (1392500981,), (1392501142,), (1392501175,), (1392501208,), (1392501241,), (1392501271,), (1392501630,), (1392501667,), (1392501698,), (1392501731,), (1392501763,), (1392501826,), (1392501836,), (1392501838,), (1392501840,), (1392502112,), (1392502148,), (1392502183,), (1392502210,), (1392502365,), (1392502368,), (1392502370,), (1392502410,), (1392502441,), (1392502473,), (1392502511,), (1392502764,), (1392502769,), (1392502771,), (1392503034,), (1392503037,), (1392503051,), (1392503336,), (1392503334,), (1392503755,), (1392503808,), (1392503854,), (1392503925,), (1392503956,), (1392504017,), (1392504247,), (1392504252,), (1392504253,), (1392504255,), (1392504257,), (1392504259,), (1392504271,), (1392504272,), (1392504274,), (1392504276,), (1392504335,), (1392504382,), (1392504429,), (1392504467,), (1392504472,), (1392504530,), (1392504534,), (1392504538,), (1392504568,), (1392504618,), (1392504826,), (1392504837,), (1392504870,), (1392504903,), (1392505009,), (1392505021,), (1392505100,), (1392505103,), (1392505107,), (1392505111,), (1392505328,), (1392505330,), (1392505331,), (1392505335,), (1392505368,), (1392505559,), (1392505565,), (1392505568,), (1392505572,), (1392505576,), (1392505624,), (1392505628,), (1392505631,), (1392505634,), (1392506009,), (1392506019,), (1392506024,), (1392506375,), (1392506376,), (1392506378,), (1392506479,), (1392506485,), (1392506685,), (1392506720,), (1392506756,), (1392506893,), (1392506855,), (1392507480,), (1392507542,), (1392507607,), (1392508643,), (1392508683,), (1392508717,), (1392508765,), (1392509409,), (1392509480,), (1392510255,), (1392510289,), (1392510303,), (1392510305,), (1392510362,), (1392510570,), (1392510604,), (1392510640,), (1392510656,), (1392510658,), (1392510847,), (1392510852,), (1392510854,), (1392510857,), (1392510962,), (1392510966,), (1392510972,), (1392511037,), (1392511080,), (1392511505,), (1392511544,), (1392511576,), (1392511791,), (1392511794,), (1392511797,), (1392511800,), (1392511931,), (1392511976,), (1392512011,), (1392512043,), (1392512346,), (1392512359,), (1392512421,), (1392512440,), (1392512461,), (1392512480,), (1392512541,), (1392512589,), (1392512775,), (1392512856,), (1392512923,), (1392512991,), (1392513390,), (1392513400,), (1392513409,), (1392514034,), (1392514069,), (1392514447,), (1392514543,), (1392514545,), (1392514808,), (1392514843,), (1392514877,), (1392515024,), (1392515044,), (1392515078,), (1392515118,), (1392515509,), (1392515511,), (1392515512,), (1392515540,), (1392515687,), (1392515691,), (1392515694,), (1392515726,), (1392515728,), (1392515729,), (1392516000,), (1392516010,), (1392516013,), (1392516032,), (1392516036,), (1392516208,), (1392516212,), (1392516214,), (1392516319,), (1392516321,), (1392516329,), (1392516358,), (1392516378,), (1392516386,), (1392516468,), (1392516472,), (1392516473,), (1392516475,), (1392516716,), (1392516724,), (1392516753,), (1392516782,), (1392516796,), (1392516805,), (1392516876,), (1392516905,), (1392516907,), (1392517161,), (1392517174,), (1392517175,), (1392517332,), (1392517345,), (1392517347,), (1392517349,), (1392517313,), (1392517315,), (1392517319,), (1392517324,), (1392517329,), (1392517358,), (1392517360,), (1392517362,), (1392517369,), (1392517453,), (1392517455,), (1392517458,), (1392517462,), (1392517467,), (1392517494,), (1392517497,), (1392517694,), (1392517730,), (1392517762,), (1392517794,), (1392517829,), (1392518491,), (1392518500,), (1392518521,), (1392518528,), (1392518689,), (1392518708,), (1392518714,), (1392519176,), (1392519239,), (1392519303,), (1392519336,), (1392519809,), (1392519871,), (1392519941,), (1392520153,), (1392520155,), (1392520157,), (1392520748,), (1392520812,), (1392520878,), (1392521332,), (1392521334,), (1392521354,), (1392521389,), (1392521427,), (1392522121,), (1392522157,), (1392522188,), (1392522233,), (1392522457,), (1392522504,), (1392522558,), (1392522583,), (1392522598,), (1392522611,), (1392522627,), (1392522735,), (1392522725,), (1392522728,), (1392522730,), (1392522731,), (1392522783,), (1392522813,), (1392522846,), (1392522875,), (1392523120,), (1392523144,), (1392523156,), (1392523190,), (1392523191,), (1392523307,), (1392523309,), (1392523317,), (1392523401,), (1392523404,), (1392523405,), (1392523407,), (1392523432,), (1392523445,), (1392523447,), (1392523463,), (1392523475,), (1392523529,), (1392523533,), (1392523537,), (1392523543,), (1392523548,), (1392523553,), (1392523827,), (1392523831,), (1392523851,), (1392523884,), (1392523919,), (1392523952,), (1392523988,), (1392523991,), (1392524025,), (1392524057,), (1392524069,), (1392524073,), (1392524077,), (1392524096,), (1392524098,), (1392524100,), (1392524103,), (1392524108,), (1392524287,), (1392524290,), (1392524319,), (1392524356,), (1392524395,), (1392524717,), (1392524752,), (1392524785,), (1392524813,), (1392524818,), (1392524822,), (1392524932,), (1392524937,), (1392524940,), (1392524943,), (1392524954,), (1392525290,), (1392525182,), (1392525224,), (1392525258,), (1392525555,), (1392525685,), (1392525703,), (1392525739,), (1392525774,), (1392526431,), (1392526492,), (1392527227,), (1392527282,), (1392527315,), (1392527351,), (1392527562,), (1392527565,), (1392527718,), (1392527751,), (1392528184,), (1392528199,), (1392528432,), (1392528467,), (1392528501,), (1392528697,), (1392528700,), (1392528704,), (1392528708,), (1392528748,), (1392528749,), (1392528753,), (1392528755,), (1392528757,), (1392528759,), (1392528766,), (1392528768,), (1392528778,), (1392528781,), (1392528909,), (1392528940,), (1392528972,), (1392529207,), (1392529256,), (1392529303,), (1392529344,), (1392529507,), (1392529530,), (1392529538,), (1392529544,), (1392529842,), (1392529844,), (1392529847,), (1392529851,), (1392529856,), (1392530077,), (1392530025,), (1392530045,), (1392530126,), (1392530128,), (1392530129,), (1392530131,), (1392530134,), (1392530411,), (1392530598,), (1392530600,), (1392530602,), (1392530605,), (1392530609,), (1392530758,), (1392530784,), (1392531046,), (1392531050,), (1392531051,), (1392531078,), (1392531220,), (1392531221,), (1392531223,), (1392531242,), (1392531254,), (1392531261,), (1392531399,), (1392531431,), (1392531460,), (1392531481,), (1392531486,), (1392531508,), (1392531528,), (1392531530,), (1392531534,), (1392531539,), (1392531543,), (1392531547,), (1392531560,), (1392531564,), (1392531569,), (1392531573,), (1392531576,), (1392531578,), (1392531583,), (1392531586,), (1392531591,), (1392531627,), (1392531659,), (1392531688,), (1392531733,), (1392531754,), (1392531764,), (1392531786,), (1392531843,), (1392531845,), (1392531847,), (1392531850,), (1392531852,), (1392531857,), (1392531880,), (1392531884,), (1392531888,), (1392531976,), (1392532024,), (1392532049,), (1392532052,), (1392532055,), (1392532091,), (1392532092,), (1392532133,), (1392532160,), (1392532170,), (1392532249,), (1392532251,), (1392532262,), (1392532264,), (1392532270,), (1392532273,), (1392532242,), (1392532244,), (1392532246,), (1392532248,), (1392532280,), (1392532286,), (1392532290,), (1392532294,), (1392532299,), (1392532491,), (1392532523,), (1392532751,), (1392532867,), (1392532869,), (1392532871,), (1392532875,), (1392532879,), (1392532882,), (1392532909,), (1392532912,), (1392532914,), (1392532917,), (1392532949,), (1392532951,), (1392532952,), (1392532953,), (1392532989,), (1392533001,), (1392533004,), (1392533371,), (1392533431,), (1392533475,), (1392533519,), (1392533552,), (1392533585,), (1392534023,), (1392534059,), (1392534122,), (1392534181,), (1392534230,), (1392534586,), (1392534598,), (1392540326,), (1392543107,), (1392543421,), (1392543930,), (1392544501,), (1392545874,), (1392546183,), (1392546328,), (1392546360,), (1392546573,), (1392547710,), (1392547775,), (1392547813,), (1392548118,), (1392548120,), (1392548280,), (1392548582,), (1392548678,), (1392548763,), (1392548767,), (1392548847,), (1392548849,), (1392548876,), (1392548879,), (1392548904,), (1392548906,), (1392549041,), (1392549154,), (1392549152,), (1392549483,), (1392550205,), (1392550543,), (1392550756,), (1392550881,), (1392551930,), (1392551959,), (1392553975,), (1392560352,), (1392563023,), (1392563059,), (1392563091,), (1392565763,), (1392566529,), (1392567221,), (1392567738,), (1392569067,), (1392570226,), (1392570352,), (1392572345,), (1392573113,), (1392573228,), (1392573340,), (1392574849,), (1392575941,), (1392576598,), (1392576986,), (1392577754,), (1392577661,), (1392577722,), (1392579252,), (1392579260,), (1392581801,), (1392582531,), (1392582605,), (1392584109,), (1392584045,), (1392586235,), (1392586237,), (1392586398,), (1392587203,), (1392588864,), (1392588898,), (1392591497,), (1392592362,), (1392592428,), (1392595151,), (1392597162,), (1392599206,), (1392599455,), (1392599891,), (1392600426,), (1392601508,), (1392601688,), (1392601882,), (1392603402,), (1392603441,), (1392603474,), (1392606298,), (1392606344,), (1392606425,), (1392606477,), (1392606775,), (1392607585,), (1392607587,), (1392607888,), (1392609337,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04112025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28134742]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] map_info['map_portfolio_photo'] : {28134742: [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588]} final : True mtd_id 4302 list_pids : [1392289224, 1392289094, 1392289056, 1392288789, 1392288786, 1392288785, 1392288784, 1392288736, 1392288734, 1392288733, 1392288732, 1392288731, 1392288688, 1392288671, 1392288662, 1392288657, 1392288655, 1392288652, 1392288625, 1392288623, 1392288622, 1392288620, 1392288587, 1392288584, 1392288580, 1392288570, 1392288568, 1392288529, 1392288524, 1392288520, 1392288516, 1392288511, 1392288471, 1392288434, 1392288382, 1392288347, 1392287942, 1392287588] Looping around the photos to save general results len do output : 1 /28134742Didn'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, '4000908') ('4302', '28134742', '1392289224', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289094', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392289056', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288789', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288786', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288785', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288784', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288736', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288734', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288733', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288732', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288731', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288688', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288671', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288662', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288657', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288655', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288652', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288625', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288623', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288622', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288620', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288587', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288584', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288580', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288570', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288568', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288529', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288524', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288520', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288516', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288511', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288471', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288434', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288382', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392288347', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287942', None, None, None, None, None, '4000908') ('4302', None, None, None, None, None, None, None, '4000908') ('4302', '28134742', '1392287588', None, None, None, None, None, '4000908') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '28134742', 'None', None, None, None, None, '4000908'), ('4302', '28134742', '1392289224', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392289094', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392289056', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288789', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288786', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288785', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288784', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288736', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288734', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288733', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288732', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288731', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288688', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288671', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288662', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288657', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288655', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288652', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288625', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288623', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288622', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288620', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288587', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288584', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288580', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288570', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288568', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288529', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288524', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288520', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288516', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288511', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288471', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288434', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288382', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392288347', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392287942', None, None, None, None, None, '4000908'), ('4302', '28134742', '1392287588', None, None, None, None, None, '4000908')] time used for this insertion : 0.018352031707763672 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.756781578063965 time spend to save output : 0.01871037483215332 total time spend for step 5 : 6.775491952896118 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 (4000908) 3.16user 2.47system 0:20.30elapsed 27%CPU (0avgtext+0avgdata 168504maxresident)k 1536inputs+31192outputs (50major+79140minor)pagefaults 0swaps