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 : 1314128 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 (4089223) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4089223) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756471 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4089223'] with mtr_portfolio_ids : ['28756471'] and first list_photo_ids : [] new path : /proc/1314128/ Name: python3 Umask: 0002 State: R (running) Tgid: 1314128 Ngid: 0 Pid: 1314128 PPid: 1314127 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1314128 NSpid: 1314128 NSpgid: 1312814 NSsid: 1312814 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99112 kB VmRSS: 99112 kB RssAnon: 59896 kB RssFile: 39216 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 46 nonvoluntary_ctxt_switches: 84 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1314128', 'Ngid': '0', 'Pid': '1314128', 'PPid': '1314127', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1314128', 'NSpid': '1314128', 'NSpgid': '1312814', 'NSsid': '1312814', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99112 kB', 'VmRSS': '99112 kB', 'RssAnon': '59896 kB', 'RssFile': '39216 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '46', 'nonvoluntary_ctxt_switches': '84'} ('datou_batch_current', '1314128', '1106908', '0', '1106884', '865636', '99112', b'', 'marlene', '4089223') 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 (28756471) 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 (4089223 ) ) 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 (28756471) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1395417688, 'portfolio_id': 28756471}, {'photo_id': 1395417668, 'portfolio_id': 28756471}, {'photo_id': 1395417666, 'portfolio_id': 28756471}, {'photo_id': 1395417663, 'portfolio_id': 28756471}, {'photo_id': 1395417662, 'portfolio_id': 28756471}, {'photo_id': 1395417659, 'portfolio_id': 28756471}, {'photo_id': 1395417658, 'portfolio_id': 28756471}, {'photo_id': 1395417657, 'portfolio_id': 28756471}, {'photo_id': 1395417656, 'portfolio_id': 28756471}, {'photo_id': 1395417655, 'portfolio_id': 28756471}, {'photo_id': 1395417654, 'portfolio_id': 28756471}, {'photo_id': 1395417641, 'portfolio_id': 28756471}, {'photo_id': 1395417635, 'portfolio_id': 28756471}, {'photo_id': 1395417630, 'portfolio_id': 28756471}, {'photo_id': 1395417625, 'portfolio_id': 28756471}, {'photo_id': 1395417212, 'portfolio_id': 28756471}, {'photo_id': 1395417176, 'portfolio_id': 28756471}, {'photo_id': 1395417139, 'portfolio_id': 28756471}, {'photo_id': 1395417104, 'portfolio_id': 28756471}, {'photo_id': 1395417081, 'portfolio_id': 28756471}, {'photo_id': 1395417079, 'portfolio_id': 28756471}, {'photo_id': 1395416760, 'portfolio_id': 28756471}, {'photo_id': 1395416752, 'portfolio_id': 28756471}, {'photo_id': 1395416724, 'portfolio_id': 28756471}, {'photo_id': 1395416723, 'portfolio_id': 28756471}, {'photo_id': 1395416701, 'portfolio_id': 28756471}, {'photo_id': 1395416699, 'portfolio_id': 28756471}, {'photo_id': 1395416697, 'portfolio_id': 28756471}, {'photo_id': 1395416695, 'portfolio_id': 28756471}, {'photo_id': 1395416693, 'portfolio_id': 28756471}, {'photo_id': 1395416180, 'portfolio_id': 28756471}] map_portfolio_id_photo_id: {28756471: [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180]} ##### 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.019005298614501953 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Nov 21 05:52:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28756471) 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 : 28756471 get user id for portfolio 28756471 get sub ptf for main ptf 28756471, type 3726 and hashtags ['kraft', 'metal', 'plastique', 'mal_croppe', 'cartonnette', 'Teint_Dans_La_Masse', 'Carton_gris', 'autre_refus', 'flou', 'environnement', 'papier', '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`=28756471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','autre_refus','flou','environnement','papier','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`=28756471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','autre_refus','flou','environnement','papier','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28756471, 'sub_port_id': 28756476, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509815, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'environnement': {'main_port_id': 28756471, 'sub_port_id': 28756477, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509816, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'Carton_gris': {'main_port_id': 28756471, 'sub_port_id': 28756478, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509817, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'plastique': {'main_port_id': 28756471, 'sub_port_id': 28756479, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509818, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'mal_croppe': {'main_port_id': 28756471, 'sub_port_id': 28756480, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509819, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'cartonnette': {'main_port_id': 28756471, 'sub_port_id': 28756481, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509820, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'papier': {'main_port_id': 28756471, 'sub_port_id': 28756482, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509821, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'autre_refus': {'main_port_id': 28756471, 'sub_port_id': 28756483, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509822, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 28756471, 'sub_port_id': 28756484, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509823, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'Carton_brun': {'main_port_id': 28756471, 'sub_port_id': 28756485, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509824, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'metal': {'main_port_id': 28756471, 'sub_port_id': 28756486, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509825, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}, 'kraft': {'main_port_id': 28756471, 'sub_port_id': 28756487, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509826, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28756476 , 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=28756471 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 (28756476) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756477 , 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=28756471 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 (28756477) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756478 , 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=28756471 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 (28756478) result : ((1395417623,), (1395417793,), (1395417795,), (1395417925,), (1395418242,), (1395418243,), (1395418244,), (1395418245,), (1395418246,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756479 , 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=28756471 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 (28756479) result : ((1395417624,), (1395417803,), (1395417931,), (1395417932,), (1395417934,), (1395418249,), (1395418250,), (1395418251,), (1395418252,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756480 , 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=28756471 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 (28756480) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756481 , 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=28756471 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 (28756481) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756482 , 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=28756471 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 (28756482) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756483 , 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=28756471 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 (28756483) result : ((1395418239,), (1395418240,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756484 , 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=28756471 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 (28756484) result : ((1395417783,), (1395417918,), (1395417919,), (1395417920,), (1395417921,), (1395417922,), (1395417924,), (1395418236,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756485 , 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=28756471 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 (28756485) result : ((1395417927,), (1395417928,), (1395417929,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756486 , 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=28756471 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 (28756486) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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 28756487 , 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=28756471 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 (28756487) result : ((1395418253,), (1395418254,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28756471) result : ((1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,)) 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`=28756471 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','autre_refus','flou','environnement','papier','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`=28756471 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','plastique','mal_croppe','cartonnette','Teint_Dans_La_Masse','Carton_gris','autre_refus','flou','environnement','papier','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28756471, 'sub_port_id': 28756488, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509827, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'environnement': {'main_port_id': 28756471, 'sub_port_id': 28756489, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509828, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'Carton_gris': {'main_port_id': 28756471, 'sub_port_id': 28756490, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509829, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'plastique': {'main_port_id': 28756471, 'sub_port_id': 28756491, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509830, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'mal_croppe': {'main_port_id': 28756471, 'sub_port_id': 28756492, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509831, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'cartonnette': {'main_port_id': 28756471, 'sub_port_id': 28756493, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509832, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'papier': {'main_port_id': 28756471, 'sub_port_id': 28756494, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509833, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'autre_refus': {'main_port_id': 28756471, 'sub_port_id': 28756495, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509834, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 28756471, 'sub_port_id': 28756496, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509835, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'Carton_brun': {'main_port_id': 28756471, 'sub_port_id': 28756497, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509836, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'metal': {'main_port_id': 28756471, 'sub_port_id': 28756498, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509837, 'last_updated_at': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 19, 57, 1), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}, 'kraft': {'main_port_id': 28756471, 'sub_port_id': 28756499, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19509838, 'last_updated_at': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 20, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 20, 19, 57, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756488,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756476 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756489,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756477 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756490,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756478 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756491,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756479 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756492,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756480 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756493,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756481 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756494,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756482 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756495,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756483 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756496,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756484 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756497,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756485 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756498,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756486 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28756499,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28756487 lien utilise dans velours : https://marlene.fotonower.com/velours/28756488,28756489,28756490,28756491,28756492,28756493,28756494,28756495,28756496,28756497,28756498,28756499?tags=flou,environnement,Carton_gris,plastique,mal_croppe,cartonnette,papier,autre_refus,Teint_Dans_La_Masse,Carton_brun,metal,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28756471]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] map_info['map_portfolio_photo'] : {28756471: [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180]} final : False mtd_id 4302 list_pids : [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] Looping around the photos to save general results len do output : 1 /28756471. 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, '4089223') ('4302', '28756471', '1395417688', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417668', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417666', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417663', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417662', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417659', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417658', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417657', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417656', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417655', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417654', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417641', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417635', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417630', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417625', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417212', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417176', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417139', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417104', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417081', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417079', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416760', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416752', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416724', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416723', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416701', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416699', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416697', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416695', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416693', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416180', None, None, None, None, None, '4089223') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28756471', "{'flou': 28756476, 'environnement': 28756477, 'Carton_gris': 28756478, 'plastique': 28756479, 'mal_croppe': 28756480, 'cartonnette': 28756481, 'papier': 28756482, 'autre_refus': 28756483, 'Teint_Dans_La_Masse': 28756484, 'Carton_brun': 28756485, 'metal': 28756486, 'kraft': 28756487}", None, None, None, None, '4089223'), ('4302', '28756471', '1395417688', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417668', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417666', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417663', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417662', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417659', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417658', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417657', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417656', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417655', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417654', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417641', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417635', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417630', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417625', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417212', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417176', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417139', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417104', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417081', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417079', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416760', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416752', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416724', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416723', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416701', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416699', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416697', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416695', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416693', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416180', None, None, None, None, None, '4089223')] time used for this insertion : 0.02171778678894043 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.796600580215454 time spend to save output : 0.022133588790893555 total time spend for step 1 : 1.8187341690063477 step2:final Fri Nov 21 05:52: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 (28756471) 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 28756471 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1395416180,1395416701,1395416699,1395416697,1395416695,1395416693,1395416724,1395416723,1395416760,1395416752,1395417212,1395417176,1395417139,1395417104,1395417081,1395417079,1395417641,1395417635,1395417630,1395417625,1395417666,1395417668,1395417662,1395417663,1395417658,1395417659,1395417656,1395417657,1395417655,1395417654,1395417688); 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([28756471]) Inside saveOutput : final : False verbose : True original output for save of step final : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} new output for save of step final : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] map_info['map_portfolio_photo'] : {28756471: [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180]} final : False mtd_id 4302 list_pids : [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] Looping around the photos to save general results len do output : 31 /1395417688.Didn't retrieve data . /1395417668.Didn't retrieve data . /1395417666.Didn't retrieve data . /1395417663.Didn't retrieve data . /1395417662.Didn't retrieve data . /1395417659.Didn't retrieve data . /1395417658.Didn't retrieve data . /1395417657.Didn't retrieve data . /1395417656.Didn't retrieve data . /1395417655.Didn't retrieve data . /1395417654.Didn't retrieve data . /1395417641.Didn't retrieve data . /1395417635.Didn't retrieve data . /1395417630.Didn't retrieve data . /1395417625.Didn't retrieve data . /1395417212.Didn't retrieve data . /1395417176.Didn't retrieve data . /1395417139.Didn't retrieve data . /1395417104.Didn't retrieve data . /1395417081.Didn't retrieve data . /1395417079.Didn't retrieve data . /1395416760.Didn't retrieve data . /1395416752.Didn't retrieve data . /1395416724.Didn't retrieve data . /1395416723.Didn't retrieve data . /1395416701.Didn't retrieve data . /1395416699.Didn't retrieve data . /1395416697.Didn't retrieve data . /1395416695.Didn't retrieve data . /1395416693.Didn't retrieve data . /1395416180.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, '4089223') ('4302', '28756471', '1395417688', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417668', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417666', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417663', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417662', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417659', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417658', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417657', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417656', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417655', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417654', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417641', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417635', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417630', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417625', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417212', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417176', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417139', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417104', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417081', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417079', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416760', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416752', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416724', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416723', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416701', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416699', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416697', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416695', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416693', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416180', None, None, None, None, None, '4089223') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 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', '28756471', '1395417688', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417668', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417666', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417663', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417662', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417659', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417658', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417657', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417656', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417655', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417654', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417641', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417635', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417630', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417625', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417212', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417176', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417139', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417104', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417081', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395417079', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416760', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416752', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416724', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416723', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416701', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416699', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416697', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416695', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416693', '0.03871224508951871', None, None, None, None, '4089223'), ('4302', '28756471', '1395416180', '0.03871224508951871', None, None, None, None, '4089223')] time used for this insertion : 0.022004127502441406 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08286786079406738 time spend to save output : 0.023229122161865234 total time spend for step 2 : 0.10609698295593262 step3:velours_tree Fri Nov 21 05:53:00 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 : {28756471: [{'flou': 28756476, 'environnement': 28756477, 'Carton_gris': 28756478, 'plastique': 28756479, 'mal_croppe': 28756480, 'cartonnette': 28756481, 'papier': 28756482, 'autre_refus': 28756483, 'Teint_Dans_La_Masse': 28756484, 'Carton_brun': 28756485, 'metal': 28756486, 'kraft': 28756487}]} input_args_next_step : {28756471: ()} output_args : {28756471: [{'flou': 28756476, 'environnement': 28756477, 'Carton_gris': 28756478, 'plastique': 28756479, 'mal_croppe': 28756480, 'cartonnette': 28756481, 'papier': 28756482, 'autre_refus': 28756483, 'Teint_Dans_La_Masse': 28756484, 'Carton_brun': 28756485, 'metal': 28756486, 'kraft': 28756487}]} args : 28756471 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': 28756476, 'environnement': 28756477, 'Carton_gris': 28756478, 'plastique': 28756479, 'mal_croppe': 28756480, 'cartonnette': 28756481, 'papier': 28756482, 'autre_refus': 28756483, 'Teint_Dans_La_Masse': 28756484, 'Carton_brun': 28756485, 'metal': 28756486, 'kraft': 28756487},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28756471) 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([28756471]) 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.2641918659210205 time spend to save output : 4.8160552978515625e-05 total time spend for step 3 : 0.264240026473999 step4:send_mail_cod Fri Nov 21 05:53:00 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 : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} input_args_next_step : {1395417688: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417688 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417668 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417666 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417663 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417662 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417659 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417658 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417657 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417656 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417655 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417654 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417641 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417635 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417630 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417625 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417212 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417176 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417139 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417104 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417081 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395417079 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416760 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416752 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416724 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416723 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416701 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416699 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416697 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416695 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416693 depend.output_id : 0 input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ()} output_args : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',)} args : 1395416180 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 : {28756471: [{'flou': 28756476, 'environnement': 28756477, 'Carton_gris': 28756478, 'plastique': 28756479, 'mal_croppe': 28756480, 'cartonnette': 28756481, 'papier': 28756482, 'autre_refus': 28756483, 'Teint_Dans_La_Masse': 28756484, 'Carton_brun': 28756485, 'metal': 28756486, 'kraft': 28756487}]} input_args_next_step : {1395417688: ('0.03871224508951871',), 1395417668: ('0.03871224508951871',), 1395417666: ('0.03871224508951871',), 1395417663: ('0.03871224508951871',), 1395417662: ('0.03871224508951871',), 1395417659: ('0.03871224508951871',), 1395417658: ('0.03871224508951871',), 1395417657: ('0.03871224508951871',), 1395417656: ('0.03871224508951871',), 1395417655: ('0.03871224508951871',), 1395417654: ('0.03871224508951871',), 1395417641: ('0.03871224508951871',), 1395417635: ('0.03871224508951871',), 1395417630: ('0.03871224508951871',), 1395417625: ('0.03871224508951871',), 1395417212: ('0.03871224508951871',), 1395417176: ('0.03871224508951871',), 1395417139: ('0.03871224508951871',), 1395417104: ('0.03871224508951871',), 1395417081: ('0.03871224508951871',), 1395417079: ('0.03871224508951871',), 1395416760: ('0.03871224508951871',), 1395416752: ('0.03871224508951871',), 1395416724: ('0.03871224508951871',), 1395416723: ('0.03871224508951871',), 1395416701: ('0.03871224508951871',), 1395416699: ('0.03871224508951871',), 1395416697: ('0.03871224508951871',), 1395416695: ('0.03871224508951871',), 1395416693: ('0.03871224508951871',), 1395416180: ('0.03871224508951871',), 28756471: ()} output_args : {28756471: [{'flou': 28756476, 'environnement': 28756477, 'Carton_gris': 28756478, 'plastique': 28756479, 'mal_croppe': 28756480, 'cartonnette': 28756481, 'papier': 28756482, 'autre_refus': 28756483, 'Teint_Dans_La_Masse': 28756484, 'Carton_brun': 28756485, 'metal': 28756486, 'kraft': 28756487}]} args : 28756471 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 :32, first value : ('0.03871224508951871',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28756471) 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 (1395417688,1395417668,1395417666,1395417663,1395417662,1395417659,1395417658,1395417657,1395417656,1395417655,1395417654,1395417641,1395417635,1395417630,1395417625,1395417212,1395417176,1395417139,1395417104,1395417081,1395417079,1395416760,1395416752,1395416724,1395416723,1395416701,1395416699,1395416697,1395416695,1395416693,1395416180) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1395416180 begin to download photo : 1395416724 begin to download photo : 1395417176 begin to download photo : 1395417655 begin to download photo : 1395417666 download finish for photo 1395416180 begin to download photo : 1395416693 download finish for photo 1395417666 begin to download photo : 1395417668 download finish for photo 1395417176 begin to download photo : 1395417212 download finish for photo 1395416724 begin to download photo : 1395416752 download finish for photo 1395417655 begin to download photo : 1395417656 download finish for photo 1395416693 begin to download photo : 1395416695 download finish for photo 1395417668 begin to download photo : 1395417688 download finish for photo 1395417656 begin to download photo : 1395417657 download finish for photo 1395416752 begin to download photo : 1395416760 download finish for photo 1395417212 begin to download photo : 1395417625 download finish for photo 1395416695 begin to download photo : 1395416697 download finish for photo 1395417688 download finish for photo 1395417625 begin to download photo : 1395417630 download finish for photo 1395417657 begin to download photo : 1395417658 download finish for photo 1395416760 begin to download photo : 1395417079 download finish for photo 1395416697 begin to download photo : 1395416699 download finish for photo 1395417630 begin to download photo : 1395417635 download finish for photo 1395417658 begin to download photo : 1395417659 download finish for photo 1395417079 begin to download photo : 1395417081 download finish for photo 1395416699 begin to download photo : 1395416701 download finish for photo 1395417659 begin to download photo : 1395417662 download finish for photo 1395417635 begin to download photo : 1395417641 download finish for photo 1395417081 begin to download photo : 1395417104 download finish for photo 1395417662 begin to download photo : 1395417663 download finish for photo 1395416701 begin to download photo : 1395416723 download finish for photo 1395417104 begin to download photo : 1395417139 download finish for photo 1395417641 begin to download photo : 1395417654 download finish for photo 1395417663 download finish for photo 1395417139 download finish for photo 1395417654 download finish for photo 1395416723 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette287564761763700781/ length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P28756471_21-11-2025_05_53_01.pdf 28756476 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=28756476 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287564761763700781 28756479 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=28756479 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395417624: '1763665165_3446764_1395416723_f79a5d947c9478eee55fde9111c0be5b_rle_crop_4040262635_0.png', 1395417803: '1763665285_3485162_1395417630_6ec63cc587e79b27417883380e8a5367_rle_crop_4040263679_0.png', 1395417931: '1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263847_0.png', 1395417932: '1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263845_0.png', 1395417934: '1763665385_3488159_1395417081_ff6da3a338ce34ff299f1c10315fe1d1_rle_crop_4040263901_0.png', 1395418249: '1763665505_3490533_1395417659_547963156a40f30575156d5a315e5301_rle_crop_4040266972_0.png', 1395418250: '1763665505_3490533_1395417658_2913ab7aa2a07a4ba26e476c8df20259_rle_crop_4040266985_0.png', 1395418251: '1763665505_3490533_1395417655_0deb0a4994051ccd84c88ae66858b2a3_rle_crop_4040267019_0.png', 1395418252: '1763665505_3490533_1395417654_d9ba83c90759b8ad21e18c3eaa7cc838_rle_crop_4040267028_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/a3074fde12a754912e5d0fd0a7bc617e_53529435.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/86efa1cbfa2baf4ced4dfe261c4c9f5a_66594764.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/d77ea3da938f33cee2b1c0c958da7b24_52276772.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/1021072c4733383206b85982c297abab_76456322.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/b606eda2896bd8d4f84b3457345bb0cd_53178310.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/8b59ef024a59f0b814a7127708be0ecf_23305178.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/8b59ef024a59f0b814a7127708be0ecf_1810224.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/b5db397e0773e65961fc46818c067648_58467363.png change filename to text .imagette287564791763700781/ imagette287564791763700781/1763665505_3490533_1395417654_d9ba83c90759b8ad21e18c3eaa7cc838_rle_crop_4040267028_0.png.png imagette287564791763700781/1763665505_3490533_1395417658_2913ab7aa2a07a4ba26e476c8df20259_rle_crop_4040266985_0.png.png imagette287564791763700781/1763665505_3490533_1395417659_547963156a40f30575156d5a315e5301_rle_crop_4040266972_0.png.png imagette287564791763700781/1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263845_0.png.png imagette287564791763700781/1763665385_3488159_1395417081_ff6da3a338ce34ff299f1c10315fe1d1_rle_crop_4040263901_0.png.png imagette287564791763700781/1763665505_3490533_1395417655_0deb0a4994051ccd84c88ae66858b2a3_rle_crop_4040267019_0.png.png imagette287564791763700781/1763665165_3446764_1395416723_f79a5d947c9478eee55fde9111c0be5b_rle_crop_4040262635_0.png.png imagette287564791763700781/1763665285_3485162_1395417630_6ec63cc587e79b27417883380e8a5367_rle_crop_4040263679_0.png.png imagette287564791763700781/1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263847_0.png.png imagette287564801763700782/ imagette287564811763700782/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/b5db397e0773e65961fc46818c067648_55722799.png imagette287564791763700781 28756480 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=28756480 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287564801763700782 28756481 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=28756481 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287564811763700782 28756483 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=28756483 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395418239: '1763665505_3490533_1395417657_2fd10cfc9588e9084b36b21859003e1c_rle_crop_4040266995_0.png', 1395418240: '1763665505_3490533_1395417656_630166179b5f327b85e78e714b6a062a_rle_crop_4040267006_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/314a922160b20a1903a020aab25fd1bf_46297218.png change filename to text .imagette287564831763700782/ imagette287564831763700782/1763665505_3490533_1395417657_2fd10cfc9588e9084b36b21859003e1c_rle_crop_4040266995_0.png.png imagette287564831763700782/1763665505_3490533_1395417656_630166179b5f327b85e78e714b6a062a_rle_crop_4040267006_0.png.png imagette287564861763700782/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/314a922160b20a1903a020aab25fd1bf_27426364.png imagette287564831763700782 28756486 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=28756486 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287564861763700782 28756487 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=28756487 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395418253: '1763665505_3490533_1395417657_2fd10cfc9588e9084b36b21859003e1c_rle_crop_4040266991_0.png', 1395418254: '1763665505_3490533_1395417656_630166179b5f327b85e78e714b6a062a_rle_crop_4040267002_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/ac19f799c63d988100dcc531ac4dbeb7_13234481.png change filename to text .imagette287564871763700782/ imagette287564871763700782/1763665505_3490533_1395417656_630166179b5f327b85e78e714b6a062a_rle_crop_4040267002_0.png.png imagette287564871763700782/1763665505_3490533_1395417657_2fd10cfc9588e9084b36b21859003e1c_rle_crop_4040266991_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/ac19f799c63d988100dcc531ac4dbeb7_4798083.png imagette287564871763700782 28756478 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=28756478 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395417623: '1763665165_3446764_1395416723_f79a5d947c9478eee55fde9111c0be5b_rle_crop_4040262630_0.png', 1395417793: '1763665285_3485162_1395417635_e8b690b800450637cfdbbe0811385dd4_rle_crop_4040263649_0.png', 1395417795: '1763665285_3485162_1395417630_6ec63cc587e79b27417883380e8a5367_rle_crop_4040263667_0.png', 1395417925: '1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263867_0.png', 1395418242: '1763665505_3490533_1395417688_a565ec76ee2535ea161a57da6512c6f1_rle_crop_4040266921_0.png', 1395418243: '1763665505_3490533_1395417657_2fd10cfc9588e9084b36b21859003e1c_rle_crop_4040266992_0.png', 1395418244: '1763665505_3490533_1395417656_630166179b5f327b85e78e714b6a062a_rle_crop_4040267003_0.png', 1395418245: '1763665505_3490533_1395417655_0deb0a4994051ccd84c88ae66858b2a3_rle_crop_4040267014_0.png', 1395418246: '1763665505_3490533_1395417654_d9ba83c90759b8ad21e18c3eaa7cc838_rle_crop_4040267023_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/d367d9c51441eea4ca262ecb242188df_98609114.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/43ddbe7556f3c107f962d37fe04e8562_33114019.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/80e171c65154b99d972be04a39b63002_44637634.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/ffc46c000cbda2cb6026cb10d33022a8_74193498.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/7d863761e028008f5a390dec2f1270de_42130964.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/e5bef564efa6bbb3866bb8f6b5ad5cb5_72723877.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/e5bef564efa6bbb3866bb8f6b5ad5cb5_801461.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/f670c8cbff0499d173e4a1c1a98b6049_83911733.png change filename to text .imagette287564781763700782/ imagette287564781763700782/1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263867_0.png.png imagette287564781763700782/1763665505_3490533_1395417655_0deb0a4994051ccd84c88ae66858b2a3_rle_crop_4040267014_0.png.png imagette287564781763700782/1763665505_3490533_1395417656_630166179b5f327b85e78e714b6a062a_rle_crop_4040267003_0.png.png imagette287564781763700782/1763665285_3485162_1395417635_e8b690b800450637cfdbbe0811385dd4_rle_crop_4040263649_0.png.png imagette287564781763700782/1763665505_3490533_1395417657_2fd10cfc9588e9084b36b21859003e1c_rle_crop_4040266992_0.png.png imagette287564781763700782/1763665165_3446764_1395416723_f79a5d947c9478eee55fde9111c0be5b_rle_crop_4040262630_0.png.png imagette287564781763700782/1763665505_3490533_1395417688_a565ec76ee2535ea161a57da6512c6f1_rle_crop_4040266921_0.png.png imagette287564781763700782/1763665285_3485162_1395417630_6ec63cc587e79b27417883380e8a5367_rle_crop_4040263667_0.png.png imagette287564781763700782/1763665505_3490533_1395417654_d9ba83c90759b8ad21e18c3eaa7cc838_rle_crop_4040267023_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/f670c8cbff0499d173e4a1c1a98b6049_70368932.png imagette287564781763700782 28756484 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=28756484 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395417783: '1763665285_3485162_1395417630_6ec63cc587e79b27417883380e8a5367_rle_crop_4040263673_0.png', 1395417918: '1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263849_0.png', 1395417919: '1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263877_0.png', 1395417920: '1763665385_3488159_1395417104_6aa610fcd5402d3168499819c1fecd27_rle_crop_4040263889_0.png', 1395417921: '1763665385_3488159_1395417104_6aa610fcd5402d3168499819c1fecd27_rle_crop_4040263884_0.png', 1395417922: '1763665385_3488159_1395417104_6aa610fcd5402d3168499819c1fecd27_rle_crop_4040263882_0.png', 1395417924: '1763665385_3488159_1395417081_ff6da3a338ce34ff299f1c10315fe1d1_rle_crop_4040263904_0.png', 1395418236: '1763665505_3490533_1395417688_a565ec76ee2535ea161a57da6512c6f1_rle_crop_4040266925_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/9dac9d2f10f6ab3a01fad93099e4dc77_58300286.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/06eea8686f840c9cc8341903f2f3c4f6_82556663.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/f28fd25f4e49ac87671061937b26730d_10244317.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/64fa836b45e4d315ec93f6fecdcfd225_47974035.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/1dfef717f3b8dc964ed1f5e920a8237e_88211032.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/c93e6e10741ee8e27339ae92ee47fca0_43785180.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/aacdca816c53596f0c5056db5f30ea87_83799314.png change filename to text .imagette287564841763700783/ imagette287564841763700783/1763665285_3485162_1395417630_6ec63cc587e79b27417883380e8a5367_rle_crop_4040263673_0.png.png imagette287564841763700783/1763665385_3488159_1395417104_6aa610fcd5402d3168499819c1fecd27_rle_crop_4040263882_0.png.png imagette287564841763700783/1763665385_3488159_1395417104_6aa610fcd5402d3168499819c1fecd27_rle_crop_4040263884_0.png.png imagette287564841763700783/1763665505_3490533_1395417688_a565ec76ee2535ea161a57da6512c6f1_rle_crop_4040266925_0.png.png imagette287564841763700783/1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263849_0.png.png imagette287564841763700783/1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263877_0.png.png imagette287564841763700783/1763665385_3488159_1395417104_6aa610fcd5402d3168499819c1fecd27_rle_crop_4040263889_0.png.png imagette287564841763700783/1763665385_3488159_1395417081_ff6da3a338ce34ff299f1c10315fe1d1_rle_crop_4040263904_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/fa29d57c5ca4ba458495dc2204e4e8fa_33595156.png imagette287564841763700783 28756485 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=28756485 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395417927: '1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263852_0.png', 1395417928: '1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263872_0.png', 1395417929: '1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263876_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/a70a84d4205ec294cc436fef159361b6_54838505.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/0d1175c5a2ae2bdee0f9e9117f9640c0_643263.png change filename to text .imagette287564851763700784/ imagette287564851763700784/1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263876_0.png.png imagette287564851763700784/1763665385_3488159_1395417139_8f9940f35feb93d5d176e05611be14d1_rle_crop_4040263872_0.png.png imagette287564851763700784/1763665385_3488159_1395417641_1c66ed54218cf3dc115a96a64e677b6e_rle_crop_4040263852_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/8b04c5f210c5062b4f07911dda35c7fd_85092244.png imagette287564851763700784 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28756471 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28756488,28756489,28756490,28756491,28756492,28756493,28756494,28756495,28756496,28756497,28756498,28756499?tags=flou,environnement,Carton_gris,plastique,mal_croppe,cartonnette,papier,autre_refus,Teint_Dans_La_Masse,Carton_brun,metal,kraft your option no_mail is active, we will not send the real mail to your client args[1395417688] : ('0.03871224508951871',) no score found for photo 1395417688 We are sending mail with results at report@fotonower.com args[1395417668] : ('0.03871224508951871',) no score found for photo 1395417668 We are sending mail with results at report@fotonower.com args[1395417666] : ('0.03871224508951871',) no score found for photo 1395417666 We are sending mail with results at report@fotonower.com args[1395417663] : ('0.03871224508951871',) no score found for photo 1395417663 We are sending mail with results at report@fotonower.com args[1395417662] : ('0.03871224508951871',) no score found for photo 1395417662 We are sending mail with results at report@fotonower.com args[1395417659] : ('0.03871224508951871',) no score found for photo 1395417659 We are sending mail with results at report@fotonower.com args[1395417658] : ('0.03871224508951871',) no score found for photo 1395417658 We are sending mail with results at report@fotonower.com args[1395417657] : ('0.03871224508951871',) no score found for photo 1395417657 We are sending mail with results at report@fotonower.com args[1395417656] : ('0.03871224508951871',) no score found for photo 1395417656 We are sending mail with results at report@fotonower.com args[1395417655] : ('0.03871224508951871',) no score found for photo 1395417655 We are sending mail with results at report@fotonower.com args[1395417654] : ('0.03871224508951871',) no score found for photo 1395417654 We are sending mail with results at report@fotonower.com args[1395417641] : ('0.03871224508951871',) no score found for photo 1395417641 We are sending mail with results at report@fotonower.com args[1395417635] : ('0.03871224508951871',) no score found for photo 1395417635 We are sending mail with results at report@fotonower.com args[1395417630] : ('0.03871224508951871',) no score found for photo 1395417630 We are sending mail with results at report@fotonower.com args[1395417625] : ('0.03871224508951871',) no score found for photo 1395417625 We are sending mail with results at report@fotonower.com args[1395417212] : ('0.03871224508951871',) no score found for photo 1395417212 We are sending mail with results at report@fotonower.com args[1395417176] : ('0.03871224508951871',) no score found for photo 1395417176 We are sending mail with results at report@fotonower.com args[1395417139] : ('0.03871224508951871',) no score found for photo 1395417139 We are sending mail with results at report@fotonower.com args[1395417104] : ('0.03871224508951871',) no score found for photo 1395417104 We are sending mail with results at report@fotonower.com args[1395417081] : ('0.03871224508951871',) no score found for photo 1395417081 We are sending mail with results at report@fotonower.com args[1395417079] : ('0.03871224508951871',) no score found for photo 1395417079 We are sending mail with results at report@fotonower.com args[1395416760] : ('0.03871224508951871',) no score found for photo 1395416760 We are sending mail with results at report@fotonower.com args[1395416752] : ('0.03871224508951871',) no score found for photo 1395416752 We are sending mail with results at report@fotonower.com args[1395416724] : ('0.03871224508951871',) no score found for photo 1395416724 We are sending mail with results at report@fotonower.com args[1395416723] : ('0.03871224508951871',) no score found for photo 1395416723 We are sending mail with results at report@fotonower.com args[1395416701] : ('0.03871224508951871',) no score found for photo 1395416701 We are sending mail with results at report@fotonower.com args[1395416699] : ('0.03871224508951871',) no score found for photo 1395416699 We are sending mail with results at report@fotonower.com args[1395416697] : ('0.03871224508951871',) no score found for photo 1395416697 We are sending mail with results at report@fotonower.com args[1395416695] : ('0.03871224508951871',) no score found for photo 1395416695 We are sending mail with results at report@fotonower.com args[1395416693] : ('0.03871224508951871',) no score found for photo 1395416693 We are sending mail with results at report@fotonower.com args[1395416180] : ('0.03871224508951871',) no score found for photo 1395416180 We are sending mail with results at report@fotonower.com refus_total : 0.03871224508951871 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=28756471 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_P28756471_21-11-2025_05_53_01.pdf results_Auto_P28756471_21-11-2025_05_53_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756471_21-11-2025_05_53_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','28756471','results_Auto_P28756471_21-11-2025_05_53_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756471_21-11-2025_05_53_01.pdf','pdf','','0.31','0.03871224508951871') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28756471]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] map_info['map_portfolio_photo'] : {28756471: [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180]} final : False mtd_id 4302 list_pids : [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] 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, '4089223') ('4302', '28756471', '1395417688', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417668', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417666', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417663', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417662', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417659', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417658', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417657', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417656', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417655', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417654', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417641', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417635', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417630', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417625', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417212', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417176', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417139', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417104', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417081', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417079', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416760', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416752', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416724', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416723', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416701', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416699', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416697', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416695', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416693', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416180', None, None, None, None, None, '4089223') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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', '28756471', '1395417688', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417668', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417666', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417663', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417662', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417659', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417658', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417657', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417656', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417655', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417654', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417641', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417635', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417630', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417625', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417212', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417176', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417139', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417104', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417081', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417079', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416760', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416752', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416724', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416723', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416701', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416699', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416697', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416695', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416693', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416180', None, None, None, None, None, '4089223')] time used for this insertion : 0.020689964294433594 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.479309558868408 time spend to save output : 0.021025896072387695 total time spend for step 4 : 6.500335454940796 step5:split_time_score Fri Nov 21 05:53:06 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 : ['28756471'] 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 : [('28756471',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28756471) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1395417666: {'path': 'temp/1763700780_1314128_1395417666_5a2cde1d7fd8a9aac49d375c6c50e96c.jpg', 'extension': 'jpg'}, 1395417668: {'path': 'temp/1763700780_1314128_1395417668_aad1774f17a10a440cb01e6d0110c4d3.jpg', 'extension': 'jpg'}, 1395417688: {'path': 'temp/1763700780_1314128_1395417688_a565ec76ee2535ea161a57da6512c6f1.jpg', 'extension': 'jpg'}, 1395417655: {'path': 'temp/1763700780_1314128_1395417655_0deb0a4994051ccd84c88ae66858b2a3.jpg', 'extension': 'jpg'}, 1395417656: {'path': 'temp/1763700780_1314128_1395417656_630166179b5f327b85e78e714b6a062a.jpg', 'extension': 'jpg'}, 1395417657: {'path': 'temp/1763700780_1314128_1395417657_2fd10cfc9588e9084b36b21859003e1c.jpg', 'extension': 'jpg'}, 1395417658: {'path': 'temp/1763700780_1314128_1395417658_2913ab7aa2a07a4ba26e476c8df20259.jpg', 'extension': 'jpg'}, 1395417659: {'path': 'temp/1763700780_1314128_1395417659_547963156a40f30575156d5a315e5301.jpg', 'extension': 'jpg'}, 1395417662: {'path': 'temp/1763700780_1314128_1395417662_aff74dbe46dc33c64d6918ee298f50d5.jpg', 'extension': 'jpg'}, 1395417663: {'path': 'temp/1763700780_1314128_1395417663_4eb41d278a4de7070b8bb33d7b837655.jpg', 'extension': 'jpg'}, 1395416724: {'path': 'temp/1763700780_1314128_1395416724_36ed709974840548b60bb50d317016e3.jpg', 'extension': 'jpg'}, 1395416752: {'path': 'temp/1763700780_1314128_1395416752_86e78a8543646986e79f6cf699470e6d.jpg', 'extension': 'jpg'}, 1395416760: {'path': 'temp/1763700780_1314128_1395416760_8c5d6dedf1719fa15f079578a362ce9f.jpg', 'extension': 'jpg'}, 1395417079: {'path': 'temp/1763700780_1314128_1395417079_7cd228d3aebc94cf58da1569263ca5e8.jpg', 'extension': 'jpg'}, 1395417081: {'path': 'temp/1763700780_1314128_1395417081_ff6da3a338ce34ff299f1c10315fe1d1.jpg', 'extension': 'jpg'}, 1395417104: {'path': 'temp/1763700780_1314128_1395417104_6aa610fcd5402d3168499819c1fecd27.jpg', 'extension': 'jpg'}, 1395417139: {'path': 'temp/1763700780_1314128_1395417139_8f9940f35feb93d5d176e05611be14d1.jpg', 'extension': 'jpg'}, 1395417176: {'path': 'temp/1763700780_1314128_1395417176_0671e5fd9615c9388c270d1d5d80d515.jpg', 'extension': 'jpg'}, 1395417212: {'path': 'temp/1763700780_1314128_1395417212_c3ced4b403bd4705bb5fad2a9ce9781b.jpg', 'extension': 'jpg'}, 1395417625: {'path': 'temp/1763700780_1314128_1395417625_572564de212e14a3451d57c6f2b908ee.jpg', 'extension': 'jpg'}, 1395417630: {'path': 'temp/1763700780_1314128_1395417630_6ec63cc587e79b27417883380e8a5367.jpg', 'extension': 'jpg'}, 1395417635: {'path': 'temp/1763700780_1314128_1395417635_e8b690b800450637cfdbbe0811385dd4.jpg', 'extension': 'jpg'}, 1395417641: {'path': 'temp/1763700780_1314128_1395417641_1c66ed54218cf3dc115a96a64e677b6e.jpg', 'extension': 'jpg'}, 1395417654: {'path': 'temp/1763700780_1314128_1395417654_d9ba83c90759b8ad21e18c3eaa7cc838.jpg', 'extension': 'jpg'}, 1395416180: {'path': 'temp/1763700780_1314128_1395416180_5db47892be0219f9ac00f492a2be86bd.jpg', 'extension': 'jpg'}, 1395416693: {'path': 'temp/1763700780_1314128_1395416693_f4b7bfb6b981225331b92423bbfb03e5.jpg', 'extension': 'jpg'}, 1395416695: {'path': 'temp/1763700780_1314128_1395416695_fe36545f8ef2c2865cef596f872991f5.jpg', 'extension': 'jpg'}, 1395416697: {'path': 'temp/1763700780_1314128_1395416697_5e2a41ee04a2f5276ef47be14ef240f7.jpg', 'extension': 'jpg'}, 1395416699: {'path': 'temp/1763700780_1314128_1395416699_3b3c14c01048047e85c06cf7055ecec8.jpg', 'extension': 'jpg'}, 1395416701: {'path': 'temp/1763700780_1314128_1395416701_36d3ba9f2f7b03b3283fa14c1d5ef675.jpg', 'extension': 'jpg'}, 1395416723: {'path': 'temp/1763700780_1314128_1395416723_f79a5d947c9478eee55fde9111c0be5b.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 = 28756471; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 28756471 group by h (('19', 31),) 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=28756471 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 (28756471) 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 (28756471) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20112025 28756471 Nombre de photos uploadées : 31 / 23040 (0%) 20112025 28756471 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 20112025 28756471 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1395416180, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/5db47892be0219f9ac00f492a2be86bd.jpg', 'username': None, 'uploaded_at': 1763664487, 'text': 'image_20112025_19_47_54_10136.jpg'}, {'photo_id': 1395416701, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/36d3ba9f2f7b03b3283fa14c1d5ef675.jpg', 'username': None, 'uploaded_at': 1763664908, 'text': 'image_20112025_19_52_44_10138.jpg'}, {'photo_id': 1395416699, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/3b3c14c01048047e85c06cf7055ecec8.jpg', 'username': None, 'uploaded_at': 1763664908, 'text': 'image_20112025_19_54_15_10137.jpg'}, {'photo_id': 1395416697, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/20/5e2a41ee04a2f5276ef47be14ef240f7.jpg', 'username': None, 'uploaded_at': 1763664908, 'text': 'image_20112025_19_54_25_10138.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014529228210449219 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28756471, '2025-11-20' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2614335,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.28334712982177734 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= 2614335 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28729285, 'dashboard_result_id': 17573427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729285_21-11-2025_05_34_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28729288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28729289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28729290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28729291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28729292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28729293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28729294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28729295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28729296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28729297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28729298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28729299, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28729878, 'dashboard_result_id': 17573428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729878_21-11-2025_05_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28729884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28729885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28729886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28729887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28729888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28729889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28729890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28729891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28729892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28729893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28729894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28729895, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28730454, 'dashboard_result_id': 17573429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730454_21-11-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28730533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28730534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28730535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28730536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28730537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28730538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28730539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28730540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28730541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28730542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28730543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28730544, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28730956, 'dashboard_result_id': 17573430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730956_21-11-2025_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28730988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28730989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28730990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28730991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28730993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28730994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28730995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28730996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28730997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28730998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28730999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28731000, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28732283, 'dashboard_result_id': 17573431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732283_21-11-2025_05_36_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732326, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28732606, 'dashboard_result_id': 17573432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732606_21-11-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732674, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28732937, 'dashboard_result_id': 17573433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732937_21-11-2025_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732969, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28733416, 'dashboard_result_id': 17573434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733416_21-11-2025_05_37_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28733425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28733426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28733427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28733428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28733429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28733430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28733431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28733432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28733433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28733434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28733435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28733436, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28733691, 'dashboard_result_id': 17573435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733691_21-11-2025_05_38_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28733748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28733749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28733750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28733751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28733752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28733753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28733754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28733755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28733756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28733757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28733758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28733759, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28734257, 'dashboard_result_id': 17573436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734257_21-11-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28734266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28734267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28734268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28734269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28734271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28734272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28734273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28734274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28734275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28734276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28734277, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28734699, 'dashboard_result_id': 17573437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734699_21-11-2025_05_39_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28734741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28734742, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28734743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28734744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28734745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28734746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28734747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28734748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28734749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28734750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28734751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28734752, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28735407, 'dashboard_result_id': 17573438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735407_21-11-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28735440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28735441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28735442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28735443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28735444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28735445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28735446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28735447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28735448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28735449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28735450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28735451, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28735955, 'dashboard_result_id': 17573439, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735955_21-11-2025_05_40_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28735965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28735966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28735967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28735968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28735969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28735970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28735971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28735972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28735973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28735974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28735975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28735976, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28736530, 'dashboard_result_id': 17573440, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736530_21-11-2025_05_40_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28736562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28736563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28736564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28736565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28736566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28736567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28736568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28736569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28736570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28736571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28736572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28736573, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28736964, 'dashboard_result_id': 17573441, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736964_21-11-2025_05_41_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28736982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28736983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28736984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28736985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28736986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28736987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28736988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28736989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28736990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28736991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28736992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28736993, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28740327, 'dashboard_result_id': 17573442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740327_21-11-2025_05_41_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740607, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28740329, 'dashboard_result_id': 17573443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740580, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28740332, 'dashboard_result_id': 17573444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740556, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28740348, 'dashboard_result_id': 17573445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740348_21-11-2025_05_42_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740517, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28740352, 'dashboard_result_id': 17573446, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740352_21-11-2025_05_43_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740459, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28740373, 'dashboard_result_id': 17573447, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740373_21-11-2025_05_43_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28740424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740435, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28740377, 'dashboard_result_id': 17573448, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740377_21-11-2025_05_43_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740411, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28743048, 'dashboard_result_id': 17573449, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743048_21-11-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743061, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28743363, 'dashboard_result_id': 17573450, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743363_21-11-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743378, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28743751, 'dashboard_result_id': 17573451, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743751_21-11-2025_05_45_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743792, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28744153, 'dashboard_result_id': 17573452, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744153_20-11-2025_14_31_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28744229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28744230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28744231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28744232, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28744233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28744234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28744235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28744236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28744237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28744238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28744239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28744240, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28744884, 'dashboard_result_id': 17573453, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744884_21-11-2025_05_46_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28744889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28744890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28744891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28744892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28744893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28744894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28744895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28744896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28744897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28744898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28744899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28744900, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28745500, 'dashboard_result_id': 17573454, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28745500_21-11-2025_05_46_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28745556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28745557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28745558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28745559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28745560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28745561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28745562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28745563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28745564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28745565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28745566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28745567, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28746095, 'dashboard_result_id': 17573455, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746095_21-11-2025_05_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28746169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28746170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28746171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28746172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28746173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28746174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28746175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28746176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28746177, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28746178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28746179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28746180, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28746646, 'dashboard_result_id': 17573456, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746646_21-11-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28746689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28746690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28746691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28746692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28746693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28746695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28746696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28746697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28746698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28746699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28746700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28746701, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28747374, 'dashboard_result_id': 17573457, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747374_21-11-2025_05_47_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28747393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28747394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28747395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28747396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28747397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28747398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28747399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28747401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28747402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28747403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28747404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28747405, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28747973, 'dashboard_result_id': 17573458, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747973_21-11-2025_05_48_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28748030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28748031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28748032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28748033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28748034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28748035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28748037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28748038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28748039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28748040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28748041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28748042, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28748629, 'dashboard_result_id': 17573459, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28748629_21-11-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28748699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28748700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28748701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28748702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28748703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28748704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28748705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28748706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28748707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28748708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28748709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28748710, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28749232, 'dashboard_result_id': 17573460, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749232_20-11-2025_16_31_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28749237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28749238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28749239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28749240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28749241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28749242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28749243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28749244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28749245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28749246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28749247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28749248, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28749853, 'dashboard_result_id': 17573461, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749853_21-11-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28749865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28749866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28749867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28749868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28749869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28749870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28749871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28749872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28749873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28749874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28749875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28749876, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28750399, 'dashboard_result_id': 17573462, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750399_21-11-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28750449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28750450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28750451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28750452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28750453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28750454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28750455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28750456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28750457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28750458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28750459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28750460, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28750906, 'dashboard_result_id': 17573463, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750906_21-11-2025_05_49_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28750940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28750941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28750942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28750943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28750944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28750945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28750946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28750947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28750948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28750949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28750950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28750951, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28752739, 'dashboard_result_id': 17573464, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28752739_21-11-2025_05_50_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28752765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28752766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28752767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28752768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28752769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28752770, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28752771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28752772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28752773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28752774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28752775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28752776, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28753136, 'dashboard_result_id': 17573465, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753136_21-11-2025_05_51_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28753162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28753163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28753164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28753165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28753166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28753167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28753168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28753169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28753170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28753171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28753172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28753173, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28753730, 'dashboard_result_id': 17573466, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753730_21-11-2025_05_51_11.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28753753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28753754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28753755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28753756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28753757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28753758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28753759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28753760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28753761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28753762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28753763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28753764, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28754218, 'dashboard_result_id': 17573467, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754218_21-11-2025_05_51_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28754243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28754245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28754246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28754247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28754248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28754249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28754250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28754251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28754252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28754253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28754254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28754255, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28754791, 'dashboard_result_id': 17573468, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754791_21-11-2025_05_52_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28754813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28754814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28754815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28754817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28754818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28754819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28754820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28754821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28754822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28754823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28754824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28754825, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28755487, 'dashboard_result_id': 17573469, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28755487_21-11-2025_05_52_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28755566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28755567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28755568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28755569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28755570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28755571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28755572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28755573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28755574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28755575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28755576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28755577, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28756471, 'dashboard_result_id': 17573470, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756471_20-11-2025_20_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28756476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28756477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28756478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28756479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28756480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28756481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28756482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28756483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28756484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28756485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28756486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28756487, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28756707, 'dashboard_result_id': 17573471, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756707_20-11-2025_20_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28756727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28756728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28756729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28756730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28756731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28756732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28756733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28756734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28756735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28756736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28756737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28756738, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28757022, 'dashboard_result_id': 17573472, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757022_20-11-2025_20_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28757088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28757089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28757090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28757091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28757092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28757093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28757094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28757095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28757096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28757097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28757098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28757099, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28757666, 'dashboard_result_id': 17573473, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757666_20-11-2025_20_54_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28757717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28757718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28757719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28757720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28757721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28757722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28757723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28757724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28757725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28757726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28757727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28757728, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28759451, 'dashboard_result_id': 17573474, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759451_20-11-2025_22_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28759452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759463, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28759647, 'dashboard_result_id': 17573475, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759647_20-11-2025_22_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28759654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759660, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28759973, 'dashboard_result_id': 17573476, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759973_20-11-2025_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28759993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759999, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28760380, 'dashboard_result_id': 17573477, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760380_20-11-2025_23_06_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28760390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28760391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28760392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28760393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28760394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28760395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28760396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28760397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28760398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28760399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28760400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28760401, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28760569, 'dashboard_result_id': 17573478, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760569_20-11-2025_23_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28760587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28760588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28760589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28760590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28760591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28760592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28760593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28760594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28760595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28760596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28760597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28760598, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28761115, 'dashboard_result_id': 17573479, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761115_20-11-2025_23_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28761130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28761131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28761132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28761133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28761134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28761135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28761136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28761137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28761138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28761139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28761140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28761141, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28761580, 'dashboard_result_id': 17573480, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761580_20-11-2025_23_51_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28761623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28761624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28761625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28761626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28761627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28761628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28761629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28761630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28761631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28761632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28761633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28761634, 'pht': 3726}}"}, {'dashboat_entry_day': 2614335, 'dashboard_run_id': 2628390, 'mtr_portfolio_id': 28762275, 'dashboard_result_id': 17573481, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762275_21-11-2025_00_56_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28762276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28762277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28762278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28762279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28762280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28762281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28762282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28762283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28762284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28762285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28762286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28762287, '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 = 28729285 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089180, 'mtr_portfolio_id': 28729285, 'created_at': datetime.datetime(2025, 11, 21, 5, 34, 27), 'result': '0.06316202260982903', 'result_long': None, 'result_double': None}] Qualite : 0.06316202260982903 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28729285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729285_21-11-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28729285 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729285_21-11-2025_05_34_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28729288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28729289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28729290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28729291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28729292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28729293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28729294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28729295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28729296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28729297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28729298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28729299, 'pht': 3726}}" where mtr_portfolio_id = 28729285 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28729285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573427, 0.06316202260982903, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729285_21-11-2025_05_34_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28729288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28729289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28729290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28729291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28729292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28729293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28729294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28729295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28729296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28729297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28729298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28729299, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28729878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089181, 'mtr_portfolio_id': 28729878, 'created_at': datetime.datetime(2025, 11, 21, 5, 34, 58), 'result': '0.046446620973363016', 'result_long': None, 'result_double': None}] Qualite : 0.046446620973363016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28729878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729878_21-11-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28729878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729878_21-11-2025_05_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28729884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28729885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28729886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28729887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28729888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28729889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28729890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28729891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28729892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28729893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28729894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28729895, 'pht': 3726}}" where mtr_portfolio_id = 28729878 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28729878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573428, 0.046446620973363016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28729878_21-11-2025_05_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28729884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28729885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28729886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28729887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28729888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28729889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28729890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28729891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28729892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28729893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28729894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28729895, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28730454 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089182, 'mtr_portfolio_id': 28730454, 'created_at': datetime.datetime(2025, 11, 21, 5, 35, 30), 'result': '0.06219491235228678', 'result_long': None, 'result_double': None}] Qualite : 0.06219491235228678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28730454 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730454_21-11-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28730454 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730454_21-11-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28730533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28730534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28730535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28730536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28730537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28730538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28730539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28730540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28730541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28730542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28730543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28730544, 'pht': 3726}}" where mtr_portfolio_id = 28730454 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28730454 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573429, 0.06219491235228678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730454_21-11-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28730533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28730534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28730535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28730536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28730537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28730538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28730539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28730540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28730541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28730542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28730543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28730544, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28730956 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089183, 'mtr_portfolio_id': 28730956, 'created_at': datetime.datetime(2025, 11, 21, 5, 35, 59), 'result': '0.028716250443948738', 'result_long': None, 'result_double': None}] Qualite : 0.028716250443948738 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28730956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730956_21-11-2025_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28730956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730956_21-11-2025_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28730988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28730989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28730990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28730991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28730993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28730994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28730995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28730996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28730997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28730998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28730999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28731000, 'pht': 3726}}" where mtr_portfolio_id = 28730956 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28730956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573430, 0.028716250443948738, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28730956_21-11-2025_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28730988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28730989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28730990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28730991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28730993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28730994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28730995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28730996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28730997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28730998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28730999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28731000, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28732283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089184, 'mtr_portfolio_id': 28732283, 'created_at': datetime.datetime(2025, 11, 21, 5, 36, 8), 'result': '0.0637085330401548', 'result_long': None, 'result_double': None}] Qualite : 0.0637085330401548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28732283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732283_21-11-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28732283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732283_21-11-2025_05_36_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732326, 'pht': 3726}}" where mtr_portfolio_id = 28732283 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28732283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573431, 0.0637085330401548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732283_21-11-2025_05_36_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732326, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28732606 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089185, 'mtr_portfolio_id': 28732606, 'created_at': datetime.datetime(2025, 11, 21, 5, 36, 28), 'result': '0.0530839223813962', 'result_long': None, 'result_double': None}] Qualite : 0.0530839223813962 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28732606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732606_21-11-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28732606 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732606_21-11-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732674, 'pht': 3726}}" where mtr_portfolio_id = 28732606 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28732606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573432, 0.0530839223813962, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732606_21-11-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732674, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28732937 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089186, 'mtr_portfolio_id': 28732937, 'created_at': datetime.datetime(2025, 11, 21, 5, 36, 59), 'result': '0.04830138493187099', 'result_long': None, 'result_double': None}] Qualite : 0.04830138493187099 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28732937 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732937_21-11-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28732937 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732937_21-11-2025_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732969, 'pht': 3726}}" where mtr_portfolio_id = 28732937 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28732937 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573433, 0.04830138493187099, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28732937_21-11-2025_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28732958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28732959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28732960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28732961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28732962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28732963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28732964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28732965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28732966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28732967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28732968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28732969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28733416 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089187, 'mtr_portfolio_id': 28733416, 'created_at': datetime.datetime(2025, 11, 21, 5, 37, 29), 'result': '0.044310430713162936', 'result_long': None, 'result_double': None}] Qualite : 0.044310430713162936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28733416 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733416_21-11-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28733416 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733416_21-11-2025_05_37_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28733425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28733426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28733427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28733428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28733429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28733430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28733431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28733432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28733433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28733434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28733435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28733436, 'pht': 3726}}" where mtr_portfolio_id = 28733416 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28733416 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573434, 0.044310430713162936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733416_21-11-2025_05_37_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28733425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28733426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28733427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28733428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28733429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28733430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28733431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28733432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28733433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28733434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28733435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28733436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28733691 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089188, 'mtr_portfolio_id': 28733691, 'created_at': datetime.datetime(2025, 11, 21, 5, 37, 59), 'result': '0.06394866085328949', 'result_long': None, 'result_double': None}] Qualite : 0.06394866085328949 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28733691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733691_21-11-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28733691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733691_21-11-2025_05_38_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28733748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28733749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28733750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28733751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28733752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28733753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28733754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28733755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28733756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28733757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28733758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28733759, 'pht': 3726}}" where mtr_portfolio_id = 28733691 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28733691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573435, 0.06394866085328949, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28733691_21-11-2025_05_38_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28733748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28733749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28733750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28733751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28733752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28733753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28733754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28733755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28733756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28733757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28733758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28733759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28734257 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089189, 'mtr_portfolio_id': 28734257, 'created_at': datetime.datetime(2025, 11, 21, 5, 38, 28), 'result': '0.06501693880847081', 'result_long': None, 'result_double': None}] Qualite : 0.06501693880847081 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28734257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734257_21-11-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28734257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734257_21-11-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28734266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28734267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28734268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28734269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28734271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28734272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28734273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28734274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28734275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28734276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28734277, 'pht': 3726}}" where mtr_portfolio_id = 28734257 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28734257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573436, 0.06501693880847081, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734257_21-11-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28734266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28734267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28734268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28734269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28734271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28734272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28734273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28734274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28734275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28734276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28734277, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28734699 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089190, 'mtr_portfolio_id': 28734699, 'created_at': datetime.datetime(2025, 11, 21, 5, 38, 59), 'result': '0.034492618132727776', 'result_long': None, 'result_double': None}] Qualite : 0.034492618132727776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28734699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734699_21-11-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28734699 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734699_21-11-2025_05_39_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28734741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28734742, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28734743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28734744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28734745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28734746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28734747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28734748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28734749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28734750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28734751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28734752, 'pht': 3726}}" where mtr_portfolio_id = 28734699 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28734699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573437, 0.034492618132727776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28734699_21-11-2025_05_39_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28734741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28734742, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28734743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28734744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28734745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28734746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28734747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28734748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28734749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28734750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28734751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28734752, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28735407 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089191, 'mtr_portfolio_id': 28735407, 'created_at': datetime.datetime(2025, 11, 21, 5, 39, 26), 'result': '0.051680025933597946', 'result_long': None, 'result_double': None}] Qualite : 0.051680025933597946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28735407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735407_21-11-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28735407 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735407_21-11-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28735440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28735441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28735442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28735443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28735444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28735445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28735446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28735447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28735448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28735449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28735450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28735451, 'pht': 3726}}" where mtr_portfolio_id = 28735407 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28735407 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573438, 0.051680025933597946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735407_21-11-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28735440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28735441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28735442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28735443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28735444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28735445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28735446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28735447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28735448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28735449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28735450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28735451, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28735955 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089192, 'mtr_portfolio_id': 28735955, 'created_at': datetime.datetime(2025, 11, 21, 5, 40), 'result': '0.0421090861949604', 'result_long': None, 'result_double': None}] Qualite : 0.0421090861949604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28735955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735955_21-11-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28735955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735955_21-11-2025_05_40_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28735965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28735966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28735967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28735968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28735969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28735970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28735971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28735972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28735973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28735974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28735975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28735976, 'pht': 3726}}" where mtr_portfolio_id = 28735955 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28735955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573439, 0.0421090861949604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28735955_21-11-2025_05_40_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28735965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28735966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28735967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28735968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28735969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28735970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28735971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28735972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28735973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28735974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28735975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28735976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28736530 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089193, 'mtr_portfolio_id': 28736530, 'created_at': datetime.datetime(2025, 11, 21, 5, 40, 29), 'result': '0.021800452178801957', 'result_long': None, 'result_double': None}] Qualite : 0.021800452178801957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28736530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736530_21-11-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28736530 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736530_21-11-2025_05_40_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28736562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28736563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28736564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28736565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28736566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28736567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28736568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28736569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28736570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28736571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28736572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28736573, 'pht': 3726}}" where mtr_portfolio_id = 28736530 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28736530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573440, 0.021800452178801957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736530_21-11-2025_05_40_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28736562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28736563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28736564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28736565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28736566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28736567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28736568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28736569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28736570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28736571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28736572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28736573, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28736964 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089194, 'mtr_portfolio_id': 28736964, 'created_at': datetime.datetime(2025, 11, 21, 5, 40, 58), 'result': '0.033335769011512154', 'result_long': None, 'result_double': None}] Qualite : 0.033335769011512154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28736964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736964_21-11-2025_05_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28736964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736964_21-11-2025_05_41_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28736982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28736983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28736984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28736985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28736986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28736987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28736988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28736989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28736990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28736991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28736992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28736993, 'pht': 3726}}" where mtr_portfolio_id = 28736964 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28736964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573441, 0.033335769011512154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28736964_21-11-2025_05_41_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28736982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28736983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28736984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28736985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28736986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28736987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28736988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28736989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28736990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28736991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28736992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28736993, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740327 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 = 28740327 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 = 28740327 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740327 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 = 28740327 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 = 28740327 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740327_21-11-2025_05_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28740327 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740327_21-11-2025_05_41_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740607, 'pht': 3726}}" where mtr_portfolio_id = 28740327 and dashboard_run_id = 2628390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740329 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 = 28740329 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28740329 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%28740329%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28740329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740580, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 28740329 and dashboard_run_id = 2628390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740332 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 = 28740332 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 = 28740332 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740332 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 = 28740332 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 = 28740332 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%28740332%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28740332 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740556, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 28740332 and dashboard_run_id = 2628390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740348 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 = 28740348 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 = 28740348 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740348 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 = 28740348 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 = 28740348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740348_21-11-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28740348 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740348_21-11-2025_05_42_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740517, 'pht': 3726}}" where mtr_portfolio_id = 28740348 and dashboard_run_id = 2628390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740352 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 = 28740352 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 = 28740352 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740352 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 = 28740352 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 = 28740352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740352_21-11-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28740352 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740352_21-11-2025_05_43_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740459, 'pht': 3726}}" where mtr_portfolio_id = 28740352 and dashboard_run_id = 2628390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740373 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 = 28740373 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 = 28740373 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740373 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 = 28740373 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 = 28740373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740373_21-11-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28740373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740373_21-11-2025_05_43_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28740424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740435, 'pht': 3726}}" where mtr_portfolio_id = 28740373 and dashboard_run_id = 2628390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740377 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 = 28740377 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 = 28740377 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28740377 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 = 28740377 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 = 28740377 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740377_21-11-2025_05_43_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28740377 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28740377_21-11-2025_05_43_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28740400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28740401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28740402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28740403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28740404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28740405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28740406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28740407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28740408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28740409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28740410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28740411, 'pht': 3726}}" where mtr_portfolio_id = 28740377 and dashboard_run_id = 2628390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28743048 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089202, 'mtr_portfolio_id': 28743048, 'created_at': datetime.datetime(2025, 11, 21, 5, 43, 58), 'result': '0.1643000290292006', 'result_long': None, 'result_double': None}] Qualite : 0.1643000290292006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28743048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743048_21-11-2025_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28743048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743048_21-11-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743061, 'pht': 3726}}" where mtr_portfolio_id = 28743048 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28743048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573449, 0.1643000290292006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743048_21-11-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28743363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089203, 'mtr_portfolio_id': 28743363, 'created_at': datetime.datetime(2025, 11, 21, 5, 44, 31), 'result': '0.03781111825669151', 'result_long': None, 'result_double': None}] Qualite : 0.03781111825669151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28743363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743363_21-11-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28743363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743363_21-11-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743378, 'pht': 3726}}" where mtr_portfolio_id = 28743363 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28743363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573450, 0.03781111825669151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743363_21-11-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743378, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28743751 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089204, 'mtr_portfolio_id': 28743751, 'created_at': datetime.datetime(2025, 11, 21, 5, 45, 28), 'result': '0.042429730834359684', 'result_long': None, 'result_double': None}] Qualite : 0.042429730834359684 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28743751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743751_21-11-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28743751 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743751_21-11-2025_05_45_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743792, 'pht': 3726}}" where mtr_portfolio_id = 28743751 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28743751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573451, 0.042429730834359684, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743751_21-11-2025_05_45_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28743780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28743781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28743782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28743783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28743785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28743786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28743787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28743788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28743789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28743790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28743791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28743792, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28744153 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089205, 'mtr_portfolio_id': 28744153, 'created_at': datetime.datetime(2025, 11, 21, 5, 45, 58), 'result': '0.02679496451624099', 'result_long': None, 'result_double': None}] Qualite : 0.02679496451624099 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28744153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744153_20-11-2025_14_31_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28744153 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744153_20-11-2025_14_31_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28744229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28744230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28744231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28744232, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28744233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28744234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28744235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28744236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28744237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28744238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28744239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28744240, 'pht': 3726}}" where mtr_portfolio_id = 28744153 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28744153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573452, 0.02679496451624099, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744153_20-11-2025_14_31_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28744229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28744230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28744231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28744232, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28744233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28744234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28744235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28744236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28744237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28744238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28744239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28744240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28744884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089206, 'mtr_portfolio_id': 28744884, 'created_at': datetime.datetime(2025, 11, 21, 5, 46, 9), 'result': '0.04012735797844261', 'result_long': None, 'result_double': None}] Qualite : 0.04012735797844261 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28744884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744884_21-11-2025_05_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28744884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744884_21-11-2025_05_46_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28744889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28744890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28744891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28744892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28744893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28744894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28744895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28744896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28744897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28744898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28744899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28744900, 'pht': 3726}}" where mtr_portfolio_id = 28744884 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28744884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573453, 0.04012735797844261, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28744884_21-11-2025_05_46_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28744889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28744890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28744891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28744892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28744893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28744894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28744895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28744896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28744897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28744898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28744899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28744900, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28745500 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089207, 'mtr_portfolio_id': 28745500, 'created_at': datetime.datetime(2025, 11, 21, 5, 46, 29), 'result': '0.03168210279408321', 'result_long': None, 'result_double': None}] Qualite : 0.03168210279408321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28745500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28745500_21-11-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28745500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28745500_21-11-2025_05_46_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28745556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28745557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28745558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28745559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28745560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28745561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28745562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28745563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28745564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28745565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28745566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28745567, 'pht': 3726}}" where mtr_portfolio_id = 28745500 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28745500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573454, 0.03168210279408321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28745500_21-11-2025_05_46_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28745556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28745557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28745558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28745559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28745560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28745561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28745562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28745563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28745564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28745565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28745566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28745567, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28746095 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089208, 'mtr_portfolio_id': 28746095, 'created_at': datetime.datetime(2025, 11, 21, 5, 46, 58), 'result': '0.0362939747798224', 'result_long': None, 'result_double': None}] Qualite : 0.0362939747798224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28746095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746095_21-11-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28746095 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746095_21-11-2025_05_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28746169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28746170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28746171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28746172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28746173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28746174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28746175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28746176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28746177, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28746178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28746179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28746180, 'pht': 3726}}" where mtr_portfolio_id = 28746095 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28746095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573455, 0.0362939747798224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746095_21-11-2025_05_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28746169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28746170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28746171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28746172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28746173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28746174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28746175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28746176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28746177, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28746178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28746179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28746180, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28746646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089209, 'mtr_portfolio_id': 28746646, 'created_at': datetime.datetime(2025, 11, 21, 5, 47, 28), 'result': '0.04868064010068134', 'result_long': None, 'result_double': None}] Qualite : 0.04868064010068134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28746646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746646_21-11-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28746646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746646_21-11-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28746689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28746690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28746691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28746692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28746693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28746695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28746696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28746697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28746698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28746699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28746700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28746701, 'pht': 3726}}" where mtr_portfolio_id = 28746646 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28746646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573456, 0.04868064010068134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28746646_21-11-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28746689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28746690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28746691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28746692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28746693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28746695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28746696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28746697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28746698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28746699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28746700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28746701, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28747374 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089210, 'mtr_portfolio_id': 28747374, 'created_at': datetime.datetime(2025, 11, 21, 5, 47, 29), 'result': '0.025863842435304114', 'result_long': None, 'result_double': None}] Qualite : 0.025863842435304114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28747374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747374_21-11-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28747374 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747374_21-11-2025_05_47_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28747393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28747394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28747395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28747396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28747397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28747398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28747399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28747401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28747402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28747403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28747404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28747405, 'pht': 3726}}" where mtr_portfolio_id = 28747374 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28747374 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573457, 0.025863842435304114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747374_21-11-2025_05_47_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28747393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28747394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28747395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28747396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28747397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28747398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28747399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28747401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28747402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28747403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28747404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28747405, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28747973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089211, 'mtr_portfolio_id': 28747973, 'created_at': datetime.datetime(2025, 11, 21, 5, 47, 58), 'result': '0.042518892679563505', 'result_long': None, 'result_double': None}] Qualite : 0.042518892679563505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28747973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747973_21-11-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28747973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747973_21-11-2025_05_48_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28748030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28748031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28748032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28748033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28748034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28748035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28748037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28748038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28748039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28748040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28748041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28748042, 'pht': 3726}}" where mtr_portfolio_id = 28747973 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28747973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573458, 0.042518892679563505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28747973_21-11-2025_05_48_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28748030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28748031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28748032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28748033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28748034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28748035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28748037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28748038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28748039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28748040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28748041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28748042, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28748629 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089212, 'mtr_portfolio_id': 28748629, 'created_at': datetime.datetime(2025, 11, 21, 5, 48, 28), 'result': '0.03685942320245934', 'result_long': None, 'result_double': None}] Qualite : 0.03685942320245934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28748629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28748629_21-11-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28748629 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28748629_21-11-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28748699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28748700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28748701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28748702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28748703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28748704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28748705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28748706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28748707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28748708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28748709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28748710, 'pht': 3726}}" where mtr_portfolio_id = 28748629 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28748629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573459, 0.03685942320245934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28748629_21-11-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28748699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28748700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28748701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28748702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28748703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28748704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28748705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28748706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28748707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28748708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28748709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28748710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28749232 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089213, 'mtr_portfolio_id': 28749232, 'created_at': datetime.datetime(2025, 11, 21, 5, 49), 'result': '0.04956043367438557', 'result_long': None, 'result_double': None}] Qualite : 0.04956043367438557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28749232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749232_20-11-2025_16_31_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28749232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749232_20-11-2025_16_31_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28749237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28749238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28749239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28749240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28749241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28749242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28749243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28749244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28749245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28749246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28749247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28749248, 'pht': 3726}}" where mtr_portfolio_id = 28749232 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28749232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573460, 0.04956043367438557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749232_20-11-2025_16_31_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28749237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28749238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28749239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28749240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28749241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28749242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28749243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28749244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28749245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28749246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28749247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28749248, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28749853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089214, 'mtr_portfolio_id': 28749853, 'created_at': datetime.datetime(2025, 11, 21, 5, 49, 28), 'result': '0.03830932419140131', 'result_long': None, 'result_double': None}] Qualite : 0.03830932419140131 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28749853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749853_21-11-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28749853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749853_21-11-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28749865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28749866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28749867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28749868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28749869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28749870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28749871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28749872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28749873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28749874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28749875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28749876, 'pht': 3726}}" where mtr_portfolio_id = 28749853 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28749853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573461, 0.03830932419140131, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28749853_21-11-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28749865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28749866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28749867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28749868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28749869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28749870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28749871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28749872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28749873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28749874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28749875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28749876, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28750399 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089215, 'mtr_portfolio_id': 28750399, 'created_at': datetime.datetime(2025, 11, 21, 5, 49, 29), 'result': '0.03362128957298493', 'result_long': None, 'result_double': None}] Qualite : 0.03362128957298493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28750399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750399_21-11-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28750399 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750399_21-11-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28750449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28750450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28750451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28750452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28750453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28750454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28750455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28750456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28750457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28750458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28750459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28750460, 'pht': 3726}}" where mtr_portfolio_id = 28750399 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28750399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573462, 0.03362128957298493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750399_21-11-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28750449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28750450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28750451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28750452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28750453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28750454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28750455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28750456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28750457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28750458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28750459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28750460, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28750906 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089216, 'mtr_portfolio_id': 28750906, 'created_at': datetime.datetime(2025, 11, 21, 5, 49, 57), 'result': '0.06206444907943632', 'result_long': None, 'result_double': None}] Qualite : 0.06206444907943632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28750906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750906_21-11-2025_05_49_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28750906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750906_21-11-2025_05_49_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28750940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28750941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28750942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28750943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28750944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28750945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28750946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28750947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28750948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28750949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28750950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28750951, 'pht': 3726}}" where mtr_portfolio_id = 28750906 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28750906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573463, 0.06206444907943632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28750906_21-11-2025_05_49_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28750940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28750941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28750942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28750943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28750944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28750945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28750946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28750947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28750948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28750949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28750950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28750951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28752739 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089217, 'mtr_portfolio_id': 28752739, 'created_at': datetime.datetime(2025, 11, 21, 5, 50, 30), 'result': '0.05693445504410947', 'result_long': None, 'result_double': None}] Qualite : 0.05693445504410947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28752739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28752739_21-11-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28752739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28752739_21-11-2025_05_50_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28752765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28752766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28752767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28752768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28752769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28752770, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28752771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28752772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28752773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28752774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28752775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28752776, 'pht': 3726}}" where mtr_portfolio_id = 28752739 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28752739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573464, 0.05693445504410947, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28752739_21-11-2025_05_50_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28752765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28752766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28752767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28752768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28752769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28752770, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28752771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28752772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28752773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28752774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28752775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28752776, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28753136 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089218, 'mtr_portfolio_id': 28753136, 'created_at': datetime.datetime(2025, 11, 21, 5, 50, 59), 'result': '0.05050540591393419', 'result_long': None, 'result_double': None}] Qualite : 0.05050540591393419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28753136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753136_21-11-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28753136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753136_21-11-2025_05_51_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28753162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28753163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28753164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28753165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28753166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28753167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28753168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28753169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28753170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28753171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28753172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28753173, 'pht': 3726}}" where mtr_portfolio_id = 28753136 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28753136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573465, 0.05050540591393419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753136_21-11-2025_05_51_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28753162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28753163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28753164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28753165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28753166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28753167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28753168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28753169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28753170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28753171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28753172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28753173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28753730 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089219, 'mtr_portfolio_id': 28753730, 'created_at': datetime.datetime(2025, 11, 21, 5, 51, 8), 'result': '0.046750442777845354', 'result_long': None, 'result_double': None}] Qualite : 0.046750442777845354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28753730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753730_21-11-2025_05_51_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28753730 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753730_21-11-2025_05_51_11.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28753753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28753754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28753755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28753756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28753757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28753758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28753759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28753760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28753761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28753762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28753763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28753764, 'pht': 3726}}" where mtr_portfolio_id = 28753730 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28753730 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573466, 0.046750442777845354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28753730_21-11-2025_05_51_11.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28753753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28753754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28753755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28753756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28753757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28753758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28753759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28753760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28753761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28753762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28753763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28753764, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28754218 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089220, 'mtr_portfolio_id': 28754218, 'created_at': datetime.datetime(2025, 11, 21, 5, 51, 29), 'result': '0.04601172388741671', 'result_long': None, 'result_double': None}] Qualite : 0.04601172388741671 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28754218 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754218_21-11-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28754218 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754218_21-11-2025_05_51_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28754243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28754245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28754246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28754247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28754248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28754249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28754250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28754251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28754252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28754253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28754254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28754255, 'pht': 3726}}" where mtr_portfolio_id = 28754218 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28754218 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573467, 0.04601172388741671, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754218_21-11-2025_05_51_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28754243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28754245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28754246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28754247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28754248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28754249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28754250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28754251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28754252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28754253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28754254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28754255, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28754791 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089221, 'mtr_portfolio_id': 28754791, 'created_at': datetime.datetime(2025, 11, 21, 5, 51, 57), 'result': '0.042633793820908955', 'result_long': None, 'result_double': None}] Qualite : 0.042633793820908955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28754791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754791_21-11-2025_05_52_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28754791 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754791_21-11-2025_05_52_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28754813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28754814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28754815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28754817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28754818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28754819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28754820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28754821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28754822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28754823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28754824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28754825, 'pht': 3726}}" where mtr_portfolio_id = 28754791 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28754791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573468, 0.042633793820908955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28754791_21-11-2025_05_52_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28754813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28754814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28754815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28754817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28754818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28754819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28754820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28754821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28754822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28754823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28754824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28754825, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28755487 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089222, 'mtr_portfolio_id': 28755487, 'created_at': datetime.datetime(2025, 11, 21, 5, 52, 28), 'result': '0.03765555023837004', 'result_long': None, 'result_double': None}] Qualite : 0.03765555023837004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28755487 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28755487_21-11-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28755487 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28755487_21-11-2025_05_52_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28755566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28755567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28755568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28755569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28755570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28755571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28755572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28755573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28755574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28755575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28755576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28755577, 'pht': 3726}}" where mtr_portfolio_id = 28755487 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28755487 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573469, 0.03765555023837004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28755487_21-11-2025_05_52_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28755566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28755567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28755568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28755569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28755570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28755571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28755572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28755573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28755574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28755575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28755576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28755577, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28756471 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4089223, 'mtr_portfolio_id': 28756471, 'created_at': datetime.datetime(2025, 11, 21, 5, 53), 'result': '0.03871224508951871', 'result_long': None, 'result_double': None}] Qualite : 0.03871224508951871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28756471 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756471_21-11-2025_05_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28756471 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756471_21-11-2025_05_53_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28756476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28756477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28756478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28756479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28756480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28756481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28756482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28756483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28756484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28756485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28756486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28756487, 'pht': 3726}}" where mtr_portfolio_id = 28756471 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28756471 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573470, 0.03871224508951871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756471_21-11-2025_05_53_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28756476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28756477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28756478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28756479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28756480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28756481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28756482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28756483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28756484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28756485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28756486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28756487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28756707 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4086817, 'mtr_portfolio_id': 28756707, 'created_at': datetime.datetime(2025, 11, 20, 20, 16, 59), 'result': '0.03702933895805053', 'result_long': None, 'result_double': None}] Qualite : 0.03702933895805053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28756707 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756707_20-11-2025_20_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28756707 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756707_20-11-2025_20_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28756727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28756728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28756729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28756730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28756731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28756732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28756733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28756734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28756735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28756736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28756737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28756738, 'pht': 3726}}" where mtr_portfolio_id = 28756707 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28756707 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573471, 0.03702933895805053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28756707_20-11-2025_20_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28756727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28756728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28756729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28756730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28756731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28756732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28756733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28756734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28756735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28756736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28756737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28756738, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28757022 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4086897, 'mtr_portfolio_id': 28757022, 'created_at': datetime.datetime(2025, 11, 20, 20, 32, 58), 'result': '0.026238758437701085', 'result_long': None, 'result_double': None}] Qualite : 0.026238758437701085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28757022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757022_20-11-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28757022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757022_20-11-2025_20_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28757088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28757089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28757090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28757091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28757092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28757093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28757094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28757095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28757096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28757097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28757098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28757099, 'pht': 3726}}" where mtr_portfolio_id = 28757022 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28757022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573472, 0.026238758437701085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757022_20-11-2025_20_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28757088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28757089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28757090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28757091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28757092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28757093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28757094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28757095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28757096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28757097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28757098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28757099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28757666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087030, 'mtr_portfolio_id': 28757666, 'created_at': datetime.datetime(2025, 11, 20, 20, 54, 30), 'result': '0.030747987240549328', 'result_long': None, 'result_double': None}] Qualite : 0.030747987240549328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28757666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757666_20-11-2025_20_54_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28757666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757666_20-11-2025_20_54_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28757717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28757718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28757719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28757720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28757721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28757722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28757723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28757724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28757725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28757726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28757727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28757728, 'pht': 3726}}" where mtr_portfolio_id = 28757666 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28757666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573473, 0.030747987240549328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28757666_20-11-2025_20_54_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28757717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28757718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28757719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28757720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28757721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28757722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28757723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28757724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28757725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28757726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28757727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28757728, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28759451 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087330, 'mtr_portfolio_id': 28759451, 'created_at': datetime.datetime(2025, 11, 20, 22, 18, 58), 'result': '0.02863567119700161', 'result_long': None, 'result_double': None}] Qualite : 0.02863567119700161 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28759451 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759451_20-11-2025_22_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28759451 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759451_20-11-2025_22_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28759452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759463, 'pht': 3726}}" where mtr_portfolio_id = 28759451 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28759451 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573474, 0.02863567119700161, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759451_20-11-2025_22_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28759452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28759647 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087351, 'mtr_portfolio_id': 28759647, 'created_at': datetime.datetime(2025, 11, 20, 22, 32, 59), 'result': '0.05109644093140944', 'result_long': None, 'result_double': None}] Qualite : 0.05109644093140944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28759647 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759647_20-11-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28759647 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759647_20-11-2025_22_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28759654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759660, 'pht': 3726}}" where mtr_portfolio_id = 28759647 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28759647 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573475, 0.05109644093140944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759647_20-11-2025_22_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28759654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759660, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28759973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087391, 'mtr_portfolio_id': 28759973, 'created_at': datetime.datetime(2025, 11, 20, 22, 48, 57), 'result': '0.039893151187999826', 'result_long': None, 'result_double': None}] Qualite : 0.039893151187999826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28759973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759973_20-11-2025_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28759973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759973_20-11-2025_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28759993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759999, 'pht': 3726}}" where mtr_portfolio_id = 28759973 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28759973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573476, 0.039893151187999826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28759973_20-11-2025_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28759988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28759989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28759990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28759991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28759992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28759993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28759994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28759995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28759996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28759997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28759998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28759999, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28760380 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087467, 'mtr_portfolio_id': 28760380, 'created_at': datetime.datetime(2025, 11, 20, 23, 6, 31), 'result': '0.044959033521941444', 'result_long': None, 'result_double': None}] Qualite : 0.044959033521941444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28760380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760380_20-11-2025_23_06_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28760380 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760380_20-11-2025_23_06_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28760390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28760391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28760392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28760393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28760394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28760395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28760396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28760397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28760398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28760399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28760400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28760401, 'pht': 3726}}" where mtr_portfolio_id = 28760380 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28760380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573477, 0.044959033521941444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760380_20-11-2025_23_06_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28760390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28760391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28760392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28760393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28760394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28760395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28760396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28760397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28760398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28760399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28760400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28760401, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28760569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087550, 'mtr_portfolio_id': 28760569, 'created_at': datetime.datetime(2025, 11, 20, 23, 18, 58), 'result': '0.04198056154051863', 'result_long': None, 'result_double': None}] Qualite : 0.04198056154051863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28760569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760569_20-11-2025_23_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28760569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760569_20-11-2025_23_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28760587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28760588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28760589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28760590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28760591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28760592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28760593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28760594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28760595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28760596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28760597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28760598, 'pht': 3726}}" where mtr_portfolio_id = 28760569 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28760569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573478, 0.04198056154051863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28760569_20-11-2025_23_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28760587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28760588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28760589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28760590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28760591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28760592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28760593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28760594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28760595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28760596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28760597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28760598, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28761115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087705, 'mtr_portfolio_id': 28761115, 'created_at': datetime.datetime(2025, 11, 20, 23, 33), 'result': '0.031436901685587736', 'result_long': None, 'result_double': None}] Qualite : 0.031436901685587736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28761115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761115_20-11-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28761115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761115_20-11-2025_23_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28761130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28761131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28761132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28761133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28761134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28761135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28761136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28761137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28761138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28761139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28761140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28761141, 'pht': 3726}}" where mtr_portfolio_id = 28761115 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28761115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573479, 0.031436901685587736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761115_20-11-2025_23_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28761130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28761131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28761132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28761133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28761134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28761135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28761136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28761137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28761138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28761139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28761140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28761141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28761580 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4087864, 'mtr_portfolio_id': 28761580, 'created_at': datetime.datetime(2025, 11, 20, 23, 50, 59), 'result': '0.043633829863493415', 'result_long': None, 'result_double': None}] Qualite : 0.043633829863493415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28761580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761580_20-11-2025_23_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28761580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761580_20-11-2025_23_51_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28761623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28761624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28761625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28761626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28761627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28761628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28761629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28761630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28761631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28761632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28761633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28761634, 'pht': 3726}}" where mtr_portfolio_id = 28761580 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28761580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573480, 0.043633829863493415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28761580_20-11-2025_23_51_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28761623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28761624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28761625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28761626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28761627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28761628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28761629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28761630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28761631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28761632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28761633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28761634, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28762275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4088035, 'mtr_portfolio_id': 28762275, 'created_at': datetime.datetime(2025, 11, 21, 0, 55, 59), 'result': '0.05030218190785931', 'result_long': None, 'result_double': None}] Qualite : 0.05030218190785931 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28762275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762275_21-11-2025_00_56_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28762275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762275_21-11-2025_00_56_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28762276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28762277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28762278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28762279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28762280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28762281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28762282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28762283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28762284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28762285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28762286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28762287, 'pht': 3726}}" where mtr_portfolio_id = 28762275 and dashboard_run_id = 2628390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28762275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17573481, 0.05030218190785931, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762275_21-11-2025_00_56_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28762276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28762277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28762278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28762279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28762280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28762281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28762282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28762283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28762284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28762285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28762286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28762287, '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 (28729285,28729878,28730454,28730956,28732283,28732606,28732937,28733416,28733691,28734257,28734699,28735407,28735955,28736530,28736964,28740327,28740329,28740332,28740348,28740352,28740373,28740377,28743048,28743363,28743751,28744153,28744884,28745500,28746095,28746646,28747374,28747973,28748629,28749232,28749853,28750399,28750906,28752739,28753136,28753730,28754218,28754791,28755487,28756471,28756707,28757022,28757666,28759451,28759647,28759973,28760380,28760569,28761115,28761580,28762275) result : ((1395288892,), (1395288983,), (1395289751,), (1395289782,), (1395290131,), (1395290203,), (1395290270,), (1395290334,), (1395290691,), (1395290703,), (1395290705,), (1395290709,), (1395290712,), (1395290716,), (1395290731,), (1395290732,), (1395290760,), (1395290762,), (1395290765,), (1395290769,), (1395290772,), (1395290774,), (1395290819,), (1395290854,), (1395290898,), (1395291313,), (1395291346,), (1395291664,), (1395291671,), (1395291777,), (1395291779,), (1395291781,), (1395291784,), (1395292498,), (1395292500,), (1395292501,), (1395292777,), (1395292780,), (1395292782,), (1395292797,), (1395292799,), (1395292800,), (1395292803,), (1395292806,), (1395292825,), (1395292826,), (1395292827,), (1395292830,), (1395292851,), (1395292853,), (1395292856,), (1395292860,), (1395293706,), (1395293718,), (1395293722,), (1395293857,), (1395293891,), (1395293645,), (1395293696,), (1395293699,), (1395294062,), (1395294092,), (1395294124,), (1395294155,), (1395294572,), (1395294705,), (1395294861,), (1395295001,), (1395295144,), (1395295572,), (1395295574,), (1395295575,), (1395295601,), (1395295636,), (1395296088,), (1395296144,), (1395296177,), (1395296210,), (1395296252,), (1395296660,), (1395296674,), (1395296855,), (1395296889,), (1395296901,), (1395296904,), (1395296937,), (1395296952,), (1395296970,), (1395297005,), (1395297042,), (1395297080,), (1395297120,), (1395297485,), (1395297520,), (1395297560,), (1395297595,), (1395297961,), (1395297996,), (1395298047,), (1395298081,), (1395298622,), (1395298685,), (1395298748,), (1395298814,), (1395298881,), (1395298946,), (1395299017,), (1395299127,), (1395299135,), (1395299153,), (1395299186,), (1395300313,), (1395300346,), (1395300358,), (1395300366,), (1395300674,), (1395300709,), (1395300790,), (1395300875,), (1395300967,), (1395301065,), (1395301540,), (1395301574,), (1395301767,), (1395301798,), (1395301931,), (1395301632,), (1395301665,), (1395301699,), (1395301733,), (1395302054,), (1395302086,), (1395302117,), (1395302149,), (1395302184,), (1395302356,), (1395302359,), (1395302363,), (1395302377,), (1395302642,), (1395302701,), (1395303197,), (1395303228,), (1395303262,), (1395303296,), (1395303328,), (1395303535,), (1395303566,), (1395303599,), (1395303615,), (1395303624,), (1395303639,), (1395303683,), (1395303685,), (1395303690,), (1395303691,), (1395303692,), (1395304106,), (1395304141,), (1395304175,), (1395304216,), (1395304251,), (1395304286,), (1395304326,), (1395304358,), (1395304388,), (1395304428,), (1395304467,), (1395304601,), (1395304603,), (1395304622,), (1395304638,), (1395304659,), (1395304881,), (1395304909,), (1395304939,), (1395304970,), (1395304999,), (1395305150,), (1395305181,), (1395305213,), (1395305244,), (1395305278,), (1395305522,), (1395305523,), (1395305524,), (1395305976,), (1395306070,), (1395306183,), (1395306309,), (1395306876,), (1395306877,), (1395306879,), (1395306883,), (1395306886,), (1395306941,), (1395307170,), (1395307364,), (1395307277,), (1395307342,), (1395307356,), (1395307360,), (1395307374,), (1395307375,), (1395307376,), (1395307395,), (1395307396,), (1395307397,), (1395307725,), (1395307815,), (1395307922,), (1395308259,), (1395308286,), (1395308287,), (1395308288,), (1395308378,), (1395308412,), (1395308446,), (1395308770,), (1395308782,), (1395308811,), (1395308842,), (1395308943,), (1395308944,), (1395308945,), (1395308947,), (1395308966,), (1395308967,), (1395308983,), (1395308985,), (1395308987,), (1395308999,), (1395309002,), (1395309004,), (1395309008,), (1395309011,), (1395309014,), (1395309021,), (1395309023,), (1395309025,), (1395309026,), (1395309027,), (1395309028,), (1395309031,), (1395309045,), (1395309046,), (1395309047,), (1395309074,), (1395309078,), (1395309371,), (1395313362,), (1395313364,), (1395313365,), (1395313384,), (1395313386,), (1395313388,), (1395313391,), (1395313443,), (1395313446,), (1395313448,), (1395313450,), (1395313452,), (1395313475,), (1395313476,), (1395313478,), (1395313482,), (1395313486,), (1395313490,), (1395313497,), (1395313500,), (1395313503,), (1395313505,), (1395313607,), (1395313610,), (1395313611,), (1395313612,), (1395313631,), (1395313633,), (1395313635,), (1395313638,), (1395313642,), (1395313669,), (1395313671,), (1395313673,), (1395313675,), (1395313697,), (1395313699,), (1395313734,), (1395313739,), (1395313742,), (1395313756,), (1395313777,), (1395313779,), (1395313781,), (1395313783,), (1395313804,), (1395313805,), (1395313806,), (1395313809,), (1395313811,), (1395313828,), (1395313830,), (1395313832,), (1395313871,), (1395313901,), (1395313932,), (1395313961,), (1395313856,), (1395313857,), (1395313860,), (1395313865,), (1395313869,), (1395314100,), (1395314130,), (1395314162,), (1395314196,), (1395314230,), (1395314550,), (1395314582,), (1395314611,), (1395314641,), (1395314774,), (1395314806,), (1395314837,), (1395314865,), (1395314873,), (1395314998,), (1395314999,), (1395315000,), (1395315003,), (1395315008,), (1395315010,), (1395315020,), (1395315023,), (1395315043,), (1395315045,), (1395315047,), (1395315051,), (1395315076,), (1395315077,), (1395315078,), (1395315080,), (1395315084,), (1395315103,), (1395315104,), (1395315106,), (1395315108,), (1395315112,), (1395315132,), (1395315133,), (1395315135,), (1395315139,), (1395315142,), (1395315170,), (1395315172,), (1395315176,), (1395315180,), (1395315183,), (1395315185,), (1395315191,), (1395315195,), (1395315196,), (1395315199,), (1395315203,), (1395315218,), (1395315219,), (1395315220,), (1395315222,), (1395315224,), (1395315228,), (1395315239,), (1395315243,), (1395315248,), (1395315251,), (1395315258,), (1395315269,), (1395315271,), (1395315274,), (1395315278,), (1395315309,), (1395315310,), (1395315311,), (1395315340,), (1395315342,), (1395315300,), (1395315304,), (1395315307,), (1395315312,), (1395315314,), (1395315319,), (1395315323,), (1395315327,), (1395315330,), (1395315351,), (1395315353,), (1395315356,), (1395315377,), (1395315380,), (1395315383,), (1395315386,), (1395315389,), (1395315403,), (1395315404,), (1395315405,), (1395315407,), (1395315408,), (1395315412,), (1395315435,), (1395315436,), (1395315439,), (1395315443,), (1395315447,), (1395315450,), (1395315474,), (1395315476,), (1395315478,), (1395315479,), (1395315480,), (1395315481,), (1395315483,), (1395315487,), (1395315508,), (1395315510,), (1395315512,), (1395315533,), (1395315534,), (1395315535,), (1395315538,), (1395315567,), (1395315569,), (1395315572,), (1395315576,), (1395315587,), (1395315612,), (1395315614,), (1395315615,), (1395315618,), (1395315620,), (1395315641,), (1395315644,), (1395315646,), (1395315649,), (1395315654,), (1395315659,), (1395315669,), (1395315670,), (1395315671,), (1395315695,), (1395315697,), (1395315699,), (1395315702,), (1395315706,), (1395315710,), (1395315740,), (1395315742,), (1395315746,), (1395315752,), (1395315757,), (1395315789,), (1395315792,), (1395315859,), (1395315899,), (1395315935,), (1395315965,), (1395315993,), (1395316192,), (1395316197,), (1395315775,), (1395315777,), (1395315781,), (1395315785,), (1395315802,), (1395315806,), (1395315809,), (1395315811,), (1395315813,), (1395315815,), (1395315829,), (1395316121,), (1395316123,), (1395316155,), (1395316158,), (1395316180,), (1395316181,), (1395316184,), (1395316185,), (1395316188,), (1395316189,), (1395316269,), (1395316298,), (1395316300,), (1395316323,), (1395316326,), (1395316331,), (1395316355,), (1395316356,), (1395316357,), (1395316360,), (1395316365,), (1395316368,), (1395316388,), (1395316396,), (1395316399,), (1395316402,), (1395316422,), (1395316423,), (1395316424,), (1395316450,), (1395316457,), (1395316459,), (1395316463,), (1395316467,), (1395316482,), (1395316483,), (1395316484,), (1395316487,), (1395316516,), (1395316518,), (1395316520,), (1395316524,), (1395316528,), (1395316548,), (1395316550,), (1395316553,), (1395316557,), (1395316561,), (1395316563,), (1395316569,), (1395316571,), (1395316573,), (1395316575,), (1395316576,), (1395316579,), (1395316582,), (1395316587,), (1395316597,), (1395316644,), (1395316646,), (1395316702,), (1395316703,), (1395316704,), (1395316705,), (1395316707,), (1395316735,), (1395316738,), (1395316741,), (1395316744,), (1395316746,), (1395316749,), (1395316775,), (1395316780,), (1395316786,), (1395316796,), (1395316811,), (1395316814,), (1395316815,), (1395316772,), (1395316773,), (1395316817,), (1395316819,), (1395316854,), (1395316859,), (1395316861,), (1395316863,), (1395316880,), (1395316882,), (1395316884,), (1395316904,), (1395316905,), (1395316906,), (1395316911,), (1395316933,), (1395316934,), (1395316936,), (1395316940,), (1395316944,), (1395316952,), (1395316971,), (1395316972,), (1395316973,), (1395316976,), (1395316978,), (1395317001,), (1395317003,), (1395317005,), (1395317008,), (1395317027,), (1395317029,), (1395317033,), (1395317051,), (1395317052,), (1395317053,), (1395317079,), (1395317080,), (1395317081,), (1395317084,), (1395317100,), (1395317102,), (1395317104,), (1395317136,), (1395317137,), (1395317138,), (1395317140,), (1395317174,), (1395317175,), (1395317177,), (1395317198,), (1395317199,), (1395317201,), (1395317237,), (1395317241,), (1395317242,), (1395317252,), (1395317229,), (1395317230,), (1395317233,), (1395317258,), (1395317260,), (1395317262,), (1395317265,), (1395317286,), (1395317288,), (1395317291,), (1395317310,), (1395317311,), (1395317312,), (1395317314,), (1395317318,), (1395317320,), (1395317462,), (1395317492,), (1395317523,), (1395317554,), (1395317587,), (1395317872,), (1395317874,), (1395317891,), (1395317892,), (1395317893,), (1395317895,), (1395317908,), (1395317910,), (1395317912,), (1395317915,), (1395317919,), (1395317934,), (1395317935,), (1395317936,), (1395317939,), (1395317943,), (1395317945,), (1395318376,), (1395318442,), (1395318503,), (1395318552,), (1395318746,), (1395318750,), (1395318754,), (1395318781,), (1395318812,), (1395318820,), (1395318869,), (1395318883,), (1395318884,), (1395318887,), (1395318889,), (1395318892,), (1395318911,), (1395318950,), (1395319131,), (1395319162,), (1395319168,), (1395319185,), (1395319253,), (1395319255,), (1395319258,), (1395319271,), (1395319275,), (1395319277,), (1395319279,), (1395319307,), (1395319296,), (1395319298,), (1395319299,), (1395319303,), (1395319325,), (1395319327,), (1395319329,), (1395319535,), (1395319566,), (1395319597,), (1395319628,), (1395319659,), (1395319694,), (1395320287,), (1395320345,), (1395320998,), (1395321030,), (1395321431,), (1395321487,), (1395321522,), (1395321555,), (1395321589,), (1395321632,), (1395321883,), (1395321884,), (1395321886,), (1395321889,), (1395322163,), (1395322164,), (1395322165,), (1395322172,), (1395322185,), (1395322205,), (1395322207,), (1395322209,), (1395322245,), (1395322250,), (1395322253,), (1395322256,), (1395322259,), (1395322283,), (1395322286,), (1395322291,), (1395322296,), (1395322301,), (1395322304,), (1395322316,), (1395322318,), (1395322320,), (1395322324,), (1395322329,), (1395322363,), (1395322364,), (1395322365,), (1395322368,), (1395322373,), (1395322391,), (1395322393,), (1395322395,), (1395322399,), (1395322425,), (1395322427,), (1395322430,), (1395322433,), (1395322436,), (1395322440,), (1395322476,), (1395322559,), (1395322592,), (1395322622,), (1395322653,), (1395322684,), (1395322715,), (1395322462,), (1395322463,), (1395322465,), (1395322468,), (1395322472,), (1395322840,), (1395322876,), (1395322910,), (1395322948,), (1395322979,), (1395323213,), (1395323241,), (1395323439,), (1395323470,), (1395323500,), (1395323533,), (1395323655,), (1395323656,), (1395323657,), (1395323660,), (1395323705,), (1395324071,), (1395324101,), (1395324131,), (1395324163,), (1395324610,), (1395324640,), (1395324673,), (1395324705,), (1395324714,), (1395324716,), (1395324735,), (1395324736,), (1395324737,), (1395324749,), (1395324782,), (1395324817,), (1395324850,), (1395325079,), (1395325087,), (1395325089,), (1395325096,), (1395325101,), (1395325104,), (1395325128,), (1395325130,), (1395325132,), (1395325135,), (1395325138,), (1395325165,), (1395325166,), (1395325168,), (1395325172,), (1395325176,), (1395325179,), (1395325185,), (1395325186,), (1395325192,), (1395325195,), (1395325200,), (1395325205,), (1395325210,), (1395325235,), (1395325238,), (1395325240,), (1395325244,), (1395325247,), (1395325276,), (1395325278,), (1395325280,), (1395325284,), (1395325310,), (1395325314,), (1395325318,), (1395325321,), (1395325323,), (1395325326,), (1395325367,), (1395325372,), (1395325375,), (1395325383,), (1395325384,), (1395325385,), (1395325389,), (1395325357,), (1395325359,), (1395325363,), (1395325405,), (1395325410,), (1395325413,), (1395325507,), (1395325537,), (1395325570,), (1395325602,), (1395325839,), (1395325847,), (1395325877,), (1395325911,), (1395325947,), (1395326065,), (1395326067,), (1395326070,), (1395326073,), (1395326077,), (1395326090,), (1395326091,), (1395326093,), (1395326101,), (1395326105,), (1395326109,), (1395326117,), (1395326118,), (1395326119,), (1395326126,), (1395326130,), (1395326140,), (1395326143,), (1395326146,), (1395326185,), (1395326208,), (1395326217,), (1395326222,), (1395326227,), (1395326244,), (1395326245,), (1395326246,), (1395326263,), (1395326265,), (1395326267,), (1395326271,), (1395326282,), (1395326306,), (1395326307,), (1395326308,), (1395326314,), (1395326317,), (1395326340,), (1395326417,), (1395326418,), (1395326462,), (1395326470,), (1395326471,), (1395326450,), (1395326451,), (1395326453,), (1395326457,), (1395326460,), (1395326473,), (1395326474,), (1395326475,), (1395326547,), (1395326548,), (1395326549,), (1395326551,), (1395326555,), (1395326586,), (1395326587,), (1395326588,), (1395326590,), (1395326594,), (1395326596,), (1395326611,), (1395326613,), (1395326615,), (1395326619,), (1395326624,), (1395326628,), (1395326635,), (1395326637,), (1395326639,), (1395326642,), (1395326675,), (1395326677,), (1395326679,), (1395326682,), (1395326686,), (1395326690,), (1395326709,), (1395326711,), (1395326715,), (1395326720,), (1395326726,), (1395326745,), (1395326747,), (1395326749,), (1395326753,), (1395326756,), (1395326760,), (1395326779,), (1395326784,), (1395326785,), (1395326787,), (1395326791,), (1395326816,), (1395326818,), (1395326821,), (1395326831,), (1395326837,), (1395326841,), (1395326847,), (1395326848,), (1395326849,), (1395326855,), (1395326861,), (1395326865,), (1395326878,), (1395326879,), (1395326880,), (1395326882,), (1395326887,), (1395326926,), (1395326930,), (1395326935,), (1395326973,), (1395326978,), (1395326982,), (1395326987,), (1395326967,), (1395326970,), (1395327010,), (1395327013,), (1395327016,), (1395327020,), (1395327047,), (1395327048,), (1395327049,), (1395327052,), (1395327055,), (1395327089,), (1395327091,), (1395327093,), (1395327096,), (1395327101,), (1395327105,), (1395327123,), (1395327124,), (1395327125,), (1395327128,), (1395327154,), (1395327156,), (1395327159,), (1395327163,), (1395327167,), (1395327170,), (1395327178,), (1395327181,), (1395327191,), (1395327192,), (1395327193,), (1395327195,), (1395327199,), (1395327230,), (1395327232,), (1395327235,), (1395327282,), (1395327283,), (1395327284,), (1395327285,), (1395327310,), (1395327312,), (1395327314,), (1395327317,), (1395327320,), (1395327322,), (1395327348,), (1395327349,), (1395327350,), (1395327353,), (1395327355,), (1395327359,), (1395327378,), (1395336768,), (1395346827,), (1395346917,), (1395346940,), (1395346941,), (1395346944,), (1395346945,), (1395346969,), (1395346976,), (1395346991,), (1395346994,), (1395346996,), (1395346998,), (1395347000,), (1395347002,), (1395347025,), (1395347028,), (1395347030,), (1395347032,), (1395347035,), (1395347037,), (1395347232,), (1395347266,), (1395347321,), (1395347382,), (1395347455,), (1395347467,), (1395347492,), (1395347498,), (1395347504,), (1395347508,), (1395347512,), (1395347517,), (1395347524,), (1395347529,), (1395347533,), (1395347536,), (1395347540,), (1395347543,), (1395347555,), (1395347556,), (1395347558,), (1395347559,), (1395347561,), (1395347562,), (1395347569,), (1395347572,), (1395347583,), (1395347585,), (1395347588,), (1395347591,), (1395346189,), (1395346190,), (1395346191,), (1395346192,), (1395346193,), (1395346194,), (1395346211,), (1395346215,), (1395346219,), (1395346221,), (1395346223,), (1395346226,), (1395346238,), (1395346242,), (1395346246,), (1395346251,), (1395346256,), (1395346260,), (1395346265,), (1395346268,), (1395346270,), (1395346273,), (1395346276,), (1395346281,), (1395346297,), (1395346305,), (1395346309,), (1395346312,), (1395346314,), (1395346316,), (1395346335,), (1395346336,), (1395346340,), (1395346341,), (1395346346,), (1395346347,), (1395346351,), (1395346352,), (1395346355,), (1395346356,), (1395346359,), (1395346360,), (1395346369,), (1395346372,), (1395346375,), (1395346378,), (1395346381,), (1395346385,), (1395346391,), (1395346396,), (1395346401,), (1395346405,), (1395346410,), (1395346416,), (1395346442,), (1395346445,), (1395346449,), (1395346474,), (1395346484,), (1395346496,), (1395346548,), (1395346552,), (1395346558,), (1395346562,), (1395346568,), (1395346573,), (1395346581,), (1395346585,), (1395346588,), (1395346591,), (1395346594,), (1395346602,), (1395346631,), (1395346633,), (1395346637,), (1395346643,), (1395346648,), (1395346654,), (1395346712,), (1395346743,), (1395346761,), (1395346778,), (1395346786,), (1395346796,), (1395346812,), (1395346815,), (1395346818,), (1395346820,), (1395346823,), (1395346876,), (1395346890,), (1395346892,), (1395346905,), (1395346912,), (1395345472,), (1395345473,), (1395345474,), (1395345475,), (1395345476,), (1395345478,), (1395345507,), (1395345508,), (1395345509,), (1395345510,), (1395345513,), (1395345516,), (1395345536,), (1395345542,), (1395345545,), (1395345548,), (1395345550,), (1395345552,), (1395345566,), (1395345571,), (1395345575,), (1395345578,), (1395345582,), (1395345587,), (1395345605,), (1395345609,), (1395345613,), (1395345618,), (1395345621,), (1395345623,), (1395345631,), (1395345634,), (1395345637,), (1395345641,), (1395345645,), (1395345681,), (1395345713,), (1395345724,), (1395345733,), (1395345739,), (1395345743,), (1395345747,), (1395345758,), (1395345760,), (1395345762,), (1395345765,), (1395345776,), (1395345790,), (1395345945,), (1395345959,), (1395345969,), (1395345980,), (1395345991,), (1395346004,), (1395346043,), (1395346044,), (1395346045,), (1395346046,), (1395346047,), (1395346049,), (1395346064,), (1395346069,), (1395346072,), (1395346077,), (1395346079,), (1395346080,), (1395346125,), (1395346129,), (1395346135,), (1395346142,), (1395346149,), (1395346152,), (1395346153,), (1395346154,), (1395346156,), (1395346157,), (1395346159,), (1395346160,), (1395346162,), (1395346163,), (1395346165,), (1395346166,), (1395346168,), (1395346169,), (1395342157,), (1395342161,), (1395342165,), (1395342311,), (1395342313,), (1395342356,), (1395342364,), (1395342392,), (1395342399,), (1395342433,), (1395342439,), (1395342484,), (1395342485,), (1395342525,), (1395342527,), (1395342713,), (1395342746,), (1395342782,), (1395342823,), (1395342858,), (1395342893,), (1395343025,), (1395343060,), (1395343093,), (1395343126,), (1395343163,), (1395343200,), (1395343329,), (1395343365,), (1395343387,), (1395343390,), (1395343393,), (1395343396,), (1395343409,), (1395343416,), (1395343453,), (1395343490,), (1395343522,), (1395343557,), (1395343812,), (1395343813,), (1395343875,), (1395343878,), (1395343943,), (1395343947,), (1395344010,), (1395344019,), (1395344071,), (1395344077,), (1395344108,), (1395344115,), (1395344312,), (1395344376,), (1395344443,), (1395344488,), (1395344527,), (1395344857,), (1395344872,), (1395344877,), (1395345103,), (1395345111,), (1395345176,), (1395345182,), (1395345186,), (1395345192,), (1395345196,), (1395345200,), (1395345201,), (1395345205,), (1395345210,), (1395345214,), (1395345218,), (1395345228,), (1395345230,), (1395345234,), (1395345241,), (1395345247,), (1395345252,), (1395345262,), (1395345263,), (1395345264,), (1395345267,), (1395345268,), (1395345271,), (1395345287,), (1395345290,), (1395345293,), (1395345296,), (1395345299,), (1395345311,), (1395345421,), (1395345430,), (1395345438,), (1395345452,), (1395345455,), (1395345458,), (1395341259,), (1395341265,), (1395341270,), (1395341274,), (1395341279,), (1395341316,), (1395341319,), (1395341322,), (1395341325,), (1395341328,), (1395341329,), (1395341362,), (1395341363,), (1395341367,), (1395341369,), (1395341372,), (1395341373,), (1395341378,), (1395341380,), (1395341383,), (1395341385,), (1395341387,), (1395341389,), (1395341401,), (1395341404,), (1395341408,), (1395341412,), (1395341417,), (1395341422,), (1395341429,), (1395341431,), (1395341435,), (1395341439,), (1395341443,), (1395341462,), (1395341475,), (1395341500,), (1395341541,), (1395341579,), (1395341591,), (1395341641,), (1395341644,), (1395341647,), (1395341675,), (1395341690,), (1395341692,), (1395341705,), (1395341725,), (1395341734,), (1395341742,), (1395341745,), (1395341749,), (1395341758,), (1395341763,), (1395341766,), (1395341769,), (1395341772,), (1395341774,), (1395341821,), (1395341854,), (1395341885,), (1395341903,), (1395341911,), (1395341921,), (1395341991,), (1395342023,), (1395342038,), (1395342050,), (1395342055,), (1395342065,), (1395342078,), (1395342083,), (1395342088,), (1395342090,), (1395342094,), (1395342098,), (1395342121,), (1395342124,), (1395342128,), (1395342132,), (1395342136,), (1395342139,), (1395342146,), (1395342148,), (1395342153,), (1395340736,), (1395340742,), (1395340744,), (1395340749,), (1395340790,), (1395340793,), (1395340797,), (1395340800,), (1395340803,), (1395340818,), (1395340822,), (1395340825,), (1395340838,), (1395340839,), (1395340844,), (1395340852,), (1395340855,), (1395340859,), (1395340864,), (1395340868,), (1395340873,), (1395340896,), (1395340898,), (1395340900,), (1395340903,), (1395340910,), (1395340944,), (1395340975,), (1395340979,), (1395340983,), (1395340985,), (1395340989,), (1395341002,), (1395341013,), (1395341017,), (1395341021,), (1395341025,), (1395341028,), (1395341038,), (1395341052,), (1395341055,), (1395341059,), (1395341063,), (1395341069,), (1395341072,), (1395341092,), (1395341093,), (1395341094,), (1395341096,), (1395341097,), (1395341098,), (1395341102,), (1395341103,), (1395341107,), (1395341108,), (1395341112,), (1395341114,), (1395341126,), (1395341128,), (1395341130,), (1395341133,), (1395341150,), (1395341153,), (1395341162,), (1395341192,), (1395341229,), (1395341244,), (1395341247,), (1395341250,), (1395341257,), (1395340322,), (1395340323,), (1395340327,), (1395340329,), (1395340334,), (1395340335,), (1395340340,), (1395340341,), (1395340358,), (1395340365,), (1395340372,), (1395340379,), (1395340386,), (1395340387,), (1395340388,), (1395340389,), (1395340392,), (1395340399,), (1395340428,), (1395340432,), (1395340436,), (1395340438,), (1395340440,), (1395340443,), (1395340457,), (1395340460,), (1395340464,), (1395340466,), (1395340468,), (1395340470,), (1395340481,), (1395340485,), (1395340488,), (1395340492,), (1395340495,), (1395340496,), (1395340506,), (1395340511,), (1395340514,), (1395340519,), (1395340524,), (1395340528,), (1395340533,), (1395340537,), (1395340540,), (1395340543,), (1395340547,), (1395340551,), (1395340563,), (1395340566,), (1395340571,), (1395340574,), (1395340578,), (1395340580,), (1395340589,), (1395340590,), (1395340592,), (1395340593,), (1395340595,), (1395340597,), (1395340601,), (1395340602,), (1395340608,), (1395340611,), (1395340620,), (1395340626,), (1395340637,), (1395340639,), (1395340641,), (1395340643,), (1395340645,), (1395340649,), (1395340659,), (1395340664,), (1395340666,), (1395340669,), (1395340671,), (1395340674,), (1395340687,), (1395340689,), (1395340692,), (1395340696,), (1395340698,), (1395340701,), (1395340716,), (1395340719,), (1395361438,), (1395361512,), (1395361515,), (1395361519,), (1395361524,), (1395361561,), (1395361565,), (1395361569,), (1395361573,), (1395361578,), (1395361608,), (1395363125,), (1395364916,), (1395364842,), (1395365106,), (1395365188,), (1395365223,), (1395365259,), (1395365271,), (1395365293,), (1395365642,), (1395365698,), (1395365733,), (1395366002,), (1395366006,), (1395366202,), (1395366205,), (1395366207,), (1395366209,), (1395366595,), (1395366676,), (1395367253,), (1395366663,), (1395366667,), (1395366670,), (1395366673,), (1395366843,), (1395366890,), (1395366922,), (1395366961,), (1395366991,), (1395366997,), (1395367143,), (1395367149,), (1395367154,), (1395367159,), (1395367171,), (1395367217,), (1395367226,), (1395367230,), (1395367233,), (1395367238,), (1395367243,), (1395367246,), (1395367250,), (1395367251,), (1395367252,), (1395367273,), (1395367275,), (1395367276,), (1395367277,), (1395367279,), (1395367503,), (1395367506,), (1395367510,), (1395367514,), (1395367549,), (1395367587,), (1395367632,), (1395367634,), (1395367821,), (1395367826,), (1395367839,), (1395367856,), (1395367868,), (1395367881,), (1395367924,), (1395367928,), (1395367932,), (1395367934,), (1395367937,), (1395367941,), (1395368116,), (1395368133,), (1395368134,), (1395368135,), (1395368295,), (1395368300,), (1395368304,), (1395368309,), (1395368313,), (1395368335,), (1395368435,), (1395368455,), (1395368459,), (1395368462,), (1395368478,), (1395369132,), (1395369173,), (1395369213,), (1395369256,), (1395369294,), (1395369327,), (1395369592,), (1395369664,), (1395369738,), (1395369804,), (1395369864,), (1395369994,), (1395370027,), (1395370062,), (1395370103,), (1395370156,), (1395370161,), (1395370164,), (1395370194,), (1395370229,), (1395370640,), (1395370679,), (1395370712,), (1395370745,), (1395370807,), (1395371061,), (1395371046,), (1395371050,), (1395371053,), (1395371438,), (1395371465,), (1395371492,), (1395371502,), (1395371525,), (1395371528,), (1395371796,), (1395371800,), (1395371804,), (1395371821,), (1395371954,), (1395371981,), (1395371984,), (1395371996,), (1395371999,), (1395372002,), (1395372090,), (1395372125,), (1395372149,), (1395372160,), (1395372222,), (1395372224,), (1395372226,), (1395372228,), (1395372232,), (1395372252,), (1395372467,), (1395372470,), (1395372485,), (1395372511,), (1395372515,), (1395372516,), (1395372579,), (1395372583,), (1395372617,), (1395372664,), (1395372782,), (1395372792,), (1395372809,), (1395372820,), (1395372823,), (1395372854,), (1395372857,), (1395372863,), (1395372867,), (1395373017,), (1395373050,), (1395373086,), (1395373122,), (1395373158,), (1395373195,), (1395373227,), (1395373229,), (1395373230,), (1395373231,), (1395373491,), (1395373493,), (1395373495,), (1395373498,), (1395373504,), (1395373527,), (1395373732,), (1395373735,), (1395373739,), (1395373744,), (1395373908,), (1395373938,), (1395373954,), (1395373965,), (1395373968,), (1395373989,), (1395374017,), (1395374019,), (1395374022,), (1395374025,), (1395374029,), (1395374090,), (1395374070,), (1395374075,), (1395374079,), (1395374085,), (1395374113,), (1395374116,), (1395374130,), (1395374134,), (1395374138,), (1395374141,), (1395374332,), (1395374376,), (1395374396,), (1395374403,), (1395374410,), (1395374595,), (1395374598,), (1395374600,), (1395374602,), (1395374604,), (1395374662,), (1395374668,), (1395374670,), (1395374673,), (1395374677,), (1395374681,), (1395374776,), (1395374810,), (1395374826,), (1395374852,), (1395374856,), (1395374881,), (1395374887,), (1395374892,), (1395374910,), (1395374917,), (1395375092,), (1395375103,), (1395375132,), (1395375167,), (1395375306,), (1395375309,), (1395375312,), (1395375316,), (1395375322,), (1395375327,), (1395375361,), (1395375366,), (1395375368,), (1395375370,), (1395375418,), (1395375440,), (1395375476,), (1395375483,), (1395375689,), (1395375697,), (1395375711,), (1395375723,), (1395375729,), (1395375732,), (1395375756,), (1395375761,), (1395375766,), (1395375785,), (1395375821,), (1395375831,), (1395375833,), (1395375842,), (1395375850,), (1395375852,), (1395375855,), (1395375870,), (1395375872,), (1395375874,), (1395375876,), (1395376080,), (1395375919,), (1395375934,), (1395375972,), (1395376004,), (1395376040,), (1395376427,), (1395376462,), (1395376499,), (1395376532,), (1395376837,), (1395376870,), (1395376904,), (1395376936,), (1395376956,), (1395377119,), (1395377120,), (1395377121,), (1395377123,), (1395377185,), (1395377364,), (1395377370,), (1395377384,), (1395377388,), (1395377397,), (1395377682,), (1395377686,), (1395377687,), (1395377715,), (1395377743,), (1395377745,), (1395377847,), (1395377848,), (1395377849,), (1395377854,), (1395377996,), (1395378002,), (1395378007,), (1395378016,), (1395378468,), (1395378501,), (1395378518,), (1395378519,), (1395378546,), (1395378585,), (1395378771,), (1395378776,), (1395378780,), (1395378784,), (1395378788,), (1395378831,), (1395378833,), (1395378836,), (1395378840,), (1395378845,), (1395378850,), (1395379052,), (1395379104,), (1395379147,), (1395379191,), (1395379422,), (1395379427,), (1395379432,), (1395379456,), (1395379524,), (1395379800,), (1395379806,), (1395379810,), (1395379840,), (1395379931,), (1395379932,), (1395379935,), (1395379936,), (1395379938,), (1395379939,), (1395379949,), (1395379953,), (1395379988,), (1395379990,), (1395380046,), (1395380303,), (1395380034,), (1395380036,), (1395380038,), (1395380041,), (1395380068,), (1395380072,), (1395380076,), (1395380081,), (1395380084,), (1395380091,), (1395380226,), (1395380259,), (1395380292,), (1395380353,), (1395380384,), (1395380390,), (1395380407,), (1395380436,), (1395380612,), (1395380627,), (1395380648,), (1395380651,), (1395380655,), (1395380660,), (1395380747,), (1395380753,), (1395380788,), (1395380821,), (1395380861,), (1395381056,), (1395381067,), (1395381080,), (1395381084,), (1395381087,), (1395381091,), (1395381118,), (1395381120,), (1395381122,), (1395381126,), (1395381176,), (1395381188,), (1395381222,), (1395381257,), (1395381293,), (1395381464,), (1395381465,), (1395381466,), (1395381469,), (1395381472,), (1395381474,), (1395381486,), (1395381488,), (1395381490,), (1395381491,), (1395381498,), (1395381500,), (1395381503,), (1395381507,), (1395381530,), (1395381532,), (1395381534,), (1395381536,), (1395381541,), (1395381545,), (1395381587,), (1395381592,), (1395381596,), (1395381599,), (1395381602,), (1395381642,), (1395381653,), (1395381656,), (1395381659,), (1395381733,), (1395381743,), (1395381746,), (1395381751,), (1395381755,), (1395381757,), (1395381788,), (1395381791,), (1395381794,), (1395381800,), (1395381805,), (1395382203,), (1395382010,), (1395382057,), (1395382090,), (1395382129,), (1395382165,), (1395382395,), (1395382399,), (1395382434,), (1395382467,), (1395382511,), (1395382921,), (1395382955,), (1395382989,), (1395382992,), (1395382996,), (1395383189,), (1395383191,), (1395383193,), (1395383196,), (1395383225,), (1395383230,), (1395383232,), (1395383235,), (1395383238,), (1395383243,), (1395383457,), (1395383462,), (1395383493,), (1395383502,), (1395383511,), (1395383575,), (1395383577,), (1395383579,), (1395383582,), (1395383586,), (1395383719,), (1395383741,), (1395383744,), (1395383768,), (1395383778,), (1395383779,), (1395383788,), (1395383791,), (1395383794,), (1395383808,), (1395383810,), (1395383811,), (1395383821,), (1395383852,), (1395383856,), (1395383860,), (1395385234,), (1395385141,), (1395385204,), (1395385355,), (1395385426,), (1395385430,), (1395385433,), (1395385466,), (1395385470,), (1395385472,), (1395385481,), (1395385491,), (1395385502,), (1395385589,), (1395385592,), (1395385595,), (1395385598,), (1395385718,), (1395385720,), (1395385722,), (1395385724,), (1395385728,), (1395385754,), (1395385758,), (1395385762,), (1395385766,), (1395385775,), (1395385784,), (1395385880,), (1395385938,), (1395385950,), (1395385969,), (1395386053,), (1395386058,), (1395386062,), (1395386067,), (1395386072,), (1395386076,), (1395386162,), (1395386179,), (1395386182,), (1395386215,), (1395386222,), (1395386224,), (1395386263,), (1395386267,), (1395386272,), (1395386304,), (1395386332,), (1395386346,), (1395386348,), (1395386371,), (1395386376,), (1395386379,), (1395386400,), (1395386401,), (1395386419,), (1395386454,), (1395386727,), (1395386647,), (1395386653,), (1395386656,), (1395386659,), (1395386684,), (1395387159,), (1395387194,), (1395387196,), (1395387381,), (1395387383,), (1395387385,), (1395387567,), (1395387750,), (1395387755,), (1395387758,), (1395387761,), (1395387765,), (1395387877,), (1395387981,), (1395388020,), (1395388056,), (1395388088,), (1395388124,), (1395388163,), (1395388165,), (1395388176,), (1395388196,), (1395388200,), (1395388204,), (1395388207,), (1395388210,), (1395388214,), (1395388234,), (1395388237,), (1395388246,), (1395388256,), (1395388260,), (1395388264,), (1395388302,), (1395388303,), (1395388304,), (1395388305,), (1395388309,), (1395388342,), (1395388351,), (1395388363,), (1395388367,), (1395388425,), (1395388439,), (1395388444,), (1395388446,), (1395388449,), (1395388451,), (1395388616,), (1395388621,), (1395388626,), (1395388640,), (1395388644,), (1395388646,), (1395388647,), (1395388651,), (1395388674,), (1395388667,), (1395388670,), (1395388672,), (1395388718,), (1395388721,), (1395388724,), (1395388728,), (1395388732,), (1395388737,), (1395388805,), (1395388807,), (1395388838,), (1395388849,), (1395388860,), (1395388867,), (1395388893,), (1395388900,), (1395388923,), (1395388925,), (1395388946,), (1395388948,), (1395388950,), (1395388953,), (1395388956,), (1395388957,), (1395388982,), (1395388986,), (1395388993,), (1395388998,), (1395389034,), (1395389037,), (1395389039,), (1395389043,), (1395389047,), (1395389080,), (1395389082,), (1395389083,), (1395389089,), (1395389110,), (1395389152,), (1395389154,), (1395389157,), (1395389161,), (1395389165,), (1395389205,), (1395389207,), (1395389209,), (1395389211,), (1395389215,), (1395389244,), (1395389248,), (1395389251,), (1395389255,), (1395389259,), (1395389314,), (1395389316,), (1395389317,), (1395389319,), (1395389324,), (1395389329,), (1395389364,), (1395389369,), (1395389382,), (1395389394,), (1395389426,), (1395389428,), (1395389434,), (1395389437,), (1395389446,), (1395389448,), (1395389460,), (1395389464,), (1395389466,), (1395389471,), (1395389474,), (1395389518,), (1395389520,), (1395389551,), (1395389586,), (1395389630,), (1395389633,), (1395389636,), (1395389641,), (1395389674,), (1395389679,), (1395389693,), (1395389697,), (1395389702,), (1395389706,), (1395389716,), (1395389718,), (1395389725,), (1395389728,), (1395389732,), (1395389736,), (1395389740,), (1395389742,), (1395389826,), (1395389829,), (1395389832,), (1395389835,), (1395389838,), (1395389870,), (1395389872,), (1395389873,), (1395389874,), (1395389876,), (1395389915,), (1395389919,), (1395389925,), (1395389929,), (1395389933,), (1395389938,), (1395389972,), (1395389974,), (1395389994,), (1395390029,), (1395390033,), (1395390037,), (1395390042,), (1395390045,), (1395390049,), (1395390079,), (1395390081,), (1395390086,), (1395390090,), (1395390183,), (1395390236,), (1395390240,), (1395390243,), (1395390247,), (1395390257,), (1395390263,), (1395390279,), (1395390283,), (1395390292,), (1395390296,), (1395390359,), (1395390365,), (1395390369,), (1395390373,), (1395390394,), (1395390525,), (1395390495,), (1395390503,), (1395390509,), (1395390520,), (1395390541,), (1395390545,), (1395390550,), (1395390553,), (1395390558,), (1395390563,), (1395390586,), (1395390609,), (1395390614,), (1395390617,), (1395390620,), (1395390621,), (1395390630,), (1395390633,), (1395390637,), (1395390641,), (1395390647,), (1395390650,), (1395390653,), (1395390710,), (1395390723,), (1395390725,), (1395390729,), (1395390732,), (1395390999,), (1395391013,), (1395391015,), (1395391034,), (1395391036,), (1395391038,), (1395391047,), (1395391048,), (1395391055,), (1395391059,), (1395391062,), (1395391064,), (1395391086,), (1395391090,), (1395391092,), (1395391094,), (1395391098,), (1395391100,), (1395391151,), (1395391153,), (1395391155,), (1395391158,), (1395391161,), (1395391205,), (1395391240,), (1395391270,), (1395391305,), (1395391337,), (1395391341,), (1395391358,), (1395391367,), (1395391370,), (1395391375,), (1395391456,), (1395391466,), (1395391495,), (1395391500,), (1395391510,), (1395391511,), (1395391531,), (1395391534,), (1395391537,), (1395391558,), (1395391567,), (1395391572,), (1395391596,), (1395391602,), (1395391604,), (1395391665,), (1395391754,), (1395391793,), (1395391834,), (1395391873,), (1395391986,), (1395391944,), (1395391975,), (1395391977,), (1395391979,), (1395391982,), (1395392249,), (1395392251,), (1395392253,), (1395392330,), (1395392334,), (1395392336,), (1395392340,), (1395392344,), (1395392347,), (1395392532,), (1395392573,), (1395392610,), (1395392650,), (1395392881,), (1395392882,), (1395392883,), (1395392885,), (1395392889,), (1395392943,), (1395392947,), (1395392950,), (1395392953,), (1395392956,), (1395393263,), (1395393265,), (1395393267,), (1395393269,), (1395393272,), (1395393275,), (1395393314,), (1395393315,), (1395393318,), (1395393322,), (1395393326,), (1395393328,), (1395393363,), (1395393366,), (1395393370,), (1395393373,), (1395393374,), (1395393376,), (1395393386,), (1395393388,), (1395393391,), (1395393394,), (1395393398,), (1395393408,), (1395393419,), (1395393420,), (1395393424,), (1395393428,), (1395393432,), (1395393437,), (1395393442,), (1395393446,), (1395393450,), (1395393455,), (1395393460,), (1395393464,), (1395393468,), (1395393604,), (1395393606,), (1395393608,), (1395393610,), (1395393613,), (1395393616,), (1395393627,), (1395393631,), (1395393632,), (1395393634,), (1395393636,), (1395393641,), (1395393863,), (1395393896,), (1395393934,), (1395393969,), (1395394286,), (1395394490,), (1395394284,), (1395394285,), (1395394326,), (1395394328,), (1395394332,), (1395394339,), (1395394347,), (1395394350,), (1395394404,), (1395394414,), (1395394417,), (1395394420,), (1395394423,), (1395394428,), (1395394448,), (1395394451,), (1395394453,), (1395394456,), (1395394459,), (1395394462,), (1395394474,), (1395394476,), (1395394478,), (1395394480,), (1395394483,), (1395394486,), (1395394506,), (1395394544,), (1395394583,), (1395394860,), (1395394863,), (1395394866,), (1395394899,), (1395394900,), (1395394903,), (1395394905,), (1395394942,), (1395394945,), (1395394947,), (1395394973,), (1395395374,), (1395396321,), (1395401385,), (1395401387,), (1395401425,), (1395401428,), (1395401437,), (1395401711,), (1395401742,), (1395401767,), (1395401773,), (1395401781,), (1395401814,), (1395401899,), (1395401902,), (1395401930,), (1395401934,), (1395401959,), (1395401961,), (1395401963,), (1395401966,), (1395401970,), (1395401974,), (1395401991,), (1395401994,), (1395401998,), (1395402003,), (1395402025,), (1395402026,), (1395402027,), (1395402029,), (1395402033,), (1395402038,), (1395402059,), (1395402060,), (1395402080,), (1395402083,), (1395402093,), (1395402099,), (1395402114,), (1395402136,), (1395402138,), (1395402140,), (1395402144,), (1395402145,), (1395402147,), (1395402149,), (1395402151,), (1395402152,), (1395402184,), (1395402185,), (1395402186,), (1395402188,), (1395402229,), (1395402231,), (1395402233,), (1395402235,), (1395402240,), (1395402244,), (1395402261,), (1395402263,), (1395402265,), (1395402268,), (1395402317,), (1395402323,), (1395402324,), (1395402325,), (1395402349,), (1395402352,), (1395402355,), (1395402394,), (1395402429,), (1395402423,), (1395402424,), (1395402426,), (1395402455,), (1395402457,), (1395402462,), (1395402465,), (1395402472,), (1395402500,), (1395402503,), (1395402506,), (1395402509,), (1395402531,), (1395402532,), (1395402533,), (1395402535,), (1395402539,), (1395402543,), (1395402555,), (1395402567,), (1395402572,), (1395402575,), (1395402600,), (1395402603,), (1395402605,), (1395402608,), (1395402610,), (1395402614,), (1395402710,), (1395402748,), (1395402781,), (1395402812,), (1395403532,), (1395403565,), (1395403601,), (1395403632,), (1395403666,), (1395403701,), (1395404013,), (1395404046,), (1395404090,), (1395404132,), (1395404426,), (1395404446,), (1395404462,), (1395404502,), (1395404540,), (1395404651,), (1395404653,), (1395404655,), (1395404657,), (1395404662,), (1395404907,), (1395404950,), (1395404963,), (1395404984,), (1395405552,), (1395406083,), (1395406250,), (1395406298,), (1395406330,), (1395406363,), (1395406512,), (1395406514,), (1395406526,), (1395406560,), (1395406596,), (1395406875,), (1395406869,), (1395406871,), (1395406873,), (1395407091,), (1395407107,), (1395407141,), (1395407180,), (1395407217,), (1395407469,), (1395407506,), (1395407538,), (1395407575,), (1395407751,), (1395407752,), (1395407753,), (1395407756,), (1395407758,), (1395407784,), (1395407787,), (1395407790,), (1395407793,), (1395407797,), (1395407819,), (1395407821,), (1395408238,), (1395408408,), (1395408521,), (1395408540,), (1395408630,), (1395408633,), (1395408635,), (1395408659,), (1395408660,), (1395408661,), (1395408663,), (1395408685,), (1395408688,), (1395408691,), (1395408694,), (1395408699,), (1395408720,), (1395408726,), (1395408727,), (1395408731,), (1395408784,), (1395408786,), (1395408788,), (1395408792,), (1395408796,), (1395408800,), (1395408835,), (1395408840,), (1395408846,), (1395408853,), (1395408858,), (1395408863,), (1395408876,), (1395408877,), (1395408880,), (1395408883,), (1395408907,), (1395408900,), (1395408903,), (1395408905,), (1395408993,), (1395408994,), (1395408995,), (1395408997,), (1395409000,), (1395409004,), (1395409025,), (1395409026,), (1395409029,), (1395409033,), (1395409037,), (1395409038,), (1395409076,), (1395409078,), (1395409081,), (1395409084,), (1395409088,), (1395409225,), (1395409259,), (1395409299,), (1395409316,), (1395409320,), (1395409323,), (1395409392,), (1395409396,), (1395409427,), (1395409455,), (1395409461,), (1395409477,), (1395409517,), (1395409520,), (1395409528,), (1395409531,), (1395409534,), (1395409538,), (1395409541,), (1395409574,), (1395409576,), (1395409581,), (1395409584,), (1395409617,), (1395409620,), (1395409623,), (1395409627,), (1395409853,), (1395409891,), (1395409926,), (1395409936,), (1395409940,), (1395409979,), (1395410084,), (1395410086,), (1395410088,), (1395410092,), (1395410142,), (1395410144,), (1395410146,), (1395410150,), (1395410179,), (1395410220,), (1395410526,), (1395410529,), (1395410530,), (1395410534,), (1395410538,), (1395410572,), (1395410574,), (1395410577,), (1395410584,), (1395410587,), (1395410590,), (1395410613,), (1395410615,), (1395410617,), (1395410619,), (1395410899,), (1395410901,), (1395410910,), (1395410943,), (1395410975,), (1395410979,), (1395411171,), (1395411141,), (1395411153,), (1395411159,), (1395411687,), (1395411727,), (1395411746,), (1395411772,), (1395411790,), (1395411799,), (1395411938,), (1395411941,), (1395411944,), (1395411969,), (1395412100,), (1395412102,), (1395412103,), (1395412109,), (1395412119,), (1395412120,), (1395412144,), (1395412145,), (1395412147,), (1395412149,), (1395412440,), (1395412582,), (1395412617,), (1395412651,), (1395412688,), (1395412722,), (1395412796,), (1395412798,), (1395412799,), (1395412800,), (1395412919,), (1395412941,), (1395412944,), (1395412969,), (1395412979,), (1395412994,), (1395413085,), (1395413087,), (1395413089,), (1395413091,), (1395413129,), (1395413133,), (1395413137,), (1395413149,), (1395413152,), (1395413156,), (1395413259,), (1395413260,), (1395413281,), (1395413302,), (1395413353,), (1395413356,), (1395413359,), (1395413363,), (1395413367,), (1395413370,), (1395413390,), (1395413391,), (1395413392,), (1395413394,), (1395413455,), (1395413457,), (1395413459,), (1395413462,), (1395413466,), (1395413484,), (1395413498,), (1395413500,), (1395413503,), (1395413506,), (1395413508,), (1395413542,), (1395413532,), (1395413534,), (1395413538,), (1395413659,), (1395413661,), (1395413674,), (1395413699,), (1395413709,), (1395413769,), (1395413771,), (1395413773,), (1395413775,), (1395413778,), (1395413809,), (1395413811,), (1395413813,), (1395413815,), (1395413818,), (1395413840,), (1395413869,), (1395413900,), (1395413936,), (1395413970,), (1395413973,), (1395414103,), (1395414105,), (1395414108,), (1395414111,), (1395414115,), (1395414135,), (1395414137,), (1395414143,), (1395414144,), (1395414147,), (1395414266,), (1395414273,), (1395414289,), (1395414294,), (1395414381,), (1395414383,), (1395414385,), (1395414387,), (1395414391,), (1395414395,), (1395414415,), (1395414418,), (1395414421,), (1395414425,), (1395414448,), (1395414450,), (1395414451,), (1395414452,), (1395414455,), (1395414458,), (1395414499,), (1395414501,), (1395414503,), (1395414506,), (1395414529,), (1395416530,), (1395416180,), (1395416693,), (1395416695,), (1395416697,), (1395416699,), (1395416701,), (1395416723,), (1395416724,), (1395416752,), (1395416760,), (1395417079,), (1395417081,), (1395417104,), (1395417139,), (1395417176,), (1395417212,), (1395417625,), (1395417630,), (1395417635,), (1395417641,), (1395417654,), (1395417655,), (1395417656,), (1395417657,), (1395417658,), (1395417659,), (1395417662,), (1395417663,), (1395417666,), (1395417668,), (1395417688,), (1395417681,), (1395417683,), (1395417684,), (1395417685,), (1395417779,), (1395417781,), (1395417809,), (1395417828,), (1395417843,), (1395417854,), (1395417904,), (1395417906,), (1395417908,), (1395417911,), (1395417912,), (1395417914,), (1395417935,), (1395417939,), (1395417943,), (1395417946,), (1395417953,), (1395417954,), (1395417956,), (1395417959,), (1395417961,), (1395417963,), (1395417980,), (1395417981,), (1395417983,), (1395418181,), (1395418216,), (1395418226,), (1395418229,), (1395418234,), (1395418442,), (1395419071,), (1395419074,), (1395419077,), (1395419080,), (1395419103,), (1395419106,), (1395419108,), (1395419110,), (1395419133,), (1395419134,), (1395419135,), (1395419138,), (1395419143,), (1395419308,), (1395419332,), (1395419366,), (1395419375,), (1395419381,), (1395419410,), (1395419506,), (1395419507,), (1395419508,), (1395419511,), (1395419514,), (1395419517,), (1395419529,), (1395419531,), (1395419533,), (1395419537,), (1395419539,), (1395419542,), (1395419546,), (1395419549,), (1395419552,), (1395419565,), (1395419568,), (1395419572,), (1395419574,), (1395419612,), (1395419604,), (1395419607,), (1395419609,), (1395419902,), (1395419939,), (1395419994,), (1395420486,), (1395420521,), (1395420534,), (1395420538,), (1395420542,), (1395420546,), (1395420562,), (1395420563,), (1395420564,), (1395420567,), (1395420572,), (1395420602,), (1395420604,), (1395420606,), (1395420622,), (1395420660,), (1395420687,), (1395420904,), (1395420939,), (1395420964,), (1395420967,), (1395421133,), (1395421151,), (1395421184,), (1395421209,), (1395421214,), (1395421217,), (1395421231,), (1395421232,), (1395421235,), (1395421240,), (1395421244,), (1395421248,), (1395421265,), (1395421266,), (1395421267,), (1395421268,), (1395421276,), (1395421281,), (1395421284,), (1395421288,), (1395421291,), (1395421294,), (1395421306,), (1395421308,), (1395421310,), (1395421322,), (1395421328,), (1395421345,), (1395421347,), (1395421349,), (1395421352,), (1395421402,), (1395421410,), (1395421412,), (1395421435,), (1395421437,), (1395421480,), (1395421481,), (1395421511,), (1395421514,), (1395421516,), (1395421519,), (1395421523,), (1395421527,), (1395421557,), (1395421546,), (1395421548,), (1395421549,), (1395421551,), (1395421554,), (1395421578,), (1395421608,), (1395421641,), (1395421677,), (1395421716,), (1395421921,), (1395421923,), (1395421924,), (1395421927,), (1395421931,), (1395421935,), (1395421995,), (1395421997,), (1395421999,), (1395422003,), (1395422046,), (1395422048,), (1395422050,), (1395422053,), (1395422056,), (1395422059,), (1395422083,), (1395422084,), (1395422085,), (1395422087,), (1395422094,), (1395422098,), (1395422121,), (1395422123,), (1395422125,), (1395422129,), (1395422158,), (1395422159,), (1395422161,), (1395422164,), (1395422168,), (1395422170,), (1395422187,), (1395422188,), (1395422189,), (1395422192,), (1395422214,), (1395422216,), (1395422218,), (1395422221,), (1395422226,), (1395422231,), (1395422246,), (1395422248,), (1395422252,), (1395422258,), (1395422263,), (1395422300,), (1395422302,), (1395422326,), (1395423602,), (1395430062,), (1395430096,), (1395430116,), (1395430141,), (1395430160,), (1395430207,), (1395430213,), (1395430216,), (1395430219,), (1395430397,), (1395430426,), (1395430428,), (1395430429,), (1395430431,), (1395430436,), (1395430464,), (1395430465,), (1395430466,), (1395430468,), (1395430486,), (1395430487,), (1395430490,), (1395430493,), (1395430519,), (1395430509,), (1395430510,), (1395430511,), (1395430512,), (1395430531,), (1395430533,), (1395430535,), (1395430539,), (1395430542,), (1395430544,), (1395430779,), (1395430781,), (1395430783,), (1395430787,), (1395430796,), (1395430831,), (1395430934,), (1395430936,), (1395430946,), (1395430979,), (1395430987,), (1395431018,), (1395431050,), (1395431071,), (1395431073,), (1395431097,), (1395431098,), (1395431099,), (1395431102,), (1395431107,), (1395431124,), (1395431127,), (1395431133,), (1395431137,), (1395431246,), (1395431247,), (1395431248,), (1395431251,), (1395431256,), (1395431258,), (1395431274,), (1395431276,), (1395431278,), (1395431282,), (1395431302,), (1395431303,), (1395431304,), (1395431309,), (1395431318,), (1395431342,), (1395431344,), (1395431347,), (1395431350,), (1395431354,), (1395431357,), (1395431372,), (1395431373,), (1395431374,), (1395431376,), (1395431397,), (1395431399,), (1395431401,), (1395431404,), (1395431408,), (1395431410,), (1395431426,), (1395431427,), (1395431428,), (1395431431,), (1395431452,), (1395431454,), (1395431456,), (1395431459,), (1395431470,), (1395431555,), (1395431558,), (1395431560,), (1395431563,), (1395431567,), (1395431569,), (1395431596,), (1395431591,), (1395431593,), (1395431619,), (1395431620,), (1395431621,), (1395431623,), (1395431626,), (1395431642,), (1395431644,), (1395431647,), (1395431649,), (1395431654,), (1395431676,), (1395431678,), (1395431679,), (1395431681,), (1395431701,), (1395431703,), (1395431705,), (1395431708,), (1395431711,), (1395431727,), (1395431729,), (1395431731,), (1395431734,), (1395431907,), (1395431939,), (1395431974,), (1395432010,), (1395432042,), (1395432297,), (1395432298,), (1395432300,), (1395432304,), (1395432308,), (1395432311,), (1395432323,), (1395432324,), (1395432325,), (1395432379,), (1395432381,), (1395432383,), (1395432387,), (1395432391,), (1395432408,), (1395432410,), (1395432413,), (1395432418,), (1395432423,), (1395432452,), (1395432454,), (1395432456,), (1395432459,), (1395432476,), (1395432477,), (1395432478,), (1395432480,), (1395432483,), (1395432488,), (1395432506,), (1395432508,), (1395432509,), (1395432512,), (1395432522,), (1395432541,), (1395432542,), (1395432543,), (1395432544,), (1395432592,), (1395432571,), (1395432572,), (1395432573,), (1395432576,), (1395432587,), (1395432848,), (1395432880,), (1395432911,), (1395432947,), (1395432981,), (1395433318,), (1395433319,), (1395433320,), (1395433346,), (1395433348,), (1395433350,), (1395433354,), (1395433359,), (1395433377,), (1395433378,), (1395433379,), (1395433382,), (1395433386,), (1395433389,), (1395433424,), (1395433493,), (1395433496,), (1395433500,), (1395433504,), (1395433524,), (1395433525,), (1395433526,), (1395433528,), (1395433531,), (1395433535,), (1395433548,), (1395433550,), (1395433552,), (1395433573,), (1395433574,), (1395433575,), (1395433578,), (1395433583,), (1395433587,), (1395433600,), (1395433601,), (1395433603,), (1395433606,), (1395433611,), (1395433648,), (1395433649,), (1395433650,), (1395433691,), (1395433699,), (1395433706,), (1395433718,), (1395433744,), (1395433746,), (1395433747,), (1395433752,), (1395433777,), (1395433841,), (1395434456,), (1395433764,), (1395433766,), (1395433769,), (1395433773,), (1395433790,), (1395433792,), (1395433796,), (1395433800,), (1395433803,), (1395433805,), (1395433822,), (1395433824,), (1395433912,), (1395433943,), (1395433976,), (1395434006,), (1395434036,), (1395434066,), (1395434194,), (1395434195,), (1395434228,), (1395434229,), (1395434261,), (1395434264,), (1395434296,), (1395434301,), (1395434330,), (1395434335,), (1395434364,), (1395434367,), (1395434410,), (1395434412,), (1395434414,), (1395434417,), (1395434421,), (1395434628,), (1395434668,), (1395434700,), (1395434705,), (1395434887,), (1395434898,), (1395434899,), (1395434901,), (1395434905,), (1395434939,), (1395434941,), (1395434944,), (1395434948,), (1395434953,), (1395434955,), (1395434963,), (1395434964,), (1395434971,), (1395434979,), (1395434980,), (1395434983,), (1395434987,), (1395435012,), (1395435100,), (1395435101,), (1395435107,), (1395435112,), (1395435119,), (1395435278,), (1395435280,), (1395435282,), (1395435286,), (1395435290,), (1395435320,), (1395435321,), (1395435348,), (1395435447,), (1395435449,), (1395435451,), (1395435485,), (1395435491,), (1395435503,), (1395435505,), (1395435507,), (1395435536,), (1395435538,), (1395435540,), (1395435545,), (1395435549,), (1395435551,), (1395435578,), (1395435562,), (1395435563,), (1395435565,), (1395435572,), (1395435575,), (1395435593,), (1395436047,), (1395436048,), (1395436049,), (1395436051,), (1395436055,), (1395436429,), (1395436431,), (1395436433,), (1395436435,), (1395436459,), (1395436460,), (1395436461,), (1395436464,), (1395436468,), (1395436504,), (1395436505,), (1395436506,), (1395436509,), (1395436529,), (1395436530,), (1395436531,), (1395436534,), (1395436538,), (1395436541,), (1395436555,), (1395436556,), (1395436559,), (1395436564,), (1395436586,), (1395436608,), (1395436631,), (1395436634,), (1395436636,), (1395436639,), (1395436647,), (1395436652,), (1395436659,), (1395436677,), (1395436679,), (1395436682,), (1395436708,), (1395436702,), (1395436704,), (1395436706,), (1395436751,), (1395436753,), (1395436754,), (1395436758,), (1395436956,), (1395436958,), (1395436960,), (1395436989,), (1395436991,), (1395436993,), (1395436996,), (1395437011,), (1395437014,), (1395437016,), (1395437018,), (1395437052,), (1395437053,), (1395437054,), (1395437056,), (1395437059,), (1395437134,), (1395437146,), (1395437149,), (1395437153,), (1395437164,), (1395437165,), (1395437168,), (1395437188,), (1395437190,), (1395437192,), (1395437195,), (1395437214,), (1395437216,), (1395437218,), (1395437255,), (1395437256,), (1395437257,), (1395437274,), (1395437276,), (1395437279,), (1395437284,), (1395437304,), (1395437306,), (1395437311,), (1395437827,), (1395437686,), (1395437825,), (1395437826,), (1395437870,), (1395437873,), (1395437875,), (1395438009,), (1395438011,), (1395438015,), (1395438035,), (1395438168,), (1395438170,), (1395438172,), (1395438185,), (1395438186,), (1395438187,), (1395438189,), (1395438224,), (1395438225,), (1395438226,), (1395438229,), (1395438231,), (1395438248,), (1395438252,), (1395438255,), (1395438260,), (1395438264,), (1395438286,), (1395438288,), (1395438291,), (1395438293,), (1395438311,), (1395438312,), (1395438313,), (1395438315,), (1395438317,), (1395438337,), (1395438338,), (1395438340,), (1395438343,), (1395438347,), (1395438365,), (1395438369,), (1395438371,), (1395438404,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20112025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28756471]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] map_info['map_portfolio_photo'] : {28756471: [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180]} final : True mtd_id 4302 list_pids : [1395417688, 1395417668, 1395417666, 1395417663, 1395417662, 1395417659, 1395417658, 1395417657, 1395417656, 1395417655, 1395417654, 1395417641, 1395417635, 1395417630, 1395417625, 1395417212, 1395417176, 1395417139, 1395417104, 1395417081, 1395417079, 1395416760, 1395416752, 1395416724, 1395416723, 1395416701, 1395416699, 1395416697, 1395416695, 1395416693, 1395416180] Looping around the photos to save general results len do output : 1 /28756471Didn'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, '4089223') ('4302', '28756471', '1395417688', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417668', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417666', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417663', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417662', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417659', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417658', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417657', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417656', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417655', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417654', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417641', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417635', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417630', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417625', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417212', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417176', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417139', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417104', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417081', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395417079', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416760', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416752', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416724', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416723', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416701', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416699', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416697', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416695', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416693', None, None, None, None, None, '4089223') ('4302', None, None, None, None, None, None, None, '4089223') ('4302', '28756471', '1395416180', None, None, None, None, None, '4089223') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28756471', 'None', None, None, None, None, '4089223'), ('4302', '28756471', '1395417688', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417668', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417666', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417663', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417662', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417659', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417658', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417657', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417656', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417655', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417654', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417641', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417635', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417630', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417625', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417212', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417176', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417139', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417104', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417081', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395417079', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416760', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416752', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416724', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416723', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416701', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416699', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416697', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416695', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416693', None, None, None, None, None, '4089223'), ('4302', '28756471', '1395416180', None, None, None, None, None, '4089223')] time used for this insertion : 0.020751237869262695 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.969177484512329 time spend to save output : 0.021074771881103516 total time spend for step 5 : 6.990252256393433 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 (4089223) 2.78user 2.51system 0:17.75elapsed 29%CPU (0avgtext+0avgdata 163164maxresident)k 80inputs+23304outputs (2major+77347minor)pagefaults 0swaps