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 : 2704617 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 (2598427) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2598427) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646322 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2598427'] with mtr_portfolio_ids : ['20646322'] and first list_photo_ids : [] new path : /proc/2704617/ Name: python3 Umask: 0002 State: R (running) Tgid: 2704617 Ngid: 0 Pid: 2704617 PPid: 2704616 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2704617 NSpid: 2704617 NSpgid: 2702335 NSsid: 2702335 VmPeak: 1106824 kB VmSize: 1106824 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99000 kB VmRSS: 99000 kB RssAnon: 59744 kB RssFile: 39256 kB RssShmem: 0 kB VmData: 865576 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 4/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2704617', 'Ngid': '0', 'Pid': '2704617', 'PPid': '2704616', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2704617', 'NSpid': '2704617', 'NSpgid': '2702335', 'NSsid': '2702335', 'VmPeak': '1106824 kB', 'VmSize': '1106824 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99000 kB', 'VmRSS': '99000 kB', 'RssAnon': '59744 kB', 'RssFile': '39256 kB', 'RssShmem': '0 kB', 'VmData': '865576 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '4/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '2704617', '1106824', '0', '1106824', '865576', '99000', b'', 'marlene', '2598427') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (20646322) 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 (2598427 ) ) 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 (20646322) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1338370687, 'portfolio_id': 20646322}, {'photo_id': 1338368097, 'portfolio_id': 20646322}, {'photo_id': 1338368074, 'portfolio_id': 20646322}, {'photo_id': 1338368072, 'portfolio_id': 20646322}, {'photo_id': 1338368070, 'portfolio_id': 20646322}, {'photo_id': 1338368069, 'portfolio_id': 20646322}, {'photo_id': 1338368050, 'portfolio_id': 20646322}, {'photo_id': 1338368048, 'portfolio_id': 20646322}, {'photo_id': 1338368044, 'portfolio_id': 20646322}, {'photo_id': 1338368042, 'portfolio_id': 20646322}, {'photo_id': 1338368020, 'portfolio_id': 20646322}, {'photo_id': 1338368000, 'portfolio_id': 20646322}, {'photo_id': 1338367997, 'portfolio_id': 20646322}, {'photo_id': 1338367996, 'portfolio_id': 20646322}, {'photo_id': 1338367973, 'portfolio_id': 20646322}, {'photo_id': 1338367971, 'portfolio_id': 20646322}, {'photo_id': 1338367969, 'portfolio_id': 20646322}, {'photo_id': 1338367935, 'portfolio_id': 20646322}, {'photo_id': 1338367933, 'portfolio_id': 20646322}, {'photo_id': 1338367924, 'portfolio_id': 20646322}, {'photo_id': 1338367923, 'portfolio_id': 20646322}, {'photo_id': 1338367913, 'portfolio_id': 20646322}, {'photo_id': 1338367868, 'portfolio_id': 20646322}, {'photo_id': 1338367855, 'portfolio_id': 20646322}, {'photo_id': 1338367854, 'portfolio_id': 20646322}, {'photo_id': 1338367815, 'portfolio_id': 20646322}, {'photo_id': 1338367798, 'portfolio_id': 20646322}, {'photo_id': 1338367791, 'portfolio_id': 20646322}, {'photo_id': 1338367589, 'portfolio_id': 20646322}, {'photo_id': 1338367504, 'portfolio_id': 20646322}, {'photo_id': 1338367409, 'portfolio_id': 20646322}, {'photo_id': 1338367309, 'portfolio_id': 20646322}, {'photo_id': 1338366641, 'portfolio_id': 20646322}, {'photo_id': 1338366640, 'portfolio_id': 20646322}] map_portfolio_id_photo_id: {20646322: [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640]} ##### 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.02426934242248535 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Feb 19 06:03:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20646322) 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 : 20646322 get user id for portfolio 20646322 get sub ptf for main ptf 20646322, type 3726 and hashtags ['autre_refus', 'kraft', 'metal', 'Teint_Dans_La_Masse', 'environnement', 'Carton_gris', 'mal_croppe', 'papier', 'cartonnette', 'flou', 'plastique', '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`=20646322 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','Teint_Dans_La_Masse','environnement','Carton_gris','mal_croppe','papier','cartonnette','flou','plastique','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`=20646322 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','Teint_Dans_La_Masse','environnement','Carton_gris','mal_croppe','papier','cartonnette','flou','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20646322, 'sub_port_id': 20646325, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299575, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'flou': {'main_port_id': 20646322, 'sub_port_id': 20646326, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299576, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'environnement': {'main_port_id': 20646322, 'sub_port_id': 20646327, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299577, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'papier': {'main_port_id': 20646322, 'sub_port_id': 20646328, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299578, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20646322, 'sub_port_id': 20646329, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299579, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'Carton_gris': {'main_port_id': 20646322, 'sub_port_id': 20646330, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299580, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'plastique': {'main_port_id': 20646322, 'sub_port_id': 20646331, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299581, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'autre_refus': {'main_port_id': 20646322, 'sub_port_id': 20646332, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299582, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'Carton_brun': {'main_port_id': 20646322, 'sub_port_id': 20646333, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299583, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'metal': {'main_port_id': 20646322, 'sub_port_id': 20646334, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299584, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'cartonnette': {'main_port_id': 20646322, 'sub_port_id': 20646335, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299585, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}, 'kraft': {'main_port_id': 20646322, 'sub_port_id': 20646336, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299586, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646325 , 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=20646322 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 (20646325) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646326 , 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=20646322 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 (20646326) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646327 , 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=20646322 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 (20646327) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646328 , 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=20646322 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 (20646328) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646329 , 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=20646322 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 (20646329) result : ((1338367864,), (1338367865,), (1338367866,), (1338367867,), (1338367938,), (1338367939,), (1338367945,), (1338368035,), (1338368046,), (1338368057,), (1338368058,), (1338368059,), (1338368060,), (1338368091,), (1338368743,), (1338368744,), (1338368745,), (1338368755,), (1338368756,), (1338371393,), (1338371394,), (1338371395,), (1338371411,), (1338371412,), (1338371929,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646330 , 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=20646322 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 (20646330) result : ((1338368092,), (1338368093,), (1338371397,), (1338371398,), (1338371930,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646331 , 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=20646322 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 (20646331) result : ((1338367861,), (1338367943,), (1338368062,), (1338368063,), (1338368095,), (1338371400,), (1338371938,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646332 , 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=20646322 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 (20646332) result : ((1338368746,), (1338368757,), (1338368758,), (1338371413,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646333 , 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=20646322 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 (20646333) result : ((1338367946,), (1338368061,), (1338368753,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646334 , 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=20646322 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 (20646334) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646335 , 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=20646322 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 (20646335) result : ((1338367856,), (1338367857,), (1338367858,), (1338367859,), (1338367860,), (1338367942,), (1338368747,), (1338371932,), (1338371933,), (1338371934,), (1338371935,), (1338371936,), (1338371937,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20646336 , 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=20646322 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 (20646336) result : ((1338367862,), (1338371939,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20646322) result : ((1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,)) 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 (1338368000) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20646322 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','Teint_Dans_La_Masse','environnement','Carton_gris','mal_croppe','papier','cartonnette','flou','plastique','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`=20646322 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','kraft','metal','Teint_Dans_La_Masse','environnement','Carton_gris','mal_croppe','papier','cartonnette','flou','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20646322, 'sub_port_id': 20646337, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299587, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'flou': {'main_port_id': 20646322, 'sub_port_id': 20646338, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299588, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'environnement': {'main_port_id': 20646322, 'sub_port_id': 20646339, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299589, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'papier': {'main_port_id': 20646322, 'sub_port_id': 20646340, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299590, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20646322, 'sub_port_id': 20646341, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299591, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'Carton_gris': {'main_port_id': 20646322, 'sub_port_id': 20646342, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299592, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'plastique': {'main_port_id': 20646322, 'sub_port_id': 20646343, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299593, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'autre_refus': {'main_port_id': 20646322, 'sub_port_id': 20646344, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299594, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'Carton_brun': {'main_port_id': 20646322, 'sub_port_id': 20646345, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299595, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'metal': {'main_port_id': 20646322, 'sub_port_id': 20646346, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299596, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'cartonnette': {'main_port_id': 20646322, 'sub_port_id': 20646347, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299597, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}, 'kraft': {'main_port_id': 20646322, 'sub_port_id': 20646348, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13299598, 'last_updated_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 18, 18, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 18, 18, 6, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646337,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646325 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646338,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646326 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646339,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646327 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646340,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646328 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646341,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646329 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646342,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646330 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646343,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646331 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646344,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646332 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646345,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646333 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646346,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646334 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646347,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646335 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20646348,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20646336 lien utilise dans velours : https://www.fotonower.com/velours/20646337,20646338,20646339,20646340,20646341,20646342,20646343,20646344,20646345,20646346,20646347,20646348?tags=mal_croppe,flou,environnement,papier,Teint_Dans_La_Masse,Carton_gris,plastique,autre_refus,Carton_brun,metal,cartonnette,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20646322]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] map_info['map_portfolio_photo'] : {20646322: [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640]} final : False mtd_id 4302 list_pids : [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] Looping around the photos to save general results len do output : 1 /20646322. 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, '2598427') ('4302', '20646322', '1338370687', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368097', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368074', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368072', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368070', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368069', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368050', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368048', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368044', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368042', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368020', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368000', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367997', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367996', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367973', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367971', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367969', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367935', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367933', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367924', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367923', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367913', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367868', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367855', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367854', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367815', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367798', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367791', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367589', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367504', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367409', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367309', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366641', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366640', None, None, None, None, None, '2598427') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '20646322', "{'mal_croppe': 20646325, 'flou': 20646326, 'environnement': 20646327, 'papier': 20646328, 'Teint_Dans_La_Masse': 20646329, 'Carton_gris': 20646330, 'plastique': 20646331, 'autre_refus': 20646332, 'Carton_brun': 20646333, 'metal': 20646334, 'cartonnette': 20646335, 'kraft': 20646336}", None, None, None, None, '2598427'), ('4302', '20646322', '1338370687', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368097', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368074', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368072', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368070', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368069', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368050', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368048', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368044', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368042', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368020', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368000', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367997', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367996', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367973', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367971', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367969', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367935', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367933', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367924', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367923', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367913', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367868', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367855', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367854', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367815', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367798', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367791', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367589', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367504', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367409', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367309', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338366641', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338366640', None, None, None, None, None, '2598427')] time used for this insertion : 0.019541025161743164 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0248446464538574 time spend to save output : 0.01998305320739746 total time spend for step 1 : 1.0448276996612549 step2:final Wed Feb 19 06:03: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 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 (20646322) 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 20646322 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1338366641,1338366640,1338367589,1338367504,1338367409,1338367309,1338367815,1338367798,1338367791,1338367868,1338367855,1338367854,1338367935,1338367933,1338367924,1338367923,1338367913,1338367973,1338367971,1338367969,1338368000,1338367997,1338367996,1338368050,1338368020,1338368048,1338368044,1338368042,1338368074,1338368072,1338368070,1338368069,1338368097,1338370687); 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([20646322]) Inside saveOutput : final : False verbose : True original output for save of step final : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} new output for save of step final : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] map_info['map_portfolio_photo'] : {20646322: [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640]} final : False mtd_id 4302 list_pids : [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] Looping around the photos to save general results len do output : 34 /1338370687.Didn't retrieve data . /1338368097.Didn't retrieve data . /1338368074.Didn't retrieve data . /1338368072.Didn't retrieve data . /1338368070.Didn't retrieve data . /1338368069.Didn't retrieve data . /1338368050.Didn't retrieve data . /1338368048.Didn't retrieve data . /1338368044.Didn't retrieve data . /1338368042.Didn't retrieve data . /1338368020.Didn't retrieve data . /1338368000.Didn't retrieve data . /1338367997.Didn't retrieve data . /1338367996.Didn't retrieve data . /1338367973.Didn't retrieve data . /1338367971.Didn't retrieve data . /1338367969.Didn't retrieve data . /1338367935.Didn't retrieve data . /1338367933.Didn't retrieve data . /1338367924.Didn't retrieve data . /1338367923.Didn't retrieve data . /1338367913.Didn't retrieve data . /1338367868.Didn't retrieve data . /1338367855.Didn't retrieve data . /1338367854.Didn't retrieve data . /1338367815.Didn't retrieve data . /1338367798.Didn't retrieve data . /1338367791.Didn't retrieve data . /1338367589.Didn't retrieve data . /1338367504.Didn't retrieve data . /1338367409.Didn't retrieve data . /1338367309.Didn't retrieve data . /1338366641.Didn't retrieve data . /1338366640.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, '2598427') ('4302', '20646322', '1338370687', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368097', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368074', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368072', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368070', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368069', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368050', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368048', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368044', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368042', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368020', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368000', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367997', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367996', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367973', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367971', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367969', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367935', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367933', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367924', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367923', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367913', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367868', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367855', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367854', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367815', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367798', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367791', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367589', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367504', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367409', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367309', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366641', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366640', None, None, None, None, None, '2598427') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 102 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', '20646322', '1338370687', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368097', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368074', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368072', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368070', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368069', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368050', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368048', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368044', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368042', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368020', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338368000', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367997', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367996', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367973', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367971', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367969', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367935', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367933', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367924', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367923', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367913', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367868', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367855', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367854', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367815', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367798', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367791', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367589', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367504', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367409', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338367309', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338366641', '0.03685428434379973', None, None, None, None, '2598427'), ('4302', '20646322', '1338366640', '0.03685428434379973', None, None, None, None, '2598427')] time used for this insertion : 0.17782115936279297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06902742385864258 time spend to save output : 0.17919087409973145 total time spend for step 2 : 0.24821829795837402 step3:velours_tree Wed Feb 19 06:03: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 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 : {20646322: [{'mal_croppe': 20646325, 'flou': 20646326, 'environnement': 20646327, 'papier': 20646328, 'Teint_Dans_La_Masse': 20646329, 'Carton_gris': 20646330, 'plastique': 20646331, 'autre_refus': 20646332, 'Carton_brun': 20646333, 'metal': 20646334, 'cartonnette': 20646335, 'kraft': 20646336}]} input_args_next_step : {20646322: ()} output_args : {20646322: [{'mal_croppe': 20646325, 'flou': 20646326, 'environnement': 20646327, 'papier': 20646328, 'Teint_Dans_La_Masse': 20646329, 'Carton_gris': 20646330, 'plastique': 20646331, 'autre_refus': 20646332, 'Carton_brun': 20646333, 'metal': 20646334, 'cartonnette': 20646335, 'kraft': 20646336}]} args : 20646322 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 : ({'mal_croppe': 20646325, 'flou': 20646326, 'environnement': 20646327, 'papier': 20646328, 'Teint_Dans_La_Masse': 20646329, 'Carton_gris': 20646330, 'plastique': 20646331, 'autre_refus': 20646332, 'Carton_brun': 20646333, 'metal': 20646334, 'cartonnette': 20646335, 'kraft': 20646336},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20646322) 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([20646322]) 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.3188188076019287 time spend to save output : 5.3882598876953125e-05 total time spend for step 3 : 0.31887269020080566 step4:send_mail_cod Wed Feb 19 06:03: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 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 : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} input_args_next_step : {1338370687: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338370687 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368097 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368074 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368072 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368070 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368069 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368050 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368048 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368044 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368042 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368020 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338368000 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367997 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367996 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367973 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367971 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367969 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367935 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367933 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367924 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367923 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367913 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367868 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367855 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367854 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367815 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367798 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367791 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367589 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367504 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367409 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338367309 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338366641 depend.output_id : 0 input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ()} output_args : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',)} args : 1338366640 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 : {20646322: [{'mal_croppe': 20646325, 'flou': 20646326, 'environnement': 20646327, 'papier': 20646328, 'Teint_Dans_La_Masse': 20646329, 'Carton_gris': 20646330, 'plastique': 20646331, 'autre_refus': 20646332, 'Carton_brun': 20646333, 'metal': 20646334, 'cartonnette': 20646335, 'kraft': 20646336}]} input_args_next_step : {1338370687: ('0.03685428434379973',), 1338368097: ('0.03685428434379973',), 1338368074: ('0.03685428434379973',), 1338368072: ('0.03685428434379973',), 1338368070: ('0.03685428434379973',), 1338368069: ('0.03685428434379973',), 1338368050: ('0.03685428434379973',), 1338368048: ('0.03685428434379973',), 1338368044: ('0.03685428434379973',), 1338368042: ('0.03685428434379973',), 1338368020: ('0.03685428434379973',), 1338368000: ('0.03685428434379973',), 1338367997: ('0.03685428434379973',), 1338367996: ('0.03685428434379973',), 1338367973: ('0.03685428434379973',), 1338367971: ('0.03685428434379973',), 1338367969: ('0.03685428434379973',), 1338367935: ('0.03685428434379973',), 1338367933: ('0.03685428434379973',), 1338367924: ('0.03685428434379973',), 1338367923: ('0.03685428434379973',), 1338367913: ('0.03685428434379973',), 1338367868: ('0.03685428434379973',), 1338367855: ('0.03685428434379973',), 1338367854: ('0.03685428434379973',), 1338367815: ('0.03685428434379973',), 1338367798: ('0.03685428434379973',), 1338367791: ('0.03685428434379973',), 1338367589: ('0.03685428434379973',), 1338367504: ('0.03685428434379973',), 1338367409: ('0.03685428434379973',), 1338367309: ('0.03685428434379973',), 1338366641: ('0.03685428434379973',), 1338366640: ('0.03685428434379973',), 20646322: ()} output_args : {20646322: [{'mal_croppe': 20646325, 'flou': 20646326, 'environnement': 20646327, 'papier': 20646328, 'Teint_Dans_La_Masse': 20646329, 'Carton_gris': 20646330, 'plastique': 20646331, 'autre_refus': 20646332, 'Carton_brun': 20646333, 'metal': 20646334, 'cartonnette': 20646335, 'kraft': 20646336}]} args : 20646322 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 :35, first value : ('0.03685428434379973',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20646322) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1338370687,1338368097,1338368074,1338368072,1338368070,1338368069,1338368050,1338368048,1338368044,1338368042,1338368020,1338368000,1338367997,1338367996,1338367973,1338367971,1338367969,1338367935,1338367933,1338367924,1338367923,1338367913,1338367868,1338367855,1338367854,1338367815,1338367798,1338367791,1338367589,1338367504,1338367409,1338367309,1338366641,1338366640) Found this number of photos: 34 ##### Call download_photos : nb_thread : 5 begin to download photo : 1338366640 begin to download photo : 1338367798 begin to download photo : 1338367924 begin to download photo : 1338367997 begin to download photo : 1338368069 download finish for photo 1338367997 begin to download photo : 1338368000 download finish for photo 1338367798 begin to download photo : 1338367815 download finish for photo 1338366640 begin to download photo : 1338366641 download finish for photo 1338368069 begin to download photo : 1338368070 download finish for photo 1338367924 begin to download photo : 1338367933 download finish for photo 1338366641 begin to download photo : 1338367309 download finish for photo 1338368000 begin to download photo : 1338368020 download finish for photo 1338367933 begin to download photo : 1338367935 download finish for photo 1338368070 begin to download photo : 1338368072 download finish for photo 1338367815 begin to download photo : 1338367854 download finish for photo 1338368020 begin to download photo : 1338368042 download finish for photo 1338367935 begin to download photo : 1338367969 download finish for photo 1338367309 begin to download photo : 1338367409 download finish for photo 1338367854 begin to download photo : 1338367855 download finish for photo 1338368072 begin to download photo : 1338368074 download finish for photo 1338367409 begin to download photo : 1338367504 download finish for photo 1338368042 begin to download photo : 1338368044 download finish for photo 1338367969 begin to download photo : 1338367971 download finish for photo 1338368074 begin to download photo : 1338368097 download finish for photo 1338367855 begin to download photo : 1338367868 download finish for photo 1338367504 begin to download photo : 1338367589 download finish for photo 1338367971 begin to download photo : 1338367973 download finish for photo 1338368044 begin to download photo : 1338368048 download finish for photo 1338367868 begin to download photo : 1338367913 download finish for photo 1338368097 begin to download photo : 1338370687 download finish for photo 1338367589 begin to download photo : 1338367791 download finish for photo 1338367973 begin to download photo : 1338367996 download finish for photo 1338368048 begin to download photo : 1338368050 download finish for photo 1338370687 download finish for photo 1338367913 begin to download photo : 1338367923 download finish for photo 1338367791 download finish for photo 1338368050 download finish for photo 1338367996 download finish for photo 1338367923 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette206463251739941440/ imagette206463261739941440/ length of list_filenames : 34 ; length of list_pids : 34 ; length of list_args : 34 results_Auto_P20646322_19-02-2025_06_04_00.pdf 20646325 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646325 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206463251739941440 20646326 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646326 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206463261739941440 20646331 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646331 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338367861: '1739898312_295275_1338367504_28513bd8c4cdf4f4cb38fbbc5c616258_rle_crop_3679180014_0.png', 1338367943: '1739898413_297042_1338367798_44f6f4ca766823431acf7d0d1919ad58_rle_crop_3679180409_0.png', 1338368062: '1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181055_0.png', 1338368063: '1739898542_298746_1338367913_71e477648cdc1cfb1cf5964e310ca1a0_rle_crop_3679181092_0.png', 1338368095: '1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182427_0.png', 1338371400: '1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182427_0.png', 1338371938: '1739900853_328158_1338367504_28513bd8c4cdf4f4cb38fbbc5c616258_rle_crop_3679180014_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/0539ea456f6af91f3584257acf882272_27958651.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/ca37b9cdb9ed509d3008bb483fbc926d_8476692.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/8f20b504c69c76f7a6cbdf8794634772_35220767.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/00a1039126136ac039d59b6c89837d5c_61032569.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/700f5ccb7d96ffb93b493cfeb2b91659_57416411.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/700f5ccb7d96ffb93b493cfeb2b91659_56043088.png change filename to text .imagette206463311739941440/ imagette206463311739941440/1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181055_0.png.png imagette206463311739941440/1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182427_0.png.png imagette206463311739941440/1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182427_0.png.png imagette206463311739941440/1739898312_295275_1338367504_28513bd8c4cdf4f4cb38fbbc5c616258_rle_crop_3679180014_0.png.png imagette206463311739941440/1739898413_297042_1338367798_44f6f4ca766823431acf7d0d1919ad58_rle_crop_3679180409_0.png.png imagette206463311739941440/1739898542_298746_1338367913_71e477648cdc1cfb1cf5964e310ca1a0_rle_crop_3679181092_0.png.png imagette206463311739941440/1739900853_328158_1338367504_28513bd8c4cdf4f4cb38fbbc5c616258_rle_crop_3679180014_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/0539ea456f6af91f3584257acf882272_73924412.png imagette206463311739941440 20646332 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646332 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338368746: '1739898793_306611_1338368042_e9d5334f715c07b8d1c21cb6aade5c66_rle_crop_3679182959_0.png', 1338368757: '1739898814_306912_1338368070_6e709d1bb4c3fb3b2845af09eb6b6553_rle_crop_3679183007_0.png', 1338368758: '1739898814_306912_1338368069_e8b285d67eef1f74d7e27284545319ed_rle_crop_3679183022_0.png', 1338371413: '1739900751_326579_1338368000_5507bafeddd86ca14156e50216f5ed1c_rle_crop_3679196872_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/2051e260aa159f6a64424856271116a6_29786634.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/76f8a6d25a83fb2cf24c527fc02a02bd_41704905.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/c05b0cdfea41bc5614120f264fdc8112_40380154.png change filename to text .imagette206463321739941440/ imagette206463321739941440/1739900751_326579_1338368000_5507bafeddd86ca14156e50216f5ed1c_rle_crop_3679196872_0.png.png imagette206463321739941440/1739898793_306611_1338368042_e9d5334f715c07b8d1c21cb6aade5c66_rle_crop_3679182959_0.png.png imagette206463321739941440/1739898814_306912_1338368069_e8b285d67eef1f74d7e27284545319ed_rle_crop_3679183022_0.png.png imagette206463321739941440/1739898814_306912_1338368070_6e709d1bb4c3fb3b2845af09eb6b6553_rle_crop_3679183007_0.png.png imagette206463341739941441/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/e0eb7c85956a2b71ea31febec4135e39_24699368.png imagette206463321739941440 20646334 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646334 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206463341739941441 20646335 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646335 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338367856: '1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180041_0.png', 1338367857: '1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180043_0.png', 1338367858: '1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180039_0.png', 1338367859: '1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180042_0.png', 1338367860: '1739898312_295275_1338367309_5253e9d73d6c904ce5d8a343440b85b2_rle_crop_3679180072_0.png', 1338367942: '1739898413_297042_1338367798_44f6f4ca766823431acf7d0d1919ad58_rle_crop_3679180405_0.png', 1338368747: '1739898793_306611_1338368048_b246c36fcc4bfa383d9513d14a329c63_rle_crop_3679182922_0.png', 1338371932: '1739900853_328158_1338367815_99fb1dfa27ea96aaac631038af116ded_rle_crop_3679198291_0.png', 1338371933: '1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180041_0.png', 1338371934: '1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180043_0.png', 1338371935: '1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180039_0.png', 1338371936: '1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180042_0.png', 1338371937: '1739900853_328158_1338367309_5253e9d73d6c904ce5d8a343440b85b2_rle_crop_3679180072_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/5f8a03740b05240d22b7891cfde19f19_58527810.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/eac7896f3c8933d1912e7562ee8d9e3c_21359149.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/2077bb3083ffe0eae07fbb0e866d3982_19013833.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/3de7bc32eb20d074e202ab145fc9a6f1_70060554.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/1b8b8761acbdb984e23c3add1a36b741_43056800.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/30defdb855c973d8d9a859d8e35b217c_94898922.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/85fedda208577e4267b0c2021dd119c7_45649231.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/b6848ee586ab1fa0797645cf930cd907_74934093.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/5f8a03740b05240d22b7891cfde19f19_26761156.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/eac7896f3c8933d1912e7562ee8d9e3c_83906543.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/2077bb3083ffe0eae07fbb0e866d3982_20233494.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/3de7bc32eb20d074e202ab145fc9a6f1_80897228.png change filename to text .imagette206463351739941441/ imagette206463351739941441/1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180041_0.png.png imagette206463351739941441/1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180043_0.png.png imagette206463351739941441/1739898312_295275_1338367309_5253e9d73d6c904ce5d8a343440b85b2_rle_crop_3679180072_0.png.png imagette206463351739941441/1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180042_0.png.png imagette206463351739941441/1739900853_328158_1338367309_5253e9d73d6c904ce5d8a343440b85b2_rle_crop_3679180072_0.png.png imagette206463351739941441/1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180039_0.png.png imagette206463351739941441/1739898793_306611_1338368048_b246c36fcc4bfa383d9513d14a329c63_rle_crop_3679182922_0.png.png imagette206463351739941441/1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180042_0.png.png imagette206463351739941441/1739898413_297042_1338367798_44f6f4ca766823431acf7d0d1919ad58_rle_crop_3679180405_0.png.png imagette206463351739941441/1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180041_0.png.png imagette206463351739941441/1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180043_0.png.png imagette206463351739941441/1739900853_328158_1338367815_99fb1dfa27ea96aaac631038af116ded_rle_crop_3679198291_0.png.png imagette206463351739941441/1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180039_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/1b8b8761acbdb984e23c3add1a36b741_14621685.png imagette206463351739941441 20646336 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646336 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338367862: '1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180035_0.png', 1338371939: '1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180035_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/b0eb376af5be2c5ff70b1a68ae10f9cb_84155332.png change filename to text .imagette206463361739941442/ imagette206463361739941442/1739898312_295275_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180035_0.png.png imagette206463361739941442/1739900853_328158_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740_rle_crop_3679180035_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/b0eb376af5be2c5ff70b1a68ae10f9cb_5750878.png imagette206463361739941442 20646329 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646329 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338368060: '1739898542_298746_1338367924_7a57cce70e28723a275746e155a4fc8e_rle_crop_3679181066_0.png', 1338371929: '1739900853_328158_1338367815_99fb1dfa27ea96aaac631038af116ded_rle_crop_3679198295_0.png', 1338371412: '1739900751_326579_1338367969_06d7641def666ac2ab220b5f204ff129_rle_crop_3679181010_0.png', 1338371411: '1739900751_326579_1338368000_5507bafeddd86ca14156e50216f5ed1c_rle_crop_3679196873_0.png', 1338371395: '1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182424_0.png', 1338371394: '1739900732_326198_1338368050_fa1200d718644d333d0e0291bec81c86_rle_crop_3679196258_0.png', 1338371393: '1739900732_326198_1338368050_fa1200d718644d333d0e0291bec81c86_rle_crop_3679196261_0.png', 1338368756: '1739898814_306912_1338368070_6e709d1bb4c3fb3b2845af09eb6b6553_rle_crop_3679183004_0.png', 1338368755: '1739898814_306912_1338368097_284be0969a50c52305d4fdcbd4f4aa84_rle_crop_3679182981_0.png', 1338368745: '1739898793_306611_1338368020_c11df441efaddfc9f74cb45554a8df01_rle_crop_3679182977_0.png', 1338368744: '1739898793_306611_1338368042_e9d5334f715c07b8d1c21cb6aade5c66_rle_crop_3679182961_0.png', 1338368743: '1739898793_306611_1338368048_b246c36fcc4bfa383d9513d14a329c63_rle_crop_3679182933_0.png', 1338368091: '1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182424_0.png', 1338367864: '1739898332_295660_1338367589_b0efe098d14df1a2fb28137e77f13bb8_rle_crop_3679180063_0.png', 1338368059: '1739898542_298746_1338367924_7a57cce70e28723a275746e155a4fc8e_rle_crop_3679181068_0.png', 1338368058: '1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181052_0.png', 1338368057: '1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181059_0.png', 1338368046: '1739898556_298913_1338367935_011f8f394a6091cb8f37e83d9d120a8f_rle_crop_3679181024_0.png', 1338368035: '1739898532_298641_1338367969_06d7641def666ac2ab220b5f204ff129_rle_crop_3679181010_0.png', 1338367945: '1739898431_297303_1338367855_b1d2cc4ebd1aa473dbfce1f613e89e60_rle_crop_3679180425_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/df8f8eef28dd56bebd1cb15e574f0f62_15039272.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/054e12fbc3b75bec196b73046e9f4b40_33064342.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/8c58d1b5ff596c8aaf004e09eb9711cd_19190272.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/0336c08133d35afcc077e8635749a472_11821505.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/ecab3895d818004b6871222b7666d0a9_10654686.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/5789448232c72d4ae6ddebdb87291d9b_23294718.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/9d9fd3997f93ba261184059468c36117_33063768.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/e201dbe9c3e33aba3ad74a202ca7842c_20595674.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/4b082dda0d22484970b43918ce737275_67983607.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/0bf1ff2ad9ef7c9146fd057abfae3a52_84713733.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/3b73b2e066ca973778fc57f07b7427db_84678829.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/d3fb9069d68d649f0830e65c6decc842_26749159.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/ecab3895d818004b6871222b7666d0a9_23849970.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/384e7d4f007a6619e04e33d84940b4ed_8162536.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/9b45424a42adb5adb837b96cdc841c52_23599468.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/35d943ca697a90c5ffb9398a618f6075_72610956.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/0f105d2b49242454227de756eacc1d07_94327312.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/8931d8143e63f9a1189a6a1e7fde3fa8_44730717.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/8c58d1b5ff596c8aaf004e09eb9711cd_96514249.png change filename to text .imagette206463291739941442/ imagette206463291739941442/1739900732_326198_1338368050_fa1200d718644d333d0e0291bec81c86_rle_crop_3679196258_0.png.png imagette206463291739941442/1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181052_0.png.png imagette206463291739941442/1739898431_297303_1338367855_b1d2cc4ebd1aa473dbfce1f613e89e60_rle_crop_3679180425_0.png.png imagette206463291739941442/1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182424_0.png.png imagette206463291739941442/1739898793_306611_1338368020_c11df441efaddfc9f74cb45554a8df01_rle_crop_3679182977_0.png.png imagette206463291739941442/1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181059_0.png.png imagette206463291739941442/1739900732_326198_1338368050_fa1200d718644d333d0e0291bec81c86_rle_crop_3679196261_0.png.png imagette206463291739941442/1739898542_298746_1338367924_7a57cce70e28723a275746e155a4fc8e_rle_crop_3679181066_0.png.png imagette206463291739941442/1739898793_306611_1338368048_b246c36fcc4bfa383d9513d14a329c63_rle_crop_3679182933_0.png.png imagette206463291739941442/1739898556_298913_1338367935_011f8f394a6091cb8f37e83d9d120a8f_rle_crop_3679181024_0.png.png imagette206463291739941442/1739900751_326579_1338368000_5507bafeddd86ca14156e50216f5ed1c_rle_crop_3679196873_0.png.png imagette206463291739941442/1739898532_298641_1338367969_06d7641def666ac2ab220b5f204ff129_rle_crop_3679181010_0.png.png imagette206463291739941442/1739898793_306611_1338368042_e9d5334f715c07b8d1c21cb6aade5c66_rle_crop_3679182961_0.png.png imagette206463291739941442/1739898542_298746_1338367924_7a57cce70e28723a275746e155a4fc8e_rle_crop_3679181068_0.png.png imagette206463291739941442/1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182424_0.png.png imagette206463291739941442/1739900853_328158_1338367815_99fb1dfa27ea96aaac631038af116ded_rle_crop_3679198295_0.png.png imagette206463291739941442/1739900751_326579_1338367969_06d7641def666ac2ab220b5f204ff129_rle_crop_3679181010_0.png.png imagette206463291739941442/1739898332_295660_1338367589_b0efe098d14df1a2fb28137e77f13bb8_rle_crop_3679180063_0.png.png imagette206463291739941442/1739898814_306912_1338368097_284be0969a50c52305d4fdcbd4f4aa84_rle_crop_3679182981_0.png.png imagette206463291739941442/1739898814_306912_1338368070_6e709d1bb4c3fb3b2845af09eb6b6553_rle_crop_3679183004_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/7c5408b4ada7534a3852649e302b3d81_92398589.png imagette206463291739941442 20646330 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646330 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338368092: '1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182420_0.png', 1338368093: '1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182423_0.png', 1338371397: '1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182420_0.png', 1338371398: '1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182423_0.png', 1338371930: '1739900853_328158_1338367815_99fb1dfa27ea96aaac631038af116ded_rle_crop_3679198288_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/d656c05c3cdf769a85b27a5e099f334e_50582108.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/ee4419f728b62b2cab5e29fe345a1c2c_59411221.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/d656c05c3cdf769a85b27a5e099f334e_62837416.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/ee4419f728b62b2cab5e29fe345a1c2c_3440899.png change filename to text .imagette206463301739941444/ imagette206463301739941444/1739900853_328158_1338367815_99fb1dfa27ea96aaac631038af116ded_rle_crop_3679198288_0.png.png imagette206463301739941444/1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182423_0.png.png imagette206463301739941444/1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182423_0.png.png imagette206463301739941444/1739900732_326198_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182420_0.png.png imagette206463301739941444/1739898676_303739_1338367997_3c91303787e7be2ba67e37e7e93423c0_rle_crop_3679182420_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/e856250a892511dab645e0e00af36261_71962731.png imagette206463301739941444 20646333 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646333 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338367946: '1739898431_297303_1338367854_50e70d1cc0cf437430189c4fe81a10f4_rle_crop_3679180439_0.png', 1338368061: '1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181050_0.png', 1338368753: '1739898793_306611_1338368042_e9d5334f715c07b8d1c21cb6aade5c66_rle_crop_3679182962_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/c543e353ec348daa97447dcac84e44d2_82935627.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/03f488fd7020580fe73694c6fdf75879_82760073.png change filename to text .imagette206463331739941444/ imagette206463331739941444/1739898542_298746_1338367933_09c769d0a953bf66b7fefe419b295fa7_rle_crop_3679181050_0.png.png imagette206463331739941444/1739898431_297303_1338367854_50e70d1cc0cf437430189c4fe81a10f4_rle_crop_3679180439_0.png.png imagette206463331739941444/1739898793_306611_1338368042_e9d5334f715c07b8d1c21cb6aade5c66_rle_crop_3679182962_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/91e819eb5c01cbb5170a14861daa7d19_8977804.png imagette206463331739941444 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20646322 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20646337,20646338,20646339,20646340,20646341,20646342,20646343,20646344,20646345,20646346,20646347,20646348?tags=mal_croppe,flou,environnement,papier,Teint_Dans_La_Masse,Carton_gris,plastique,autre_refus,Carton_brun,metal,cartonnette,kraft your option no_mail is active, we will not send the real mail to your client args[1338370687] : ('0.03685428434379973',) no score found for photo 1338370687 We are sending mail with results at report@fotonower.com args[1338368097] : ('0.03685428434379973',) no score found for photo 1338368097 We are sending mail with results at report@fotonower.com args[1338368074] : ('0.03685428434379973',) no score found for photo 1338368074 We are sending mail with results at report@fotonower.com args[1338368072] : ('0.03685428434379973',) no score found for photo 1338368072 We are sending mail with results at report@fotonower.com args[1338368070] : ('0.03685428434379973',) no score found for photo 1338368070 We are sending mail with results at report@fotonower.com args[1338368069] : ('0.03685428434379973',) no score found for photo 1338368069 We are sending mail with results at report@fotonower.com args[1338368050] : ('0.03685428434379973',) no score found for photo 1338368050 We are sending mail with results at report@fotonower.com args[1338368048] : ('0.03685428434379973',) no score found for photo 1338368048 We are sending mail with results at report@fotonower.com args[1338368044] : ('0.03685428434379973',) no score found for photo 1338368044 We are sending mail with results at report@fotonower.com args[1338368042] : ('0.03685428434379973',) no score found for photo 1338368042 We are sending mail with results at report@fotonower.com args[1338368020] : ('0.03685428434379973',) no score found for photo 1338368020 We are sending mail with results at report@fotonower.com args[1338368000] : ('0.03685428434379973',) no score found for photo 1338368000 We are sending mail with results at report@fotonower.com args[1338367997] : ('0.03685428434379973',) no score found for photo 1338367997 We are sending mail with results at report@fotonower.com args[1338367996] : ('0.03685428434379973',) no score found for photo 1338367996 We are sending mail with results at report@fotonower.com args[1338367973] : ('0.03685428434379973',) no score found for photo 1338367973 We are sending mail with results at report@fotonower.com args[1338367971] : ('0.03685428434379973',) no score found for photo 1338367971 We are sending mail with results at report@fotonower.com args[1338367969] : ('0.03685428434379973',) no score found for photo 1338367969 We are sending mail with results at report@fotonower.com args[1338367935] : ('0.03685428434379973',) no score found for photo 1338367935 We are sending mail with results at report@fotonower.com args[1338367933] : ('0.03685428434379973',) no score found for photo 1338367933 We are sending mail with results at report@fotonower.com args[1338367924] : ('0.03685428434379973',) no score found for photo 1338367924 We are sending mail with results at report@fotonower.com args[1338367923] : ('0.03685428434379973',) no score found for photo 1338367923 We are sending mail with results at report@fotonower.com args[1338367913] : ('0.03685428434379973',) no score found for photo 1338367913 We are sending mail with results at report@fotonower.com args[1338367868] : ('0.03685428434379973',) no score found for photo 1338367868 We are sending mail with results at report@fotonower.com args[1338367855] : ('0.03685428434379973',) no score found for photo 1338367855 We are sending mail with results at report@fotonower.com args[1338367854] : ('0.03685428434379973',) no score found for photo 1338367854 We are sending mail with results at report@fotonower.com args[1338367815] : ('0.03685428434379973',) no score found for photo 1338367815 We are sending mail with results at report@fotonower.com args[1338367798] : ('0.03685428434379973',) no score found for photo 1338367798 We are sending mail with results at report@fotonower.com args[1338367791] : ('0.03685428434379973',) no score found for photo 1338367791 We are sending mail with results at report@fotonower.com args[1338367589] : ('0.03685428434379973',) no score found for photo 1338367589 We are sending mail with results at report@fotonower.com args[1338367504] : ('0.03685428434379973',) no score found for photo 1338367504 We are sending mail with results at report@fotonower.com args[1338367409] : ('0.03685428434379973',) no score found for photo 1338367409 We are sending mail with results at report@fotonower.com args[1338367309] : ('0.03685428434379973',) no score found for photo 1338367309 We are sending mail with results at report@fotonower.com args[1338366641] : ('0.03685428434379973',) no score found for photo 1338366641 We are sending mail with results at report@fotonower.com args[1338366640] : ('0.03685428434379973',) no score found for photo 1338366640 We are sending mail with results at report@fotonower.com refus_total : 0.03685428434379973 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646322 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'mal_croppe' After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20646322]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] map_info['map_portfolio_photo'] : {20646322: [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640]} final : False mtd_id 4302 list_pids : [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] 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, '2598427') ('4302', '20646322', '1338370687', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368097', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368074', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368072', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368070', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368069', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368050', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368048', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368044', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368042', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368020', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368000', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367997', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367996', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367973', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367971', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367969', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367935', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367933', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367924', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367923', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367913', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367868', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367855', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367854', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367815', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367798', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367791', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367589', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367504', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367409', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367309', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366641', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366640', None, None, None, None, None, '2598427') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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', '20646322', '1338370687', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368097', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368074', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368072', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368070', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368069', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368050', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368048', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368044', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368042', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368020', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368000', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367997', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367996', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367973', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367971', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367969', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367935', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367933', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367924', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367923', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367913', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367868', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367855', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367854', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367815', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367798', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367791', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367589', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367504', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367409', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367309', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338366641', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338366640', None, None, None, None, None, '2598427')] time used for this insertion : 0.0181882381439209 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.366362571716309 time spend to save output : 0.018533945083618164 total time spend for step 4 : 6.384896516799927 step5:split_time_score Wed Feb 19 06:04:05 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 : ['20646322'] 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 : [('20646322',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20646322) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1338368069: {'path': 'temp/1739941438_2704617_1338368069_e8b285d67eef1f74d7e27284545319ed.jpg', 'extension': 'jpg'}, 1338368070: {'path': 'temp/1739941438_2704617_1338368070_6e709d1bb4c3fb3b2845af09eb6b6553.jpg', 'extension': 'jpg'}, 1338368072: {'path': 'temp/1739941438_2704617_1338368072_d6fe307041be12a5bde494061bc4584f.jpg', 'extension': 'jpg'}, 1338368074: {'path': 'temp/1739941438_2704617_1338368074_37f7706f590bf63d93d9a7783282268b.jpg', 'extension': 'jpg'}, 1338368097: {'path': 'temp/1739941438_2704617_1338368097_284be0969a50c52305d4fdcbd4f4aa84.jpg', 'extension': 'jpg'}, 1338370687: {'path': 'temp/1739941438_2704617_1338370687_04670053392a087197f269c5db96fbd6.jpg', 'extension': 'jpg'}, 1338366640: {'path': 'temp/1739941438_2704617_1338366640_3abb9e5f77817025fdbd84ca56564c7c.jpg', 'extension': 'jpg'}, 1338366641: {'path': 'temp/1739941438_2704617_1338366641_0ac9d1fb40e58900ca6d769c06b03a8d.jpg', 'extension': 'jpg'}, 1338367309: {'path': 'temp/1739941438_2704617_1338367309_5253e9d73d6c904ce5d8a343440b85b2.jpg', 'extension': 'jpg'}, 1338367409: {'path': 'temp/1739941438_2704617_1338367409_f3c647189bb5a2e6fa04e0c7f7bc9740.jpg', 'extension': 'jpg'}, 1338367504: {'path': 'temp/1739941438_2704617_1338367504_28513bd8c4cdf4f4cb38fbbc5c616258.jpg', 'extension': 'jpg'}, 1338367589: {'path': 'temp/1739941438_2704617_1338367589_b0efe098d14df1a2fb28137e77f13bb8.jpg', 'extension': 'jpg'}, 1338367791: {'path': 'temp/1739941438_2704617_1338367791_4982858606e745cbe91fb7dfbbf46b1a.jpg', 'extension': 'jpg'}, 1338367997: {'path': 'temp/1739941438_2704617_1338367997_3c91303787e7be2ba67e37e7e93423c0.jpg', 'extension': 'jpg'}, 1338368000: {'path': 'temp/1739941438_2704617_1338368000_5507bafeddd86ca14156e50216f5ed1c.jpg', 'extension': 'jpg'}, 1338368020: {'path': 'temp/1739941438_2704617_1338368020_c11df441efaddfc9f74cb45554a8df01.jpg', 'extension': 'jpg'}, 1338368042: {'path': 'temp/1739941438_2704617_1338368042_e9d5334f715c07b8d1c21cb6aade5c66.jpg', 'extension': 'jpg'}, 1338368044: {'path': 'temp/1739941438_2704617_1338368044_795a95189c1fc71c4d138b8cf8a583ea.jpg', 'extension': 'jpg'}, 1338368048: {'path': 'temp/1739941438_2704617_1338368048_b246c36fcc4bfa383d9513d14a329c63.jpg', 'extension': 'jpg'}, 1338368050: {'path': 'temp/1739941438_2704617_1338368050_fa1200d718644d333d0e0291bec81c86.jpg', 'extension': 'jpg'}, 1338367924: {'path': 'temp/1739941438_2704617_1338367924_7a57cce70e28723a275746e155a4fc8e.jpg', 'extension': 'jpg'}, 1338367933: {'path': 'temp/1739941438_2704617_1338367933_09c769d0a953bf66b7fefe419b295fa7.jpg', 'extension': 'jpg'}, 1338367935: {'path': 'temp/1739941438_2704617_1338367935_011f8f394a6091cb8f37e83d9d120a8f.jpg', 'extension': 'jpg'}, 1338367969: {'path': 'temp/1739941438_2704617_1338367969_06d7641def666ac2ab220b5f204ff129.jpg', 'extension': 'jpg'}, 1338367971: {'path': 'temp/1739941438_2704617_1338367971_cb11e41ca7150ff1fd4e6b17f131c147.jpg', 'extension': 'jpg'}, 1338367973: {'path': 'temp/1739941438_2704617_1338367973_0ebbbf5d28ab4667ecff1010570c038d.jpg', 'extension': 'jpg'}, 1338367996: {'path': 'temp/1739941438_2704617_1338367996_b2e60f8cc651e3a54b115d4696777463.jpg', 'extension': 'jpg'}, 1338367798: {'path': 'temp/1739941438_2704617_1338367798_44f6f4ca766823431acf7d0d1919ad58.jpg', 'extension': 'jpg'}, 1338367815: {'path': 'temp/1739941438_2704617_1338367815_99fb1dfa27ea96aaac631038af116ded.jpg', 'extension': 'jpg'}, 1338367854: {'path': 'temp/1739941438_2704617_1338367854_50e70d1cc0cf437430189c4fe81a10f4.jpg', 'extension': 'jpg'}, 1338367855: {'path': 'temp/1739941438_2704617_1338367855_b1d2cc4ebd1aa473dbfce1f613e89e60.jpg', 'extension': 'jpg'}, 1338367868: {'path': 'temp/1739941438_2704617_1338367868_d4f46812aa2fb6e66a2190bdf0635eb0.jpg', 'extension': 'jpg'}, 1338367913: {'path': 'temp/1739941438_2704617_1338367913_71e477648cdc1cfb1cf5964e310ca1a0.jpg', 'extension': 'jpg'}, 1338367923: {'path': 'temp/1739941438_2704617_1338367923_14296ee43fd3ad38f108e52d0ce9f15f.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 = 20646322; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20646322 group by h (('18', 34),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20646322 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 (20646322) 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 (20646322) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18022025 20646322 Nombre de photos uploadées : 34 / 23040 (0%) 18022025 20646322 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 18022025 20646322 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1338366641, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/0ac9d1fb40e58900ca6d769c06b03a8d.jpg', 'username': None, 'uploaded_at': 1739898187, 'text': 'image_18022025_18_02_33_009135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1338366640, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/3abb9e5f77817025fdbd84ca56564c7c.jpg', 'username': None, 'uploaded_at': 1739898187, 'text': 'image_18022025_18_02_43_010159m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1338367589, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/b0efe098d14df1a2fb28137e77f13bb8.jpg', 'username': None, 'uploaded_at': 1739898247, 'text': 'image_18022025_18_02_53_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1338367504, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/28513bd8c4cdf4f4cb38fbbc5c616258.jpg', 'username': None, 'uploaded_at': 1739898247, 'text': 'image_18022025_18_03_03_010148m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.62939453125e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002187013626098633 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20646322, '2025-02-18' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1609467,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023021697998046875 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= 1609467 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20627257, 'dashboard_result_id': 8964716, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627257_18-02-2025_05_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627269, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20627333, 'dashboard_result_id': 8964717, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627333_18-02-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627346, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20627623, 'dashboard_result_id': 8964718, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627623_18-02-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20627625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627636, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20628039, 'dashboard_result_id': 8964719, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628039_18-02-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628076, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658008, 'dashboard_result_id': 8964720, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658008_19-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658201, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658009, 'dashboard_result_id': 8964721, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658009_19-02-2025_05_38_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658225, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658010, 'dashboard_result_id': 8964722, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658010_19-02-2025_05_38_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658273, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658011, 'dashboard_result_id': 8964723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658011_19-02-2025_05_39_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658166, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658176, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658012, 'dashboard_result_id': 8964724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658012_19-02-2025_05_40_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658152, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658013, 'dashboard_result_id': 8964725, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658013_19-02-2025_05_40_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658127, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658014, 'dashboard_result_id': 8964726, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658014_19-02-2025_05_41_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20658016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658043, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20658015, 'dashboard_result_id': 8964727, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658103, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20628629, 'dashboard_result_id': 8964728, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628629_18-02-2025_09_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628648, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20628631, 'dashboard_result_id': 8964729, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628631_18-02-2025_09_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628790, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20628634, 'dashboard_result_id': 8964730, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628634_18-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20628723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628734, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20630461, 'dashboard_result_id': 8964731, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630461_18-02-2025_09_46_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20630463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630474, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20630937, 'dashboard_result_id': 8964732, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630937_18-02-2025_10_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20630943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630949, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20631279, 'dashboard_result_id': 8964733, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631279_18-02-2025_10_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631292, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20631638, 'dashboard_result_id': 8964734, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631638_18-02-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631653, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20632085, 'dashboard_result_id': 8964735, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632085_18-02-2025_10_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632127, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20632783, 'dashboard_result_id': 8964736, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632783_18-02-2025_11_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632829, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20633499, 'dashboard_result_id': 8964737, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20633499_18-02-2025_11_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20633555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20633556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20633557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20633558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20633559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20633560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20633561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20633562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20633563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20633564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20633565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20633566, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20634216, 'dashboard_result_id': 8964738, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634216_18-02-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20634254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634258, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20634860, 'dashboard_result_id': 8964739, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634860_18-02-2025_11_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20634869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634880, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20635587, 'dashboard_result_id': 8964740, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20635587_18-02-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20635593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20635594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20635595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20635596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20635597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20635598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20635599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20635600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20635601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20635602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20635603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20635604, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20636115, 'dashboard_result_id': 8964741, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20636115_18-02-2025_13_00_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20636123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20636124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20636125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20636126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20636127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20636128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20636129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20636130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20636131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20636132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20636133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20636134, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20637505, 'dashboard_result_id': 8964742, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637505_18-02-2025_14_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637518, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20637752, 'dashboard_result_id': 8964743, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637752_18-02-2025_14_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637764, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20638012, 'dashboard_result_id': 8964744, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638012_18-02-2025_14_34_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638027, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20638733, 'dashboard_result_id': 8964745, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638733_18-02-2025_14_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638747, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20639212, 'dashboard_result_id': 8964746, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639212_18-02-2025_15_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20639264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20639268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639275, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20639909, 'dashboard_result_id': 8964747, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639909_18-02-2025_15_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20639936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20639946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639947, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20640740, 'dashboard_result_id': 8964748, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640740_18-02-2025_15_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640754, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20640945, 'dashboard_result_id': 8964749, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640945_18-02-2025_16_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640985, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20641544, 'dashboard_result_id': 8964750, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641544_18-02-2025_16_16_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20641556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20641557, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20641942, 'dashboard_result_id': 8964751, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641942_18-02-2025_16_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642006, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20642636, 'dashboard_result_id': 8964752, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20642639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20642640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20642641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20642642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20642643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20642644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20642645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20642647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20642649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20642650, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20643020, 'dashboard_result_id': 8964753, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643037, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20643840, 'dashboard_result_id': 8964754, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20643840_18-02-2025_17_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643853, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20644649, 'dashboard_result_id': 8964755, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20644700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20644701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20644702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20644703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20644704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20644705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20644706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20644707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20644708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20644709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20644710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20644711, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20646322, 'dashboard_result_id': 8964756, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20646325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20646326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20646327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20646328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20646329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20646330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20646331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20646332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20646333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20646334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20646335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20646336, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20647473, 'dashboard_result_id': 8964757, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647488, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20647549, 'dashboard_result_id': 8964758, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647587, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20648298, 'dashboard_result_id': 8964759, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20648302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20648303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20648304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20648305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20648306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20648307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20648308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20648309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20648310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20648311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20648312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20648313, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20649026, 'dashboard_result_id': 8964760, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20649035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649042, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20649585, 'dashboard_result_id': 8964761, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20649585_18-02-2025_19_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20649622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649633, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20650403, 'dashboard_result_id': 8964762, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20650475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650478, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20650930, 'dashboard_result_id': 8964763, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20650930_18-02-2025_20_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20650956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650967, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20651748, 'dashboard_result_id': 8964764, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20651800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20651801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20651802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20651803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20651804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20651805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20651806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20651807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20651808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20651809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20651810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20651811, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20652673, 'dashboard_result_id': 8964765, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20652701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20652702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20652703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20652704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20652705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20652706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20652707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20652708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20652709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20652710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20652711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20652712, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619894, 'mtr_portfolio_id': 20654148, 'dashboard_result_id': 8964766, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20654224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20654225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20654226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20654227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20654228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20654229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20654230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20654231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20654232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20654233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20654234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20654235, 'pht': 3726}, 'url_report': ''}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20627257 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598387, 'mtr_portfolio_id': 20627257, 'created_at': datetime.datetime(2025, 2, 19, 5, 34, 28), 'result': '0.06786332216492437', 'result_long': None, 'result_double': None}] Qualite : 0.06786332216492437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20627257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627257_18-02-2025_05_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20627257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627257_18-02-2025_05_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627269, 'pht': 3726}}" where mtr_portfolio_id = 20627257 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20627257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964716, 0.06786332216492437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627257_18-02-2025_05_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20627333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598388, 'mtr_portfolio_id': 20627333, 'created_at': datetime.datetime(2025, 2, 19, 5, 35, 30), 'result': '0.04336382705580075', 'result_long': None, 'result_double': None}] Qualite : 0.04336382705580075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20627333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627333_18-02-2025_05_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20627333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627333_18-02-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627346, 'pht': 3726}}" where mtr_portfolio_id = 20627333 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20627333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964717, 0.04336382705580075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627333_18-02-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627346, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20627623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598389, 'mtr_portfolio_id': 20627623, 'created_at': datetime.datetime(2025, 2, 19, 5, 35, 58), 'result': '0.05919266691197089', 'result_long': None, 'result_double': None}] Qualite : 0.05919266691197089 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20627623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627623_18-02-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20627623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627623_18-02-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20627625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627636, 'pht': 3726}}" where mtr_portfolio_id = 20627623 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20627623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964718, 0.05919266691197089, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627623_18-02-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20627625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627636, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598390, 'mtr_portfolio_id': 20628039, 'created_at': datetime.datetime(2025, 2, 19, 5, 36, 59), 'result': '0.04592422613157095', 'result_long': None, 'result_double': None}] Qualite : 0.04592422613157095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20628039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628039_18-02-2025_06_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628039_18-02-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628076, 'pht': 3726}}" where mtr_portfolio_id = 20628039 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20628039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964719, 0.04592422613157095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628039_18-02-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628076, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658008 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 = 20658008 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 = 20658008 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658008 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 = 20658008 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 = 20658008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658008_19-02-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658008_19-02-2025_05_37_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658201, 'pht': 3726}}" where mtr_portfolio_id = 20658008 and dashboard_run_id = 1619894 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658009 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 = 20658009 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 = 20658009 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658009 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 = 20658009 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 = 20658009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658009_19-02-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658009 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658009_19-02-2025_05_38_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658225, 'pht': 3726}}" where mtr_portfolio_id = 20658009 and dashboard_run_id = 1619894 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658010 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 = 20658010 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 = 20658010 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658010 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 = 20658010 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 = 20658010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658010_19-02-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658010_19-02-2025_05_38_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658273, 'pht': 3726}}" where mtr_portfolio_id = 20658010 and dashboard_run_id = 1619894 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658011 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 = 20658011 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 = 20658011 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658011 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 = 20658011 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 = 20658011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658011_19-02-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658011 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658011_19-02-2025_05_39_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658166, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658176, 'pht': 3726}}" where mtr_portfolio_id = 20658011 and dashboard_run_id = 1619894 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658012 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 = 20658012 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 = 20658012 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658012 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 = 20658012 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 = 20658012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658012_19-02-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658012 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658012_19-02-2025_05_40_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658152, 'pht': 3726}}" where mtr_portfolio_id = 20658012 and dashboard_run_id = 1619894 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658013 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 = 20658013 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 = 20658013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658013 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 = 20658013 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 = 20658013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658013_19-02-2025_05_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658013_19-02-2025_05_40_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658127, 'pht': 3726}}" where mtr_portfolio_id = 20658013 and dashboard_run_id = 1619894 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658014 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 = 20658014 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 = 20658014 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658014 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 = 20658014 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 = 20658014 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658014_19-02-2025_05_41_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658014 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658014_19-02-2025_05_41_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20658016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658043, 'pht': 3726}}" where mtr_portfolio_id = 20658014 and dashboard_run_id = 1619894 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598398, 'mtr_portfolio_id': 20658015, 'created_at': datetime.datetime(2025, 2, 19, 5, 41, 59), 'result': '0.044077613849228384', 'result_long': None, 'result_double': None}] Qualite : 0.044077613849228384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20658015 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20658015%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658103, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20658015 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20658015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964727, 0.044077613849228384, "{'max_time_prod_two_photos': 0, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658103, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628629 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598399, 'mtr_portfolio_id': 20628629, 'created_at': datetime.datetime(2025, 2, 19, 5, 42, 32), 'result': '0.04380007162847265', 'result_long': None, 'result_double': None}] Qualite : 0.04380007162847265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20628629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628629_18-02-2025_09_01_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628629 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628629_18-02-2025_09_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628648, 'pht': 3726}}" where mtr_portfolio_id = 20628629 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20628629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964728, 0.04380007162847265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628629_18-02-2025_09_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628648, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598400, 'mtr_portfolio_id': 20628631, 'created_at': datetime.datetime(2025, 2, 19, 5, 43, 31), 'result': '0.04680249392401498', 'result_long': None, 'result_double': None}] Qualite : 0.04680249392401498 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20628631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628631_18-02-2025_09_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628631_18-02-2025_09_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628790, 'pht': 3726}}" where mtr_portfolio_id = 20628631 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20628631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964729, 0.04680249392401498, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628631_18-02-2025_09_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628790, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628634 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598401, 'mtr_portfolio_id': 20628634, 'created_at': datetime.datetime(2025, 2, 19, 5, 43, 58), 'result': '0.04381779789964485', 'result_long': None, 'result_double': None}] Qualite : 0.04381779789964485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20628634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628634_18-02-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628634_18-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20628723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628734, 'pht': 3726}}" where mtr_portfolio_id = 20628634 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20628634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964730, 0.04381779789964485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628634_18-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20628723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628734, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20630461 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598402, 'mtr_portfolio_id': 20630461, 'created_at': datetime.datetime(2025, 2, 19, 5, 44, 29), 'result': '0.054182376021172214', 'result_long': None, 'result_double': None}] Qualite : 0.054182376021172214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20630461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630461_18-02-2025_09_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20630461 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630461_18-02-2025_09_46_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20630463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630474, 'pht': 3726}}" where mtr_portfolio_id = 20630461 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20630461 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964731, 0.054182376021172214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630461_18-02-2025_09_46_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20630463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630474, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20630937 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598403, 'mtr_portfolio_id': 20630937, 'created_at': datetime.datetime(2025, 2, 19, 5, 45, 28), 'result': '0.0645033228694953', 'result_long': None, 'result_double': None}] Qualite : 0.0645033228694953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20630937 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630937_18-02-2025_10_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20630937 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630937_18-02-2025_10_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20630943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630949, 'pht': 3726}}" where mtr_portfolio_id = 20630937 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20630937 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964732, 0.0645033228694953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630937_18-02-2025_10_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20630943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20631279 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598404, 'mtr_portfolio_id': 20631279, 'created_at': datetime.datetime(2025, 2, 19, 5, 45, 59), 'result': '0.03124142374065303', 'result_long': None, 'result_double': None}] Qualite : 0.03124142374065303 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20631279 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631279_18-02-2025_10_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20631279 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631279_18-02-2025_10_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631292, 'pht': 3726}}" where mtr_portfolio_id = 20631279 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20631279 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964733, 0.03124142374065303, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631279_18-02-2025_10_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20631638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598405, 'mtr_portfolio_id': 20631638, 'created_at': datetime.datetime(2025, 2, 19, 5, 46, 29), 'result': '0.03379308903271706', 'result_long': None, 'result_double': None}] Qualite : 0.03379308903271706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20631638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631638_18-02-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20631638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631638_18-02-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631653, 'pht': 3726}}" where mtr_portfolio_id = 20631638 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20631638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964734, 0.03379308903271706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631638_18-02-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631653, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20632085 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598406, 'mtr_portfolio_id': 20632085, 'created_at': datetime.datetime(2025, 2, 19, 5, 47, 30), 'result': '0.04969121902486216', 'result_long': None, 'result_double': None}] Qualite : 0.04969121902486216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20632085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632085_18-02-2025_10_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20632085 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632085_18-02-2025_10_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632127, 'pht': 3726}}" where mtr_portfolio_id = 20632085 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20632085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964735, 0.04969121902486216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632085_18-02-2025_10_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632127, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20632783 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598407, 'mtr_portfolio_id': 20632783, 'created_at': datetime.datetime(2025, 2, 19, 5, 48), 'result': '0.04659890423695298', 'result_long': None, 'result_double': None}] Qualite : 0.04659890423695298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20632783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632783_18-02-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20632783 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632783_18-02-2025_11_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632829, 'pht': 3726}}" where mtr_portfolio_id = 20632783 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20632783 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964736, 0.04659890423695298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632783_18-02-2025_11_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632829, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20633499 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598408, 'mtr_portfolio_id': 20633499, 'created_at': datetime.datetime(2025, 2, 19, 5, 48, 29), 'result': '0.038079490108832915', 'result_long': None, 'result_double': None}] Qualite : 0.038079490108832915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20633499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20633499_18-02-2025_11_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20633499 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20633499_18-02-2025_11_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20633555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20633556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20633557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20633558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20633559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20633560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20633561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20633562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20633563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20633564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20633565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20633566, 'pht': 3726}}" where mtr_portfolio_id = 20633499 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20633499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964737, 0.038079490108832915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20633499_18-02-2025_11_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20633555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20633556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20633557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20633558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20633559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20633560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20633561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20633562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20633563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20633564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20633565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20633566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20634216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598409, 'mtr_portfolio_id': 20634216, 'created_at': datetime.datetime(2025, 2, 19, 5, 49, 58), 'result': '0.042296328626101616', 'result_long': None, 'result_double': None}] Qualite : 0.042296328626101616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20634216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634216_18-02-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20634216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634216_18-02-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20634254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634258, 'pht': 3726}}" where mtr_portfolio_id = 20634216 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20634216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964738, 0.042296328626101616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634216_18-02-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20634254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20634860 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598410, 'mtr_portfolio_id': 20634860, 'created_at': datetime.datetime(2025, 2, 19, 5, 50, 32), 'result': '0.035875557958438435', 'result_long': None, 'result_double': None}] Qualite : 0.035875557958438435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20634860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634860_18-02-2025_11_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20634860 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634860_18-02-2025_11_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20634869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634880, 'pht': 3726}}" where mtr_portfolio_id = 20634860 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20634860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964739, 0.035875557958438435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634860_18-02-2025_11_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20634869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20635587 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598411, 'mtr_portfolio_id': 20635587, 'created_at': datetime.datetime(2025, 2, 19, 5, 51, 30), 'result': '0.05219095687750132', 'result_long': None, 'result_double': None}] Qualite : 0.05219095687750132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20635587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20635587_18-02-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20635587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20635587_18-02-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20635593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20635594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20635595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20635596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20635597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20635598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20635599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20635600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20635601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20635602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20635603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20635604, 'pht': 3726}}" where mtr_portfolio_id = 20635587 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20635587 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964740, 0.05219095687750132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20635587_18-02-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20635593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20635594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20635595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20635596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20635597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20635598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20635599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20635600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20635601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20635602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20635603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20635604, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20636115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598412, 'mtr_portfolio_id': 20636115, 'created_at': datetime.datetime(2025, 2, 19, 5, 51, 58), 'result': '0.03872738011734282', 'result_long': None, 'result_double': None}] Qualite : 0.03872738011734282 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20636115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20636115_18-02-2025_13_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20636115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20636115_18-02-2025_13_00_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20636123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20636124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20636125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20636126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20636127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20636128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20636129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20636130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20636131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20636132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20636133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20636134, 'pht': 3726}}" where mtr_portfolio_id = 20636115 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20636115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964741, 0.03872738011734282, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20636115_18-02-2025_13_00_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20636123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20636124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20636125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20636126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20636127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20636128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20636129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20636130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20636131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20636132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20636133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20636134, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20637505 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598413, 'mtr_portfolio_id': 20637505, 'created_at': datetime.datetime(2025, 2, 19, 5, 52, 31), 'result': '0.02499973836582598', 'result_long': None, 'result_double': None}] Qualite : 0.02499973836582598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20637505 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637505_18-02-2025_14_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20637505 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637505_18-02-2025_14_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637518, 'pht': 3726}}" where mtr_portfolio_id = 20637505 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20637505 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964742, 0.02499973836582598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637505_18-02-2025_14_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637518, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20637752 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598414, 'mtr_portfolio_id': 20637752, 'created_at': datetime.datetime(2025, 2, 19, 5, 54, 30), 'result': '0.0464626605951296', 'result_long': None, 'result_double': None}] Qualite : 0.0464626605951296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20637752 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637752_18-02-2025_14_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20637752 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637752_18-02-2025_14_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637764, 'pht': 3726}}" where mtr_portfolio_id = 20637752 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20637752 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964743, 0.0464626605951296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637752_18-02-2025_14_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637764, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20638012 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598415, 'mtr_portfolio_id': 20638012, 'created_at': datetime.datetime(2025, 2, 19, 5, 55, 30), 'result': '0.04245985668534336', 'result_long': None, 'result_double': None}] Qualite : 0.04245985668534336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20638012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638012_18-02-2025_14_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20638012 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638012_18-02-2025_14_34_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638027, 'pht': 3726}}" where mtr_portfolio_id = 20638012 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20638012 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964744, 0.04245985668534336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638012_18-02-2025_14_34_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638027, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20638733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598416, 'mtr_portfolio_id': 20638733, 'created_at': datetime.datetime(2025, 2, 19, 5, 55, 59), 'result': '0.06203339353207986', 'result_long': None, 'result_double': None}] Qualite : 0.06203339353207986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20638733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638733_18-02-2025_14_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20638733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638733_18-02-2025_14_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638747, 'pht': 3726}}" where mtr_portfolio_id = 20638733 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20638733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964745, 0.06203339353207986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638733_18-02-2025_14_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20639212 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598417, 'mtr_portfolio_id': 20639212, 'created_at': datetime.datetime(2025, 2, 19, 5, 56, 27), 'result': '0.03009404394799576', 'result_long': None, 'result_double': None}] Qualite : 0.03009404394799576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20639212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639212_18-02-2025_15_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20639212 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639212_18-02-2025_15_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20639264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20639268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639275, 'pht': 3726}}" where mtr_portfolio_id = 20639212 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20639212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964746, 0.03009404394799576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639212_18-02-2025_15_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20639264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20639268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639275, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20639909 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598418, 'mtr_portfolio_id': 20639909, 'created_at': datetime.datetime(2025, 2, 19, 5, 57, 28), 'result': '0.03768618696052333', 'result_long': None, 'result_double': None}] Qualite : 0.03768618696052333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20639909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639909_18-02-2025_15_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20639909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639909_18-02-2025_15_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20639936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20639946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639947, 'pht': 3726}}" where mtr_portfolio_id = 20639909 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20639909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964747, 0.03768618696052333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639909_18-02-2025_15_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20639936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20639946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639947, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20640740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598419, 'mtr_portfolio_id': 20640740, 'created_at': datetime.datetime(2025, 2, 19, 5, 57, 59), 'result': '0.03366029774532248', 'result_long': None, 'result_double': None}] Qualite : 0.03366029774532248 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20640740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640740_18-02-2025_15_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20640740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640740_18-02-2025_15_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640754, 'pht': 3726}}" where mtr_portfolio_id = 20640740 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20640740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964748, 0.03366029774532248, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640740_18-02-2025_15_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640754, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20640945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598420, 'mtr_portfolio_id': 20640945, 'created_at': datetime.datetime(2025, 2, 19, 5, 58, 30), 'result': '0.05116194989198609', 'result_long': None, 'result_double': None}] Qualite : 0.05116194989198609 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20640945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640945_18-02-2025_16_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20640945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640945_18-02-2025_16_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640985, 'pht': 3726}}" where mtr_portfolio_id = 20640945 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20640945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964749, 0.05116194989198609, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640945_18-02-2025_16_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640985, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20641544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598421, 'mtr_portfolio_id': 20641544, 'created_at': datetime.datetime(2025, 2, 19, 5, 59, 32), 'result': '0.0508147019811851', 'result_long': None, 'result_double': None}] Qualite : 0.0508147019811851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20641544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641544_18-02-2025_16_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20641544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641544_18-02-2025_16_16_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20641556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20641557, 'pht': 3726}}" where mtr_portfolio_id = 20641544 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20641544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964750, 0.0508147019811851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641544_18-02-2025_16_16_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20641556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20641557, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20641942 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598422, 'mtr_portfolio_id': 20641942, 'created_at': datetime.datetime(2025, 2, 19, 6, 0), 'result': '0.043765433753402846', 'result_long': None, 'result_double': None}] Qualite : 0.043765433753402846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20641942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641942_18-02-2025_16_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20641942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641942_18-02-2025_16_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642006, 'pht': 3726}}" where mtr_portfolio_id = 20641942 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20641942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964751, 0.043765433753402846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641942_18-02-2025_16_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20642636 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598423, 'mtr_portfolio_id': 20642636, 'created_at': datetime.datetime(2025, 2, 19, 6, 0, 29), 'result': '0.052099359413391645', 'result_long': None, 'result_double': None}] Qualite : 0.052099359413391645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20642636 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20642636%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20642636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20642639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20642640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20642641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20642642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20642643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20642644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20642645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20642647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20642649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20642650, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20642636 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20642636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964752, 0.052099359413391645, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20642639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20642640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20642641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20642642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20642643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20642644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20642645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20642647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20642649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20642650, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20643020 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598424, 'mtr_portfolio_id': 20643020, 'created_at': datetime.datetime(2025, 2, 19, 6, 1, 30), 'result': '0.03721859257393691', 'result_long': None, 'result_double': None}] Qualite : 0.03721859257393691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20643020 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20643020%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20643020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643037, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20643020 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20643020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964753, 0.03721859257393691, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643037, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20643840 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598425, 'mtr_portfolio_id': 20643840, 'created_at': datetime.datetime(2025, 2, 19, 6, 2, 34), 'result': '0.03969157099115589', 'result_long': None, 'result_double': None}] Qualite : 0.03969157099115589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20643840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20643840_18-02-2025_17_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20643840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20643840_18-02-2025_17_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643853, 'pht': 3726}}" where mtr_portfolio_id = 20643840 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20643840 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964754, 0.03969157099115589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20643840_18-02-2025_17_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643853, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20644649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598426, 'mtr_portfolio_id': 20644649, 'created_at': datetime.datetime(2025, 2, 19, 6, 3, 29), 'result': '0.05502641751243461', 'result_long': None, 'result_double': None}] Qualite : 0.05502641751243461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20644649 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20644649%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20644649 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': 20644700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20644701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20644702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20644703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20644704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20644705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20644706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20644707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20644708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20644709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20644710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20644711, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20644649 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20644649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964755, 0.05502641751243461, "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20644700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20644701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20644702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20644703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20644704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20644705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20644706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20644707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20644708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20644709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20644710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20644711, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20646322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2598427, 'mtr_portfolio_id': 20646322, 'created_at': datetime.datetime(2025, 2, 19, 6, 3, 58), 'result': '0.03685428434379973', 'result_long': None, 'result_double': None}] Qualite : 0.03685428434379973 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20646322 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20646322%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20646322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20646325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20646326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20646327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20646328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20646329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20646330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20646331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20646332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20646333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20646334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20646335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20646336, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20646322 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20646322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964756, 0.03685428434379973, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20646325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20646326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20646327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20646328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20646329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20646330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20646331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20646332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20646333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20646334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20646335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20646336, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20647473 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597291, 'mtr_portfolio_id': 20647473, 'created_at': datetime.datetime(2025, 2, 18, 18, 47), 'result': '0.03163335488112646', 'result_long': None, 'result_double': None}] Qualite : 0.03163335488112646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20647473 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20647473%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20647473 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647488, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20647473 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20647473 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964757, 0.03163335488112646, "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647488, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20647549 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597297, 'mtr_portfolio_id': 20647549, 'created_at': datetime.datetime(2025, 2, 18, 19, 2, 57), 'result': '0.0416374154977994', 'result_long': None, 'result_double': None}] Qualite : 0.0416374154977994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20647549 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20647549%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20647549 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647587, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20647549 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20647549 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964758, 0.0416374154977994, "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647587, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20648298 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597345, 'mtr_portfolio_id': 20648298, 'created_at': datetime.datetime(2025, 2, 18, 19, 17), 'result': '0.03799289322438351', 'result_long': None, 'result_double': None}] Qualite : 0.03799289322438351 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20648298 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20648298%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20648298 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20648302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20648303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20648304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20648305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20648306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20648307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20648308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20648309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20648310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20648311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20648312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20648313, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20648298 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20648298 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964759, 0.03799289322438351, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20648302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20648303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20648304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20648305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20648306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20648307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20648308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20648309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20648310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20648311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20648312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20648313, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20649026 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597379, 'mtr_portfolio_id': 20649026, 'created_at': datetime.datetime(2025, 2, 18, 19, 35), 'result': '0.035756524315015366', 'result_long': None, 'result_double': None}] Qualite : 0.035756524315015366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20649026 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20649026%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20649026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20649035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649042, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20649026 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20649026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964760, 0.035756524315015366, "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20649035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649042, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20649585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597414, 'mtr_portfolio_id': 20649585, 'created_at': datetime.datetime(2025, 2, 18, 19, 46, 59), 'result': '0.03892261891815917', 'result_long': None, 'result_double': None}] Qualite : 0.03892261891815917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20649585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20649585_18-02-2025_19_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20649585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20649585_18-02-2025_19_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20649622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649633, 'pht': 3726}}" where mtr_portfolio_id = 20649585 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20649585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964761, 0.03892261891815917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20649585_18-02-2025_19_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20649622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649633, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20650403 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597455, 'mtr_portfolio_id': 20650403, 'created_at': datetime.datetime(2025, 2, 18, 20, 2, 57), 'result': '0.04600657526929947', 'result_long': None, 'result_double': None}] Qualite : 0.04600657526929947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20650403 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20650403%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20650403 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20650475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650478, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20650403 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20650403 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964762, 0.04600657526929947, "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20650475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650478, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20650930 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597490, 'mtr_portfolio_id': 20650930, 'created_at': datetime.datetime(2025, 2, 18, 20, 18, 58), 'result': '0.03599330427141201', 'result_long': None, 'result_double': None}] Qualite : 0.03599330427141201 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20650930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20650930_18-02-2025_20_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20650930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20650930_18-02-2025_20_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20650956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650967, 'pht': 3726}}" where mtr_portfolio_id = 20650930 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20650930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964763, 0.03599330427141201, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20650930_18-02-2025_20_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20650956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650967, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20651748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597537, 'mtr_portfolio_id': 20651748, 'created_at': datetime.datetime(2025, 2, 18, 20, 32, 59), 'result': '0.050668646704690054', 'result_long': None, 'result_double': None}] Qualite : 0.050668646704690054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20651748 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20651748%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20651748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20651800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20651801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20651802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20651803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20651804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20651805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20651806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20651807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20651808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20651809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20651810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20651811, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20651748 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20651748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964764, 0.050668646704690054, "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20651800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20651801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20651802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20651803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20651804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20651805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20651806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20651807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20651808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20651809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20651810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20651811, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20652673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597581, 'mtr_portfolio_id': 20652673, 'created_at': datetime.datetime(2025, 2, 18, 21, 7), 'result': '0.03600070585191295', 'result_long': None, 'result_double': None}] Qualite : 0.03600070585191295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20652673 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20652673%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20652673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20652701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20652702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20652703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20652704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20652705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20652706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20652707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20652708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20652709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20652710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20652711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20652712, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20652673 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20652673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964765, 0.03600070585191295, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20652701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20652702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20652703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20652704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20652705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20652706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20652707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20652708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20652709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20652710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20652711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20652712, 'pht': 3726}, 'url_report': ''}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20654148 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2597668, 'mtr_portfolio_id': 20654148, 'created_at': datetime.datetime(2025, 2, 18, 21, 19), 'result': '0.026416458550533737', 'result_long': None, 'result_double': None}] Qualite : 0.026416458550533737 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20654148 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20654148%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20654148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20654224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20654225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20654226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20654227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20654228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20654229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20654230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20654231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20654232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20654233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20654234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20654235, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20654148 and dashboard_run_id = 1619894 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20654148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8964766, 0.026416458550533737, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20654224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20654225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20654226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20654227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20654228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20654229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20654230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20654231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20654232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20654233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20654234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20654235, 'pht': 3726}, 'url_report': ''}") 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 (20627257,20627333,20627623,20628039,20658008,20658009,20658010,20658011,20658012,20658013,20658014,20658015,20628629,20628631,20628634,20630461,20630937,20631279,20631638,20632085,20632783,20633499,20634216,20634860,20635587,20636115,20637505,20637752,20638012,20638733,20639212,20639909,20640740,20640945,20641544,20641942,20642636,20643020,20643840,20644649,20646322,20647473,20647549,20648298,20649026,20649585,20650403,20650930,20651748,20652673,20654148) result : ((1338290931,), (1338290951,), (1338290982,), (1338291036,), (1338291208,), (1338291226,), (1338291533,), (1338291666,), (1338291685,), (1338291687,), (1338291802,), (1338291804,), (1338291822,), (1338291871,), (1338291873,), (1338291902,), (1338291903,), (1338291922,), (1338291924,), (1338291925,), (1338291945,), (1338291947,), (1338292657,), (1338292660,), (1338292662,), (1338292691,), (1338292679,), (1338292683,), (1338292685,), (1338292947,), (1338292948,), (1338292949,), (1338292950,), (1338292971,), (1338292972,), (1338292973,), (1338292974,), (1338293125,), (1338293182,), (1338293183,), (1338293184,), (1338293203,), (1338293204,), (1338293205,), (1338293206,), (1338293213,), (1338293219,), (1338293242,), (1338293243,), (1338293244,), (1338293245,), (1338293247,), (1338293249,), (1338293365,), (1338293461,), (1338293528,), (1338293556,), (1338293557,), (1338293558,), (1338293559,), (1338293561,), (1338293562,), (1338293584,), (1338293622,), (1338293629,), (1338293641,), (1338293651,), (1338293653,), (1338293779,), (1338293788,), (1338293790,), (1338293793,), (1338293806,), (1338293808,), (1338293810,), (1338293812,), (1338293815,), (1338293847,), (1338293849,), (1338293851,), (1338293853,), (1338293855,), (1338293870,), (1338293872,), (1338293875,), (1338293927,), (1338293929,), (1338293931,), (1338293933,), (1338293936,), (1338293938,), (1338293960,), (1338293964,), (1338293971,), (1338293975,), (1338293978,), (1338294010,), (1338294001,), (1338294003,), (1338294005,), (1338294007,), (1338294024,), (1338294050,), (1338294119,), (1338294204,), (1338294269,), (1338294651,), (1338294653,), (1338294655,), (1338294657,), (1338294659,), (1338294662,), (1338294702,), (1338294704,), (1338294706,), (1338294708,), (1338294733,), (1338294735,), (1338294738,), (1338294740,), (1338294742,), (1338294745,), (1338294757,), (1338294759,), (1338294761,), (1338294763,), (1338294765,), (1338294788,), (1338294790,), (1338294792,), (1338294794,), (1338294832,), (1338294835,), (1338294838,), (1338294842,), (1338294846,), (1338294849,), (1338294864,), (1338294868,), (1338294871,), (1338294874,), (1338294904,), (1338294906,), (1338294908,), (1338294919,), (1338294956,), (1338294960,), (1338294966,), (1338294968,), (1338294990,), (1338295012,), (1338295014,), (1338295016,), (1338295018,), (1338295041,), (1338295043,), (1338295408,), (1338295413,), (1338295417,), (1338295424,), (1338295430,), (1338295433,), (1338295434,), (1338295456,), (1338299997,), (1338299999,), (1338300002,), (1338300005,), (1338300008,), (1338300029,), (1338300030,), (1338300032,), (1338300034,), (1338300035,), (1338300038,), (1338300061,), (1338300063,), (1338300090,), (1338300091,), (1338300093,), (1338300094,), (1338300095,), (1338300099,), (1338300120,), (1338300123,), (1338300126,), (1338300128,), (1338300130,), (1338300152,), (1338300153,), (1338300155,), (1338300157,), (1338300187,), (1338300189,), (1338300192,), (1338300194,), (1338300196,), (1338300199,), (1338300222,), (1338300224,), (1338300226,), (1338300252,), (1338300255,), (1338300259,), (1338300263,), (1338300266,), (1338300270,), (1338300287,), (1338300289,), (1338300292,), (1338300295,), (1338300316,), (1338300319,), (1338300323,), (1338300327,), (1338300330,), (1338300333,), (1338300348,), (1338300350,), (1338300352,), (1338300355,), (1338300358,), (1338300379,), (1338300382,), (1338300386,), (1338300390,), (1338300392,), (1338300411,), (1338300414,), (1338300417,), (1338300420,), (1338300423,), (1338300426,), (1338300444,), (1338300447,), (1338300451,), (1338300455,), (1338300493,), (1338300479,), (1338300481,), (1338300483,), (1338300486,), (1338300489,), (1338300511,), (1338300514,), (1338300517,), (1338300519,), (1338300542,), (1338300545,), (1338300549,), (1338300555,), (1338300560,), (1338300565,), (1338300574,), (1338300581,), (1338300583,), (1338300586,), (1338300590,), (1338300593,), (1338300603,), (1338300605,), (1338300608,), (1338300628,), (1338300630,), (1338300632,), (1338300634,), (1338300636,), (1338300641,), (1338300654,), (1338300657,), (1338300660,), (1338300663,), (1338300684,), (1338300686,), (1338300689,), (1338300692,), (1338300695,), (1338300699,), (1338300714,), (1338300716,), (1338300719,), (1338300738,), (1338300740,), (1338300742,), (1338300744,), (1338300747,), (1338300763,), (1338300765,), (1338300768,), (1338300773,), (1338300777,), (1338300780,), (1338300796,), (1338300798,), (1338300801,), (1338300804,), (1338300829,), (1338300833,), (1338300837,), (1338300841,), (1338300845,), (1338300861,), (1338300863,), (1338300865,), (1338300868,), (1338300871,), (1338300892,), (1338300895,), (1338300924,), (1338300922,), (1338300946,), (1338300948,), (1338300950,), (1338300953,), (1338300957,), (1338300960,), (1338300974,), (1338300977,), (1338300980,), (1338300983,), (1338301007,), (1338301009,), (1338301012,), (1338301015,), (1338301019,), (1338301022,), (1338301046,), (1338301048,), (1338301050,), (1338301052,), (1338301077,), (1338301079,), (1338301082,), (1338301085,), (1338301088,), (1338301110,), (1338301111,), (1338301113,), (1338301115,), (1338301117,), (1338301143,), (1338301144,), (1338301146,), (1338301175,), (1338301176,), (1338301178,), (1338301180,), (1338301181,), (1338301183,), (1338301207,), (1338301208,), (1338301210,), (1338301236,), (1338301237,), (1338301239,), (1338301241,), (1338301242,), (1338301244,), (1338301269,), (1338301270,), (1338301272,), (1338301273,), (1338301299,), (1338301334,), (1338301338,), (1338301345,), (1338301351,), (1338301358,), (1338301364,), (1338301375,), (1338301377,), (1338301382,), (1338301387,), (1338301389,), (1338301413,), (1338303198,), (1338303803,), (1338303806,), (1338303809,), (1338303812,), (1338303831,), (1338303834,), (1338303837,), (1338303840,), (1338303843,), (1338303876,), (1338303880,), (1338303884,), (1338303907,), (1338303910,), (1338303917,), (1338303920,), (1338303945,), (1338303948,), (1338303976,), (1338303980,), (1338303987,), (1338303997,), (1338304121,), (1338304123,), (1338304127,), (1338304130,), (1338304133,), (1338304167,), (1338304174,), (1338304186,), (1338304193,), (1338304196,), (1338304199,), (1338304217,), (1338304220,), (1338304225,), (1338304262,), (1338304264,), (1338304267,), (1338304272,), (1338304276,), (1338304280,), (1338304301,), (1338304304,), (1338304307,), (1338304311,), (1338304314,), (1338304318,), (1338304348,), (1338304351,), (1338304355,), (1338304382,), (1338304387,), (1338304391,), (1338304418,), (1338304423,), (1338304428,), (1338304432,), (1338304465,), (1338304470,), (1338304507,), (1338304543,), (1338304546,), (1338304553,), (1338304564,), (1338304733,), (1338304738,), (1338304957,), (1338304991,), (1338305027,), (1338305205,), (1338305415,), (1338305447,), (1338306747,), (1338306717,), (1338306875,), (1338306878,), (1338307769,), (1338307840,), (1338307902,), (1338307904,), (1338307937,), (1338307978,), (1338307982,), (1338307987,), (1338307991,), (1338308021,), (1338308025,), (1338308029,), (1338308032,), (1338308037,), (1338308123,), (1338308129,), (1338308134,), (1338308138,), (1338308204,), (1338308208,), (1338308212,), (1338308216,), (1338308221,), (1338308267,), (1338308276,), (1338308279,), (1338308283,), (1338308309,), (1338308313,), (1338308345,), (1338308368,), (1338308374,), (1338308420,), (1338308422,), (1338308426,), (1338308430,), (1338308434,), (1338308438,), (1338308459,), (1338308539,), (1338308630,), (1338308656,), (1338308659,), (1338308710,), (1338308700,), (1338308703,), (1338308707,), (1338308736,), (1338308746,), (1338309125,), (1338309127,), (1338309256,), (1338309291,), (1338309293,), (1338309297,), (1338309299,), (1338309302,), (1338309341,), (1338309342,), (1338309344,), (1338309368,), (1338309411,), (1338309419,), (1338309422,), (1338309469,), (1338309470,), (1338309503,), (1338309505,), (1338309507,), (1338309508,), (1338309509,), (1338309511,), (1338309541,), (1338309543,), (1338309549,), (1338309551,), (1338309588,), (1338309590,), (1338309591,), (1338309593,), (1338309596,), (1338309600,), (1338309760,), (1338309761,), (1338309765,), (1338309768,), (1338309796,), (1338309798,), (1338309811,), (1338309814,), (1338309817,), (1338309819,), (1338309862,), (1338309864,), (1338309867,), (1338309872,), (1338309930,), (1338309934,), (1338309938,), (1338309943,), (1338309946,), (1338309949,), (1338309999,), (1338309985,), (1338309988,), (1338309991,), (1338309992,), (1338309995,), (1338310052,), (1338310061,), (1338310064,), (1338310109,), (1338310112,), (1338310115,), (1338310118,), (1338310122,), (1338310147,), (1338310149,), (1338310153,), (1338310156,), (1338310205,), (1338310206,), (1338310209,), (1338310212,), (1338310217,), (1338310389,), (1338310393,), (1338310397,), (1338310407,), (1338310412,), (1338310420,), (1338310574,), (1338310793,), (1338310973,), (1338311189,), (1338311384,), (1338311453,), (1338311462,), (1338311479,), (1338311497,), (1338311696,), (1338311699,), (1338311704,), (1338311710,), (1338311715,), (1338311744,), (1338311746,), (1338311749,), (1338311751,), (1338311783,), (1338311785,), (1338311788,), (1338311790,), (1338311793,), (1338311796,), (1338311828,), (1338311829,), (1338311832,), (1338311834,), (1338311891,), (1338311893,), (1338311896,), (1338311960,), (1338311965,), (1338311969,), (1338311973,), (1338311974,), (1338312004,), (1338312053,), (1338312057,), (1338312062,), (1338312064,), (1338312279,), (1338312242,), (1338312253,), (1338312257,), (1338312263,), (1338312275,), (1338312306,), (1338312310,), (1338312319,), (1338312331,), (1338312366,), (1338312370,), (1338312374,), (1338312379,), (1338312381,), (1338312460,), (1338312463,), (1338312467,), (1338313098,), (1338313103,), (1338313105,), (1338313108,), (1338313111,), (1338313143,), (1338313148,), (1338313151,), (1338313173,), (1338313176,), (1338313179,), (1338313254,), (1338313270,), (1338313272,), (1338313315,), (1338313317,), (1338313319,), (1338313333,), (1338313334,), (1338313341,), (1338313387,), (1338313389,), (1338313394,), (1338313400,), (1338313444,), (1338313447,), (1338313450,), (1338313451,), (1338313525,), (1338313531,), (1338313532,), (1338313535,), (1338313537,), (1338313581,), (1338313582,), (1338313584,), (1338313586,), (1338313666,), (1338313667,), (1338313670,), (1338313672,), (1338313779,), (1338313784,), (1338313788,), (1338313863,), (1338313861,), (1338313973,), (1338313975,), (1338313978,), (1338313982,), (1338314077,), (1338314078,), (1338314081,), (1338314084,), (1338314118,), (1338314120,), (1338314123,), (1338314125,), (1338314126,), (1338314131,), (1338314157,), (1338314158,), (1338314203,), (1338314204,), (1338314206,), (1338314217,), (1338314225,), (1338314233,), (1338314974,), (1338314977,), (1338314980,), (1338314985,), (1338315060,), (1338315137,), (1338315247,), (1338315254,), (1338315330,), (1338315517,), (1338315518,), (1338315520,), (1338315521,), (1338315524,), (1338315528,), (1338315552,), (1338315554,), (1338315558,), (1338315570,), (1338315572,), (1338315581,), (1338315623,), (1338315625,), (1338315627,), (1338315630,), (1338315633,), (1338315670,), (1338315706,), (1338315708,), (1338315710,), (1338315712,), (1338315752,), (1338315753,), (1338315755,), (1338315757,), (1338315805,), (1338315807,), (1338315809,), (1338315810,), (1338315812,), (1338315815,), (1338315865,), (1338315867,), (1338315869,), (1338315873,), (1338315876,), (1338315956,), (1338315929,), (1338315932,), (1338315935,), (1338315936,), (1338315992,), (1338315994,), (1338315997,), (1338316000,), (1338316002,), (1338316009,), (1338316036,), (1338316038,), (1338316061,), (1338316063,), (1338316068,), (1338316437,), (1338316500,), (1338316503,), (1338316638,), (1338316640,), (1338316724,), (1338316728,), (1338316732,), (1338316737,), (1338316739,), (1338316775,), (1338316779,), (1338316783,), (1338316787,), (1338316795,), (1338316847,), (1338316859,), (1338316862,), (1338316981,), (1338317011,), (1338317014,), (1338317016,), (1338317052,), (1338317054,), (1338317057,), (1338317059,), (1338317062,), (1338317064,), (1338317090,), (1338317091,), (1338317093,), (1338317100,), (1338317140,), (1338317142,), (1338317144,), (1338317146,), (1338317148,), (1338317624,), (1338317625,), (1338317628,), (1338317631,), (1338317828,), (1338317852,), (1338317904,), (1338317911,), (1338317949,), (1338317996,), (1338317997,), (1338317999,), (1338318009,), (1338318013,), (1338318032,), (1338318034,), (1338318039,), (1338318041,), (1338318104,), (1338318093,), (1338318096,), (1338318099,), (1338318102,), (1338318133,), (1338318134,), (1338318136,), (1338318167,), (1338318168,), (1338318170,), (1338318203,), (1338318204,), (1338318206,), (1338318226,), (1338318227,), (1338318229,), (1338318231,), (1338318232,), (1338318766,), (1338318797,), (1338318878,), (1338318888,), (1338318921,), (1338318925,), (1338319007,), (1338319009,), (1338319011,), (1338319013,), (1338319040,), (1338319041,), (1338319043,), (1338319045,), (1338319047,), (1338319049,), (1338319075,), (1338319076,), (1338319078,), (1338319080,), (1338319263,), (1338319267,), (1338319269,), (1338319292,), (1338319294,), (1338319297,), (1338319300,), (1338319323,), (1338319326,), (1338319337,), (1338319339,), (1338319341,), (1338319344,), (1338319357,), (1338319359,), (1338319362,), (1338319365,), (1338319385,), (1338319387,), (1338319888,), (1338319580,), (1338319978,), (1338319981,), (1338319992,), (1338319996,), (1338319998,), (1338320001,), (1338320095,), (1338320098,), (1338320102,), (1338320112,), (1338320122,), (1338321052,), (1338321124,), (1338321145,), (1338321149,), (1338321370,), (1338321374,), (1338321380,), (1338321383,), (1338321602,), (1338321607,), (1338321611,), (1338321614,), (1338321618,), (1338321645,), (1338321648,), (1338321653,), (1338321657,), (1338321741,), (1338321746,), (1338321750,), (1338321754,), (1338321822,), (1338321825,), (1338321829,), (1338321832,), (1338321836,), (1338321839,), (1338321860,), (1338321863,), (1338322028,), (1338322043,), (1338322112,), (1338322110,), (1338322139,), (1338322142,), (1338322184,), (1338322193,), (1338322196,), (1338322213,), (1338322313,), (1338322316,), (1338322425,), (1338322485,), (1338322575,), (1338322721,), (1338322725,), (1338322729,), (1338322731,), (1338322733,), (1338322753,), (1338322756,), (1338322759,), (1338322763,), (1338322766,), (1338322769,), (1338323435,), (1338323439,), (1338323443,), (1338323445,), (1338323448,), (1338323674,), (1338323677,), (1338323680,), (1338323684,), (1338323748,), (1338323752,), (1338323848,), (1338323859,), (1338323863,), (1338323866,), (1338323886,), (1338323889,), (1338323893,), (1338323897,), (1338323972,), (1338327767,), (1338336443,), (1338336479,), (1338336482,), (1338336485,), (1338336543,), (1338336590,), (1338336633,), (1338336745,), (1338336849,), (1338336942,), (1338337031,), (1338337088,), (1338337109,), (1338338909,), (1338339074,), (1338339133,), (1338339135,), (1338339136,), (1338339168,), (1338339170,), (1338339204,), (1338339205,), (1338339207,), (1338339209,), (1338339210,), (1338339237,), (1338339238,), (1338339240,), (1338339242,), (1338339245,), (1338339271,), (1338339272,), (1338339274,), (1338339298,), (1338339299,), (1338339301,), (1338339303,), (1338339304,), (1338339307,), (1338339332,), (1338339334,), (1338339423,), (1338339523,), (1338339617,), (1338339973,), (1338339978,), (1338340006,), (1338340008,), (1338340010,), (1338340013,), (1338340015,), (1338340016,), (1338340033,), (1338340035,), (1338340038,), (1338340041,), (1338340045,), (1338340083,), (1338340070,), (1338340075,), (1338340078,), (1338340080,), (1338340305,), (1338340306,), (1338340363,), (1338340365,), (1338340368,), (1338340370,), (1338340426,), (1338340429,), (1338340435,), (1338340440,), (1338340519,), (1338340522,), (1338340525,), (1338340561,), (1338340563,), (1338340566,), (1338340568,), (1338340618,), (1338340619,), (1338340622,), (1338340629,), (1338341646,), (1338341704,), (1338341796,), (1338341857,), (1338341947,), (1338342421,), (1338342440,), (1338342473,), (1338342495,), (1338342522,), (1338342523,), (1338342524,), (1338342526,), (1338342539,), (1338342565,), (1338342567,), (1338342578,), (1338342580,), (1338342581,), (1338342715,), (1338342785,), (1338342860,), (1338342880,), (1338342916,), (1338342918,), (1338342920,), (1338342921,), (1338342924,), (1338342927,), (1338342945,), (1338342947,), (1338342994,), (1338342998,), (1338343000,), (1338344096,), (1338343972,), (1338343973,), (1338343974,), (1338344091,), (1338344195,), (1338344196,), (1338344247,), (1338344248,), (1338344250,), (1338344252,), (1338344253,), (1338344325,), (1338344327,), (1338344328,), (1338344330,), (1338344333,), (1338344336,), (1338344354,), (1338344355,), (1338344357,), (1338344359,), (1338344387,), (1338344391,), (1338344397,), (1338344402,), (1338344405,), (1338344451,), (1338344455,), (1338344457,), (1338344459,), (1338344460,), (1338344487,), (1338344488,), (1338344490,), (1338344497,), (1338344505,), (1338344530,), (1338344533,), (1338344535,), (1338344564,), (1338344567,), (1338344571,), (1338344577,), (1338344583,), (1338344586,), (1338344630,), (1338344631,), (1338344633,), (1338344635,), (1338344638,), (1338344659,), (1338344660,), (1338344662,), (1338344664,), (1338344665,), (1338344715,), (1338344718,), (1338344742,), (1338344745,), (1338344755,), (1338344924,), (1338344780,), (1338344783,), (1338344785,), (1338344808,), (1338345004,), (1338345021,), (1338345023,), (1338345041,), (1338345045,), (1338345046,), (1338345086,), (1338345087,), (1338345089,), (1338345091,), (1338345131,), (1338345134,), (1338345136,), (1338345138,), (1338345140,), (1338345142,), (1338345157,), (1338345159,), (1338345161,), (1338345188,), (1338345197,), (1338345200,), (1338345201,), (1338345204,), (1338345236,), (1338345239,), (1338345242,), (1338345245,), (1338345247,), (1338345277,), (1338345283,), (1338345383,), (1338345425,), (1338345429,), (1338345450,), (1338345451,), (1338345485,), (1338345487,), (1338345489,), (1338345491,), (1338345494,), (1338345511,), (1338345515,), (1338345516,), (1338345518,), (1338345539,), (1338345541,), (1338345543,), (1338345545,), (1338345613,), (1338345627,), (1338345652,), (1338345662,), (1338345688,), (1338345718,), (1338345720,), (1338345723,), (1338345726,), (1338345729,), (1338345788,), (1338345777,), (1338345781,), (1338345784,), (1338345969,), (1338346371,), (1338346374,), (1338346377,), (1338346412,), (1338346414,), (1338346417,), (1338346420,), (1338346425,), (1338346458,), (1338346476,), (1338346679,), (1338346846,), (1338346986,), (1338347155,), (1338347157,), (1338347160,), (1338347163,), (1338347165,), (1338347272,), (1338347336,), (1338347395,), (1338347401,), (1338347405,), (1338347504,), (1338347507,), (1338347512,), (1338347517,), (1338347535,), (1338347547,), (1338347549,), (1338347573,), (1338347590,), (1338347597,), (1338347628,), (1338347630,), (1338347738,), (1338347741,), (1338347744,), (1338347748,), (1338347751,), (1338347820,), (1338347822,), (1338347825,), (1338347867,), (1338347880,), (1338347882,), (1338347885,), (1338347888,), (1338347890,), (1338347915,), (1338347917,), (1338347920,), (1338347943,), (1338347946,), (1338347949,), (1338347952,), (1338347954,), (1338347973,), (1338349314,), (1338349393,), (1338349394,), (1338349396,), (1338349566,), (1338349571,), (1338349573,), (1338349617,), (1338349620,), (1338349622,), (1338349624,), (1338349627,), (1338349640,), (1338349643,), (1338349646,), (1338349649,), (1338349653,), (1338349654,), (1338349665,), (1338349667,), (1338349669,), (1338349671,), (1338349674,), (1338349690,), (1338349691,), (1338349693,), (1338349727,), (1338349728,), (1338349734,), (1338349742,), (1338349759,), (1338349763,), (1338349827,), (1338349829,), (1338349831,), (1338349840,), (1338349844,), (1338349872,), (1338349933,), (1338349928,), (1338349929,), (1338349931,), (1338349956,), (1338349957,), (1338349959,), (1338349961,), (1338349987,), (1338349988,), (1338349990,), (1338349992,), (1338349994,), (1338350322,), (1338350323,), (1338350325,), (1338350327,), (1338350350,), (1338350351,), (1338350353,), (1338350355,), (1338350376,), (1338350383,), (1338350387,), (1338350389,), (1338350451,), (1338350453,), (1338350468,), (1338350472,), (1338350538,), (1338350541,), (1338350578,), (1338350657,), (1338350660,), (1338350683,), (1338350688,), (1338350692,), (1338350696,), (1338350812,), (1338350815,), (1338350822,), (1338350824,), (1338350992,), (1338350998,), (1338351004,), (1338351015,), (1338351027,), (1338351087,), (1338351074,), (1338351077,), (1338351080,), (1338351083,), (1338351109,), (1338351112,), (1338351115,), (1338351117,), (1338351128,), (1338351151,), (1338351198,), (1338351244,), (1338351259,), (1338351715,), (1338351793,), (1338351986,), (1338352078,), (1338352081,), (1338352255,), (1338352263,), (1338352267,), (1338352359,), (1338352362,), (1338352390,), (1338352392,), (1338352396,), (1338352425,), (1338352427,), (1338352433,), (1338352436,), (1338352466,), (1338352467,), (1338352471,), (1338352572,), (1338352576,), (1338352581,), (1338352642,), (1338352649,), (1338352652,), (1338352689,), (1338352694,), (1338352697,), (1338352699,), (1338352709,), (1338352713,), (1338352771,), (1338352773,), (1338352776,), (1338352779,), (1338352784,), (1338352795,), (1338352883,), (1338352886,), (1338352889,), (1338352893,), (1338353031,), (1338352977,), (1338352980,), (1338352982,), (1338352984,), (1338353096,), (1338353104,), (1338353114,), (1338353128,), (1338353136,), (1338353317,), (1338353384,), (1338353387,), (1338353390,), (1338353439,), (1338353441,), (1338353463,), (1338353468,), (1338353482,), (1338353576,), (1338353579,), (1338353630,), (1338353637,), (1338353641,), (1338353642,), (1338353725,), (1338353727,), (1338353730,), (1338353955,), (1338354179,), (1338355074,), (1338355175,), (1338355179,), (1338355205,), (1338355208,), (1338355211,), (1338355256,), (1338355260,), (1338355274,), (1338355283,), (1338355287,), (1338355290,), (1338355347,), (1338355348,), (1338355350,), (1338355351,), (1338355411,), (1338356399,), (1338356392,), (1338356394,), (1338356397,), (1338356418,), (1338356422,), (1338356425,), (1338356428,), (1338356432,), (1338356453,), (1338356458,), (1338356462,), (1338356682,), (1338356685,), (1338356711,), (1338356719,), (1338356723,), (1338356726,), (1338356729,), (1338356732,), (1338356778,), (1338356786,), (1338356792,), (1338356825,), (1338356829,), (1338356833,), (1338356835,), (1338356852,), (1338356855,), (1338356857,), (1338356865,), (1338356913,), (1338356916,), (1338356919,), (1338356923,), (1338356943,), (1338356946,), (1338356953,), (1338356961,), (1338356965,), (1338356991,), (1338356994,), (1338356998,), (1338357006,), (1338357014,), (1338357042,), (1338357045,), (1338357053,), (1338357059,), (1338357096,), (1338357085,), (1338357088,), (1338357308,), (1338357311,), (1338357315,), (1338357319,), (1338357321,), (1338357324,), (1338357364,), (1338357368,), (1338357372,), (1338357400,), (1338357403,), (1338357406,), (1338357413,), (1338357418,), (1338357449,), (1338357454,), (1338357457,), (1338357489,), (1338357492,), (1338357495,), (1338357545,), (1338357550,), (1338357552,), (1338357816,), (1338358354,), (1338358343,), (1338358346,), (1338358349,), (1338358352,), (1338358371,), (1338359576,), (1338359579,), (1338359582,), (1338359735,), (1338359997,), (1338360001,), (1338360002,), (1338360005,), (1338360008,), (1338360012,), (1338360683,), (1338360932,), (1338360934,), (1338361005,), (1338361025,), (1338361150,), (1338361453,), (1338361461,), (1338361465,), (1338361468,), (1338361470,), (1338361498,), (1338361499,), (1338361502,), (1338361506,), (1338361508,), (1338361527,), (1338361530,), (1338361533,), (1338361574,), (1338361575,), (1338361578,), (1338361581,), (1338361585,), (1338361587,), (1338361613,), (1338361615,), (1338361618,), (1338361621,), (1338361633,), (1338361646,), (1338361647,), (1338361650,), (1338361653,), (1338361655,), (1338361658,), (1338361696,), (1338361697,), (1338361730,), (1338361743,), (1338361862,), (1338361856,), (1338361857,), (1338361859,), (1338361861,), (1338362142,), (1338362145,), (1338362147,), (1338362314,), (1338362317,), (1338362319,), (1338362339,), (1338362423,), (1338362519,), (1338362616,), (1338362621,), (1338362624,), (1338362626,), (1338362658,), (1338362660,), (1338362755,), (1338362784,), (1338362785,), (1338362789,), (1338362791,), (1338362973,), (1338362986,), (1338362987,), (1338362990,), (1338362992,), (1338363019,), (1338363041,), (1338363045,), (1338363047,), (1338363073,), (1338363102,), (1338363104,), (1338363106,), (1338363108,), (1338363130,), (1338363131,), (1338363133,), (1338363135,), (1338363139,), (1338363160,), (1338363163,), (1338363166,), (1338363167,), (1338363220,), (1338363221,), (1338363224,), (1338363286,), (1338363293,), (1338363296,), (1338363306,), (1338363309,), (1338363325,), (1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,), (1338370229,), (1338370679,), (1338370684,), (1338370764,), (1338370766,), (1338370769,), (1338370783,), (1338371274,), (1338371310,), (1338371396,), (1338371388,), (1338371390,), (1338371419,), (1338371421,), (1338371424,), (1338371427,), (1338371429,), (1338371438,), (1338371709,), (1338371800,), (1338371803,), (1338371830,), (1338371943,), (1338371944,), (1338371948,), (1338371950,), (1338371978,), (1338371980,), (1338371983,), (1338371988,), (1338372009,), (1338372018,), (1338372127,), (1338372130,), (1338372133,), (1338372134,), (1338372289,), (1338372332,), (1338372377,), (1338372790,), (1338372799,), (1338372804,), (1338372810,), (1338372815,), (1338372832,), (1338372841,), (1338372844,), (1338372849,), (1338372851,), (1338372871,), (1338372873,), (1338372881,), (1338372885,), (1338372921,), (1338372923,), (1338372926,), (1338372928,), (1338372964,), (1338372966,), (1338372969,), (1338372971,), (1338372973,), (1338373116,), (1338373120,), (1338373124,), (1338373129,), (1338373148,), (1338373166,), (1338373168,), (1338373173,), (1338373194,), (1338373189,), (1338373192,), (1338373218,), (1338373219,), (1338373220,), (1338373222,), (1338373227,), (1338373237,), (1338373255,), (1338373256,), (1338373258,), (1338373284,), (1338373440,), (1338373782,), (1338373825,), (1338373847,), (1338373895,), (1338373909,), (1338373912,), (1338373927,), (1338373932,), (1338373934,), (1338373951,), (1338373953,), (1338373961,), (1338373966,), (1338373993,), (1338373997,), (1338374001,), (1338374003,), (1338374030,), (1338374032,), (1338374035,), (1338374057,), (1338374061,), (1338374065,), (1338374088,), (1338374090,), (1338374094,), (1338374096,), (1338374102,), (1338374106,), (1338374119,), (1338374120,), (1338374122,), (1338374124,), (1338374179,), (1338374181,), (1338374183,), (1338374185,), (1338374213,), (1338374216,), (1338374219,), (1338374239,), (1338374253,), (1338374262,), (1338374265,), (1338374272,), (1338374299,), (1338374301,), (1338374303,), (1338374306,), (1338374331,), (1338374332,), (1338374335,), (1338374341,), (1338374357,), (1338374365,), (1338374554,), (1338374389,), (1338374391,), (1338374399,), (1338374738,), (1338374810,), (1338374825,), (1338374891,), (1338374899,), (1338374901,), (1338374903,), (1338374905,), (1338374907,), (1338374924,), (1338374925,), (1338374927,), (1338374929,), (1338374931,), (1338374973,), (1338374974,), (1338374976,), (1338374978,), (1338375024,), (1338375025,), (1338375027,), (1338375029,), (1338375031,), (1338375076,), (1338375077,), (1338375079,), (1338375084,), (1338375282,), (1338375283,), (1338375285,), (1338375383,), (1338375385,), (1338376295,), (1338376208,), (1338376264,), (1338376265,), (1338376288,), (1338376291,), (1338376432,), (1338376433,), (1338376435,), (1338376437,), (1338376438,), (1338376634,), (1338376636,), (1338376638,), (1338376687,), (1338376689,), (1338376692,), (1338376729,), (1338376730,), (1338376733,), (1338376737,), (1338376739,), (1338376740,), (1338376758,), (1338376760,), (1338376762,), (1338376766,), (1338376784,), (1338376785,), (1338376787,), (1338376816,), (1338376820,), (1338376823,), (1338376826,), (1338376830,), (1338376871,), (1338376881,), (1338376883,), (1338376887,), (1338376895,), (1338376905,), (1338376929,), (1338376931,), (1338376933,), (1338376934,), (1338376937,), (1338376949,), (1338376989,), (1338376991,), (1338376994,), (1338377000,), (1338377038,), (1338377042,), (1338377045,), (1338377060,), (1338377079,), (1338377081,), (1338377083,), (1338377085,), (1338377089,), (1338377124,), (1338377116,), (1338377117,), (1338377151,), (1338377152,), (1338377159,), (1338377258,), (1338377465,), (1338377470,), (1338377472,), (1338377473,), (1338377475,), (1338377961,), (1338377966,), (1338377974,), (1338377982,), (1338377983,), (1338377985,), (1338378027,), (1338378031,), (1338378034,), (1338378039,), (1338378041,), (1338378061,), (1338378065,), (1338378069,), (1338378073,), (1338378076,), (1338378079,), (1338378116,), (1338378118,), (1338378121,), (1338378147,), (1338378157,), (1338378247,), (1338378248,), (1338378285,), (1338378286,), (1338378330,), (1338378332,), (1338378334,), (1338378336,), (1338378337,), (1338378339,), (1338378365,), (1338378366,), (1338378368,), (1338378370,), (1338378372,), (1338378374,), (1338378401,), (1338378402,), (1338378404,), (1338378439,), (1338378441,), (1338378443,), (1338378445,), (1338378447,), (1338378450,), (1338378461,), (1338378462,), (1338378464,), (1338378468,), (1338378474,), (1338378476,), (1338378510,), (1338378515,), (1338378518,), (1338378522,), (1338378540,), (1338378542,), (1338378567,), (1338378558,), (1338378560,), (1338378562,), (1338378564,), (1338378565,), (1338378581,), (1338378582,), (1338378585,), (1338378610,), (1338378611,), (1338378641,), (1338378660,), (1338379026,), (1338379045,), (1338379047,), (1338379049,), (1338379270,), (1338379286,), (1338379296,), (1338379298,), (1338379300,), (1338379310,), (1338379449,), (1338379453,), (1338379455,), (1338379457,), (1338379458,), (1338379473,), (1338379474,), (1338379476,), (1338379508,), (1338379509,), (1338379511,), (1338379750,), (1338379901,), (1338379902,), (1338379906,), (1338379954,), (1338379955,), (1338379968,), (1338379982,), (1338379996,), (1338379999,), (1338380002,), (1338380005,), (1338380007,), (1338380088,), (1338380089,), (1338380091,), (1338380209,), (1338380210,), (1338380211,), (1338380213,), (1338380215,), (1338380218,), (1338380323,), (1338380305,), (1338380310,), (1338380317,), (1338380322,), (1338380335,), (1338380339,), (1338380343,), (1338380356,), (1338380364,), (1338380387,), (1338380422,), (1338380495,), (1338380508,), (1338380512,), (1338380514,), (1338380549,), (1338380657,), (1338380770,), (1338381010,), (1338381178,), (1338381351,), (1338381353,), (1338381355,), (1338381357,), (1338381361,), (1338381403,), (1338381430,), (1338381431,), (1338381433,), (1338381436,), (1338381438,), (1338381441,), (1338381454,), (1338381457,), (1338381465,), (1338381471,), (1338381489,), (1338381490,), (1338381492,), (1338381494,), (1338381496,), (1338381504,), (1338381604,), (1338381697,), (1338381790,), (1338381883,), (1338381969,), (1338382199,), (1338382225,), (1338382227,), (1338382228,), (1338382230,), (1338382260,), (1338382261,), (1338382263,), (1338382265,), (1338382266,), (1338382268,), (1338382521,), (1338382522,), (1338382525,), (1338382531,), (1338382574,), (1338382578,), (1338382581,), (1338382583,), (1338382587,), (1338382591,), (1338382601,), (1338382602,), (1338382604,), (1338382607,), (1338382610,), (1338382627,), (1338382634,), (1338382642,), (1338382656,), (1338382737,), (1338382725,), (1338382728,), (1338382731,), (1338382734,), (1338382980,), (1338382981,), (1338382983,), (1338382989,), (1338382993,), (1338383463,), (1338383519,), (1338383528,), (1338383541,), (1338383542,), (1338383638,), (1338383640,), (1338383645,), (1338383648,), (1338383672,), (1338383673,), (1338383675,), (1338383678,), (1338383682,), (1338383768,), (1338383770,), (1338383775,), (1338383779,), (1338383982,), (1338384007,), (1338384021,), (1338384031,), (1338384039,), (1338384099,), (1338384101,), (1338384103,), (1338384104,), (1338384105,), (1338384111,), (1338384127,), (1338384128,), (1338384130,), (1338384152,), (1338384153,), (1338384155,), (1338384157,), (1338384159,), (1338384166,), (1338384167,), (1338384169,), (1338384171,), (1338386903,), (1338386837,), (1338386897,), (1338387109,), (1338387116,), (1338387193,), (1338387284,), (1338387286,), (1338387375,), (1338295452,), (1338295454,), (1338295524,), (1338295579,), (1338295632,), (1338295656,), (1338295708,), (1338295773,), (1338295775,), (1338295777,), (1338295779,), (1338295781,), (1338295783,), (1338296370,), (1338296372,), (1338296374,), (1338296376,), (1338296600,), (1338296602,), (1338296640,), (1338296644,), (1338296660,), (1338296662,), (1338296664,), (1338296666,), (1338296668,), (1338296670,), (1338296685,), (1338296688,), (1338296691,), (1338296694,), (1338296708,), (1338296710,), (1338296712,), (1338296715,), (1338296718,), (1338296730,), (1338296732,), (1338296734,), (1338296736,), (1338296739,), (1338296742,), (1338296759,), (1338296761,), (1338296763,), (1338296765,), (1338296781,), (1338296783,), (1338296785,), (1338296787,), (1338296789,), (1338296811,), (1338296812,), (1338296813,), (1338296831,), (1338296832,), (1338296833,), (1338296834,), (1338296836,), (1338296837,), (1338296853,), (1338296854,), (1338296855,), (1338296856,), (1338296858,), (1338296860,), (1338296877,), (1338296879,), (1338296880,), (1338296881,), (1338296907,), (1338296900,), (1338296901,), (1338296902,), (1338296903,), (1338296905,), (1338296924,), (1338296925,), (1338296927,), (1338296928,), (1338296943,), (1338296944,), (1338296945,), (1338296947,), (1338296950,), (1338296954,), (1338296970,), (1338296971,), (1338296973,), (1338296976,), (1338296978,), (1338296982,), (1338296997,), (1338296999,), (1338297001,), (1338297004,), (1338297007,), (1338297022,), (1338297024,), (1338297025,), (1338297026,), (1338297028,), (1338297030,), (1338297047,), (1338297048,), (1338297049,), (1338297050,), (1338297069,), (1338297070,), (1338297071,), (1338297072,), (1338297073,), (1338297075,), (1338297093,), (1338297094,), (1338297095,), (1338297096,), (1338297098,), (1338297100,), (1338297117,), (1338297118,), (1338297119,), (1338297120,), (1338297139,), (1338297140,), (1338297141,), (1338297142,), (1338297143,), (1338297145,), (1338297163,), (1338297164,), (1338297165,), (1338297166,), (1338297190,), (1338297192,), (1338297194,), (1338297196,), (1338297197,), (1338297199,), (1338297219,), (1338297220,), (1338297221,), (1338297222,), (1338297224,), (1338297225,), (1338297243,), (1338297244,), (1338297246,), (1338297283,), (1338297282,), (1338297302,), (1338297303,), (1338297304,), (1338297305,), (1338297328,), (1338297329,), (1338297331,), (1338297334,), (1338297337,), (1338297341,), (1338297353,), (1338297355,), (1338297357,), (1338297359,), (1338297374,), (1338297377,), (1338297378,), (1338297382,), (1338297397,), (1338297399,), (1338297400,), (1338297404,), (1338297406,), (1338297424,), (1338297428,), (1338297429,), (1338297432,), (1338297450,), (1338297453,), (1338297456,), (1338297458,), (1338297461,), (1338297475,), (1338297477,), (1338297479,), (1338297482,), (1338297485,), (1338297489,), (1338297498,), (1338297501,), (1338297518,), (1338297520,), (1338297522,), (1338297525,), (1338297543,), (1338297546,), (1338297549,), (1338297554,), (1338297557,), (1338297566,), (1338297571,), (1338297573,), (1338297576,), (1338297581,), (1338297591,), (1338297593,), (1338297597,), (1338297600,), (1338297631,), (1338297619,), (1338297621,), (1338297624,), (1338297626,), (1338297628,), (1338297643,), (1338297648,), (1338297651,), (1338297653,), (1338297666,), (1338297669,), (1338297672,), (1338297675,), (1338297678,), (1338297689,), (1338297692,), (1338297694,), (1338297696,), (1338297699,), (1338297704,), (1338297716,), (1338297719,), (1338297721,), (1338297738,), (1338297740,), (1338297742,), (1338297744,), (1338297745,), (1338297750,), (1338297762,), (1338297764,), (1338297766,), (1338297768,), (1338297770,), (1338297782,), (1338297789,), (1338297792,), (1338297798,), (1338297809,), (1338297811,), (1338297813,), (1338297815,), (1338297818,), (1338297822,), (1338297831,), (1338297834,), (1338297836,), (1338297837,), (1338297840,), (1338297845,), (1338297860,), (1338297862,), (1338297880,), (1338297881,), (1338297883,), (1338297884,), (1338297903,), (1338297904,), (1338297905,), (1338297907,), (1338297925,), (1338297929,), (1338297934,), (1338297946,), (1338297948,), (1338297951,), (1338297952,), (1338297954,), (1338297980,), (1338297958,), (1338297963,), (1338297967,), (1338297971,), (1338297976,), (1338297994,), (1338297998,), (1338298002,), (1338298025,), (1338298027,), (1338298031,), (1338298034,), (1338298039,), (1338298044,), (1338298057,), (1338298059,), (1338298061,), (1338298064,), (1338298067,), (1338298072,), (1338298089,), (1338298092,), (1338298095,), (1338298096,), (1338298119,), (1338298122,), (1338298125,), (1338298127,), (1338298130,), (1338298149,), (1338298151,), (1338298153,), (1338298155,), (1338298159,), (1338298180,), (1338298184,), (1338298186,), (1338298189,), (1338298191,), (1338298214,), (1338298217,), (1338298219,), (1338298222,), (1338298224,), (1338298229,), (1338298246,), (1338298251,), (1338298257,), (1338298262,), (1338298269,), (1338298277,), (1338298283,), (1338298285,), (1338298286,), (1338298292,), (1338298297,), (1338298306,), (1338298322,), (1338298325,), (1338298327,), (1338298329,), (1338298331,), (1338298336,), (1338298349,), (1338298355,), (1338298359,), (1338298364,), (1338298367,), (1338298369,), (1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,), (1338298893,), (1338298898,), (1338298921,), (1338298930,), (1338298933,), (1338298936,), (1338298939,), (1338298943,), (1338298955,), (1338298958,), (1338298961,), (1338298964,), (1338298987,), (1338298993,), (1338298994,), (1338298999,), (1338299004,), (1338299009,), (1338299028,), (1338299033,), (1338299039,), (1338299045,), (1338299051,), (1338299054,), (1338299067,), (1338299071,), (1338299100,), (1338299103,), (1338299130,), (1338299134,), (1338299136,), (1338299140,), (1338299143,), (1338299162,), (1338299198,), (1338299264,), (1338299268,), (1338299272,), (1338299276,), (1338299280,), (1338299306,), (1338299310,), (1338299315,), (1338299348,), (1338299353,), (1338299358,), (1338299363,), (1338299369,), (1338299401,), (1338299391,), (1338299395,), (1338299398,), (1338299429,), (1338299433,), (1338299438,), (1338299443,), (1338299448,), (1338299472,), (1338299475,), (1338299477,), (1338299480,), (1338299513,), (1338299517,), (1338299522,), (1338299526,), (1338299529,), (1338299558,), (1338299564,), (1338299569,), (1338299575,), (1338299582,), (1338299587,), (1338299606,), (1338299610,), (1338299615,), (1338299620,), (1338299648,), (1338299652,), (1338299656,), (1338299660,), (1338299692,), (1338299697,), (1338299702,), (1338299706,), (1338299709,), (1338299739,), (1338299742,), (1338299746,), (1338299750,), (1338299787,), (1338299791,), (1338299795,), (1338299799,), (1338299803,), (1338299806,), (1338299832,), (1338299837,), (1338299874,), (1338299878,), (1338300010,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18022025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20646322]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] map_info['map_portfolio_photo'] : {20646322: [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640]} final : True mtd_id 4302 list_pids : [1338370687, 1338368097, 1338368074, 1338368072, 1338368070, 1338368069, 1338368050, 1338368048, 1338368044, 1338368042, 1338368020, 1338368000, 1338367997, 1338367996, 1338367973, 1338367971, 1338367969, 1338367935, 1338367933, 1338367924, 1338367923, 1338367913, 1338367868, 1338367855, 1338367854, 1338367815, 1338367798, 1338367791, 1338367589, 1338367504, 1338367409, 1338367309, 1338366641, 1338366640] Looping around the photos to save general results len do output : 1 /20646322Didn'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, '2598427') ('4302', '20646322', '1338370687', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368097', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368074', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368072', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368070', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368069', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368050', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368048', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368044', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368042', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368020', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338368000', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367997', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367996', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367973', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367971', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367969', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367935', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367933', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367924', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367923', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367913', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367868', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367855', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367854', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367815', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367798', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367791', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367589', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367504', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367409', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338367309', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366641', None, None, None, None, None, '2598427') ('4302', None, None, None, None, None, None, None, '2598427') ('4302', '20646322', '1338366640', None, None, None, None, None, '2598427') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '20646322', 'None', None, None, None, None, '2598427'), ('4302', '20646322', '1338370687', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368097', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368074', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368072', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368070', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368069', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368050', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368048', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368044', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368042', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368020', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338368000', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367997', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367996', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367973', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367971', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367969', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367935', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367933', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367924', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367923', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367913', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367868', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367855', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367854', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367815', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367798', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367791', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367589', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367504', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367409', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338367309', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338366641', None, None, None, None, None, '2598427'), ('4302', '20646322', '1338366640', None, None, None, None, None, '2598427')] time used for this insertion : 0.019466161727905273 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.202548265457153 time spend to save output : 0.019819021224975586 total time spend for step 5 : 13.222367286682129 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 (2598427) 1.95user 2.47system 0:24.08elapsed 18%CPU (0avgtext+0avgdata 153124maxresident)k 1032inputs+26552outputs (3major+60925minor)pagefaults 0swaps