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 : 580797 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 (2625807) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2625807) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901979 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2625807'] with mtr_portfolio_ids : ['20901979'] and first list_photo_ids : [] new path : /proc/580797/ Name: python3 Umask: 0002 State: R (running) Tgid: 580797 Ngid: 0 Pid: 580797 PPid: 580796 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 580797 NSpid: 580797 NSpgid: 577725 NSsid: 577725 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98780 kB VmRSS: 98780 kB RssAnon: 59764 kB RssFile: 39016 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 60 nonvoluntary_ctxt_switches: 108 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '580797', 'Ngid': '0', 'Pid': '580797', 'PPid': '580796', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '580797', 'NSpid': '580797', 'NSpgid': '577725', 'NSsid': '577725', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98780 kB', 'VmRSS': '98780 kB', 'RssAnon': '59764 kB', 'RssFile': '39016 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '60', 'nonvoluntary_ctxt_switches': '108'} ('datou_batch_current', '580797', '1106848', '0', '1106848', '865596', '98780', b'', 'marlene', '2625807') 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 (20901979) 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 (2625807 ) ) 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 (20901979) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340029189, 'portfolio_id': 20901979}, {'photo_id': 1340029088, 'portfolio_id': 20901979}, {'photo_id': 1340029083, 'portfolio_id': 20901979}, {'photo_id': 1340029079, 'portfolio_id': 20901979}, {'photo_id': 1340029076, 'portfolio_id': 20901979}, {'photo_id': 1340029073, 'portfolio_id': 20901979}, {'photo_id': 1340028888, 'portfolio_id': 20901979}, {'photo_id': 1340028884, 'portfolio_id': 20901979}, {'photo_id': 1340028881, 'portfolio_id': 20901979}, {'photo_id': 1340028877, 'portfolio_id': 20901979}, {'photo_id': 1340028858, 'portfolio_id': 20901979}, {'photo_id': 1340028854, 'portfolio_id': 20901979}, {'photo_id': 1340028848, 'portfolio_id': 20901979}, {'photo_id': 1340028831, 'portfolio_id': 20901979}, {'photo_id': 1340028827, 'portfolio_id': 20901979}, {'photo_id': 1340028784, 'portfolio_id': 20901979}, {'photo_id': 1340028769, 'portfolio_id': 20901979}, {'photo_id': 1340028619, 'portfolio_id': 20901979}, {'photo_id': 1340028453, 'portfolio_id': 20901979}, {'photo_id': 1340028410, 'portfolio_id': 20901979}, {'photo_id': 1340028407, 'portfolio_id': 20901979}, {'photo_id': 1340028402, 'portfolio_id': 20901979}, {'photo_id': 1340028391, 'portfolio_id': 20901979}, {'photo_id': 1340028056, 'portfolio_id': 20901979}, {'photo_id': 1340028049, 'portfolio_id': 20901979}, {'photo_id': 1340028046, 'portfolio_id': 20901979}, {'photo_id': 1340028043, 'portfolio_id': 20901979}, {'photo_id': 1340027516, 'portfolio_id': 20901979}, {'photo_id': 1340027274, 'portfolio_id': 20901979}, {'photo_id': 1340027143, 'portfolio_id': 20901979}, {'photo_id': 1340027138, 'portfolio_id': 20901979}, {'photo_id': 1340027134, 'portfolio_id': 20901979}, {'photo_id': 1340027129, 'portfolio_id': 20901979}, {'photo_id': 1340026600, 'portfolio_id': 20901979}, {'photo_id': 1340026597, 'portfolio_id': 20901979}, {'photo_id': 1340026593, 'portfolio_id': 20901979}, {'photo_id': 1340026514, 'portfolio_id': 20901979}, {'photo_id': 1340026474, 'portfolio_id': 20901979}, {'photo_id': 1340026457, 'portfolio_id': 20901979}, {'photo_id': 1340026453, 'portfolio_id': 20901979}, {'photo_id': 1340026236, 'portfolio_id': 20901979}, {'photo_id': 1340026115, 'portfolio_id': 20901979}] map_portfolio_id_photo_id: {20901979: [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115]} ##### 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 : 2.1269073486328125 #### 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 Sat Mar 1 05:36:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901979) 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 : 20901979 get user id for portfolio 20901979 get sub ptf for main ptf 20901979, type 3726 and hashtags ['cartonnette', 'papier', 'Carton_brun', 'Teint_Dans_La_Masse', 'Carton_gris', 'kraft', 'environnement', 'mal_croppe', 'autre_refus', 'metal', 'plastique', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901979 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','Carton_brun','Teint_Dans_La_Masse','Carton_gris','kraft','environnement','mal_croppe','autre_refus','metal','plastique','flou')) 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`=20901979 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','Carton_brun','Teint_Dans_La_Masse','Carton_gris','kraft','environnement','mal_croppe','autre_refus','metal','plastique','flou')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20901979, 'sub_port_id': 20901981, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530375, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'mal_croppe': {'main_port_id': 20901979, 'sub_port_id': 20901982, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530376, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'plastique': {'main_port_id': 20901979, 'sub_port_id': 20901983, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530377, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'cartonnette': {'main_port_id': 20901979, 'sub_port_id': 20901984, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530378, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'kraft': {'main_port_id': 20901979, 'sub_port_id': 20901985, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530379, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'Carton_gris': {'main_port_id': 20901979, 'sub_port_id': 20901986, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530380, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20901979, 'sub_port_id': 20901987, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530381, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'papier': {'main_port_id': 20901979, 'sub_port_id': 20901988, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530382, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'autre_refus': {'main_port_id': 20901979, 'sub_port_id': 20901989, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530383, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'flou': {'main_port_id': 20901979, 'sub_port_id': 20901990, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530384, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'Carton_brun': {'main_port_id': 20901979, 'sub_port_id': 20901991, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530385, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}, 'metal': {'main_port_id': 20901979, 'sub_port_id': 20901992, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530386, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20901981 , 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=20901979 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 (20901981) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901982 , 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=20901979 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 (20901982) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901983 , 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=20901979 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 (20901983) result : ((1340028420,), (1340028820,), (1340029339,), (1340037136,), (1340041754,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901984 , 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=20901979 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 (20901984) result : ((1340026747,), (1340028814,), (1340028815,), (1340028816,), (1340029174,), (1340029300,), (1340029301,), (1340029460,), (1340029461,), (1340035840,), (1340037113,), (1340037114,), (1340037115,), (1340041746,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901985 , 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=20901979 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 (20901985) result : ((1340028902,), (1340029180,), (1340029181,), (1340029369,), (1340035850,), (1340037137,), (1340037138,), (1340041756,), (1340041757,), (1340041758,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901986 , 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=20901979 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 (20901986) result : ((1340026670,), (1340026671,), (1340026673,), (1340028808,), (1340028809,), (1340028810,), (1340028885,), (1340028891,), (1340028892,), (1340029172,), (1340029173,), (1340029298,), (1340029299,), (1340029366,), (1340029367,), (1340035835,), (1340035837,), (1340035838,), (1340037110,), (1340037111,), (1340037112,), (1340037527,), (1340037528,), (1340037529,), (1340041742,), (1340041743,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901987 , 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=20901979 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 (20901987) result : ((1340026672,), (1340026742,), (1340026743,), (1340026744,), (1340028418,), (1340028794,), (1340028795,), (1340028796,), (1340028797,), (1340028798,), (1340028799,), (1340029171,), (1340029294,), (1340029343,), (1340029454,), (1340029455,), (1340029456,), (1340029457,), (1340029458,), (1340035832,), (1340035833,), (1340036881,), (1340037062,), (1340037063,), (1340037065,), (1340037066,), (1340037068,), (1340037069,), (1340041740,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901988 , 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=20901979 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 (20901988) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901989 , 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=20901979 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 (20901989) result : ((1340026669,), (1340028802,), (1340028803,), (1340029296,), (1340029344,), (1340037103,), (1340037104,), (1340037526,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901990 , 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=20901979 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 (20901990) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901991 , 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=20901979 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 (20901991) result : ((1340026748,), (1340028419,), (1340028817,), (1340028818,), (1340028886,), (1340028898,), (1340028899,), (1340028900,), (1340028901,), (1340029175,), (1340029176,), (1340029177,), (1340029178,), (1340029179,), (1340029322,), (1340029324,), (1340029326,), (1340029368,), (1340029462,), (1340029463,), (1340029464,), (1340029465,), (1340035843,), (1340035844,), (1340035845,), (1340035846,), (1340035847,), (1340035848,), (1340035849,), (1340037132,), (1340037133,), (1340037134,), (1340037135,), (1340037530,), (1340037531,), (1340041749,), (1340041750,), (1340041751,), (1340041752,), (1340041753,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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 20901992 , 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=20901979 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 (20901992) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901979) result : ((1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,)) 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 (1340026600) 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`=20901979 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','Carton_brun','Teint_Dans_La_Masse','Carton_gris','kraft','environnement','mal_croppe','autre_refus','metal','plastique','flou')) 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`=20901979 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','papier','Carton_brun','Teint_Dans_La_Masse','Carton_gris','kraft','environnement','mal_croppe','autre_refus','metal','plastique','flou')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20901979, 'sub_port_id': 20901993, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530387, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'mal_croppe': {'main_port_id': 20901979, 'sub_port_id': 20901994, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530388, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'plastique': {'main_port_id': 20901979, 'sub_port_id': 20901995, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530389, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'cartonnette': {'main_port_id': 20901979, 'sub_port_id': 20901996, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530390, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'kraft': {'main_port_id': 20901979, 'sub_port_id': 20901997, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530391, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'Carton_gris': {'main_port_id': 20901979, 'sub_port_id': 20901998, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530392, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20901979, 'sub_port_id': 20901999, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530393, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'papier': {'main_port_id': 20901979, 'sub_port_id': 20902000, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530394, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'autre_refus': {'main_port_id': 20901979, 'sub_port_id': 20902001, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530395, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'flou': {'main_port_id': 20901979, 'sub_port_id': 20902002, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530396, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'Carton_brun': {'main_port_id': 20901979, 'sub_port_id': 20902003, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530397, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 36, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}, 'metal': {'main_port_id': 20901979, 'sub_port_id': 20902004, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13530398, 'last_updated_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 1, 46, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 1, 36, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901993,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901981 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901994,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901982 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901995,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901983 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901996,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901984 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901997,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901985 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901998,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901986 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901999,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901987 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20902000,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901988 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20902001,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901989 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20902002,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901990 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20902003,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901991 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20902004,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901992 lien utilise dans velours : https://www.fotonower.com/velours/20901993,20901994,20901995,20901996,20901997,20901998,20901999,20902000,20902001,20902002,20902003,20902004?tags=environnement,mal_croppe,plastique,cartonnette,kraft,Carton_gris,Teint_Dans_La_Masse,papier,autre_refus,flou,Carton_brun,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20901979]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] map_info['map_portfolio_photo'] : {20901979: [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115]} final : False mtd_id 4302 list_pids : [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] Looping around the photos to save general results len do output : 1 /20901979. 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, '2625807') ('4302', '20901979', '1340029189', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029088', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029083', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029079', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029076', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029073', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028888', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028884', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028881', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028877', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028858', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028854', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028848', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028831', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028827', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028784', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028769', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028619', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028410', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028407', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028402', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028391', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028056', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028049', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028046', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028043', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027516', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027274', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027143', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027138', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027134', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027129', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026600', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026597', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026593', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026514', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026474', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026457', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026236', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026115', None, None, None, None, None, '2625807') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '20901979', "{'environnement': 20901981, 'mal_croppe': 20901982, 'plastique': 20901983, 'cartonnette': 20901984, 'kraft': 20901985, 'Carton_gris': 20901986, 'Teint_Dans_La_Masse': 20901987, 'papier': 20901988, 'autre_refus': 20901989, 'flou': 20901990, 'Carton_brun': 20901991, 'metal': 20901992}", None, None, None, None, '2625807'), ('4302', '20901979', '1340029189', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029088', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029083', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029079', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029076', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029073', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028888', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028884', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028881', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028877', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028858', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028854', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028848', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028831', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028827', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028784', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028769', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028619', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028453', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028410', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028407', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028402', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028391', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028056', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028049', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028046', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028043', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027516', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027274', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027143', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027138', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027134', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027129', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026600', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026597', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026593', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026514', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026474', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026457', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026453', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026236', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026115', None, None, None, None, None, '2625807')] time used for this insertion : 0.2694432735443115 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7180278301239014 time spend to save output : 0.26996612548828125 total time spend for step 1 : 1.9879939556121826 step2:final Sat Mar 1 05:36:02 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 (20901979) 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 20901979 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340026115,1340026514,1340026236,1340026474,1340026457,1340026453,1340026600,1340026597,1340026593,1340027516,1340027274,1340027143,1340027138,1340027134,1340027129,1340028056,1340028049,1340028046,1340028043,1340028410,1340028407,1340028391,1340028402,1340028784,1340028769,1340028619,1340028453,1340028858,1340028854,1340028848,1340028831,1340028827,1340028888,1340028884,1340028881,1340028877,1340029088,1340029083,1340029079,1340029076,1340029073,1340029189); 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([20901979]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} new output for save of step final : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] map_info['map_portfolio_photo'] : {20901979: [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115]} final : False mtd_id 4302 list_pids : [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] Looping around the photos to save general results len do output : 42 /1340029189.Didn't retrieve data . /1340029088.Didn't retrieve data . /1340029083.Didn't retrieve data . /1340029079.Didn't retrieve data . /1340029076.Didn't retrieve data . /1340029073.Didn't retrieve data . /1340028888.Didn't retrieve data . /1340028884.Didn't retrieve data . /1340028881.Didn't retrieve data . /1340028877.Didn't retrieve data . /1340028858.Didn't retrieve data . /1340028854.Didn't retrieve data . /1340028848.Didn't retrieve data . /1340028831.Didn't retrieve data . /1340028827.Didn't retrieve data . /1340028784.Didn't retrieve data . /1340028769.Didn't retrieve data . /1340028619.Didn't retrieve data . /1340028453.Didn't retrieve data . /1340028410.Didn't retrieve data . /1340028407.Didn't retrieve data . /1340028402.Didn't retrieve data . /1340028391.Didn't retrieve data . /1340028056.Didn't retrieve data . /1340028049.Didn't retrieve data . /1340028046.Didn't retrieve data . /1340028043.Didn't retrieve data . /1340027516.Didn't retrieve data . /1340027274.Didn't retrieve data . /1340027143.Didn't retrieve data . /1340027138.Didn't retrieve data . /1340027134.Didn't retrieve data . /1340027129.Didn't retrieve data . /1340026600.Didn't retrieve data . /1340026597.Didn't retrieve data . /1340026593.Didn't retrieve data . /1340026514.Didn't retrieve data . /1340026474.Didn't retrieve data . /1340026457.Didn't retrieve data . /1340026453.Didn't retrieve data . /1340026236.Didn't retrieve data . /1340026115.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, '2625807') ('4302', '20901979', '1340029189', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029088', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029083', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029079', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029076', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029073', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028888', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028884', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028881', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028877', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028858', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028854', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028848', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028831', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028827', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028784', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028769', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028619', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028410', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028407', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028402', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028391', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028056', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028049', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028046', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028043', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027516', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027274', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027143', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027138', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027134', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027129', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026600', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026597', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026593', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026514', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026474', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026457', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026236', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026115', None, None, None, None, None, '2625807') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 126 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', '20901979', '1340029189', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340029088', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340029083', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340029079', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340029076', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340029073', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028888', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028884', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028881', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028877', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028858', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028854', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028848', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028831', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028827', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028784', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028769', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028619', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028453', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028410', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028407', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028402', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028391', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028056', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028049', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028046', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340028043', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340027516', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340027274', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340027143', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340027138', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340027134', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340027129', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026600', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026597', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026593', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026514', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026474', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026457', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026453', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026236', '0.09726493885083097', None, None, None, None, '2625807'), ('4302', '20901979', '1340026115', '0.09726493885083097', None, None, None, None, '2625807')] time used for this insertion : 0.01910257339477539 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1860401630401611 time spend to save output : 0.020910263061523438 total time spend for step 2 : 1.2069504261016846 step3:velours_tree Sat Mar 1 05:36:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20901979: [{'environnement': 20901981, 'mal_croppe': 20901982, 'plastique': 20901983, 'cartonnette': 20901984, 'kraft': 20901985, 'Carton_gris': 20901986, 'Teint_Dans_La_Masse': 20901987, 'papier': 20901988, 'autre_refus': 20901989, 'flou': 20901990, 'Carton_brun': 20901991, 'metal': 20901992}]} input_args_next_step : {20901979: ()} output_args : {20901979: [{'environnement': 20901981, 'mal_croppe': 20901982, 'plastique': 20901983, 'cartonnette': 20901984, 'kraft': 20901985, 'Carton_gris': 20901986, 'Teint_Dans_La_Masse': 20901987, 'papier': 20901988, 'autre_refus': 20901989, 'flou': 20901990, 'Carton_brun': 20901991, 'metal': 20901992}]} args : 20901979 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 : ({'environnement': 20901981, 'mal_croppe': 20901982, 'plastique': 20901983, 'cartonnette': 20901984, 'kraft': 20901985, 'Carton_gris': 20901986, 'Teint_Dans_La_Masse': 20901987, 'papier': 20901988, 'autre_refus': 20901989, 'flou': 20901990, 'Carton_brun': 20901991, 'metal': 20901992},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901979) 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([20901979]) 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.3121144771575928 time spend to save output : 5.650520324707031e-05 total time spend for step 3 : 0.31217098236083984 step4:send_mail_cod Sat Mar 1 05:36:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} input_args_next_step : {1340029189: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340029189 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340029088 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340029083 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340029079 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340029076 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340029073 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028888 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028884 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028881 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028877 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028858 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028854 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028848 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028831 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028827 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028784 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028769 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028619 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028453 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028410 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028407 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028402 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028391 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028056 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028049 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028046 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340028043 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340027516 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340027274 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340027143 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340027138 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340027134 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340027129 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026600 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026597 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026593 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026514 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026474 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026457 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026453 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026236 depend.output_id : 0 input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ()} output_args : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',)} args : 1340026115 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 : {20901979: [{'environnement': 20901981, 'mal_croppe': 20901982, 'plastique': 20901983, 'cartonnette': 20901984, 'kraft': 20901985, 'Carton_gris': 20901986, 'Teint_Dans_La_Masse': 20901987, 'papier': 20901988, 'autre_refus': 20901989, 'flou': 20901990, 'Carton_brun': 20901991, 'metal': 20901992}]} input_args_next_step : {1340029189: ('0.09726493885083097',), 1340029088: ('0.09726493885083097',), 1340029083: ('0.09726493885083097',), 1340029079: ('0.09726493885083097',), 1340029076: ('0.09726493885083097',), 1340029073: ('0.09726493885083097',), 1340028888: ('0.09726493885083097',), 1340028884: ('0.09726493885083097',), 1340028881: ('0.09726493885083097',), 1340028877: ('0.09726493885083097',), 1340028858: ('0.09726493885083097',), 1340028854: ('0.09726493885083097',), 1340028848: ('0.09726493885083097',), 1340028831: ('0.09726493885083097',), 1340028827: ('0.09726493885083097',), 1340028784: ('0.09726493885083097',), 1340028769: ('0.09726493885083097',), 1340028619: ('0.09726493885083097',), 1340028453: ('0.09726493885083097',), 1340028410: ('0.09726493885083097',), 1340028407: ('0.09726493885083097',), 1340028402: ('0.09726493885083097',), 1340028391: ('0.09726493885083097',), 1340028056: ('0.09726493885083097',), 1340028049: ('0.09726493885083097',), 1340028046: ('0.09726493885083097',), 1340028043: ('0.09726493885083097',), 1340027516: ('0.09726493885083097',), 1340027274: ('0.09726493885083097',), 1340027143: ('0.09726493885083097',), 1340027138: ('0.09726493885083097',), 1340027134: ('0.09726493885083097',), 1340027129: ('0.09726493885083097',), 1340026600: ('0.09726493885083097',), 1340026597: ('0.09726493885083097',), 1340026593: ('0.09726493885083097',), 1340026514: ('0.09726493885083097',), 1340026474: ('0.09726493885083097',), 1340026457: ('0.09726493885083097',), 1340026453: ('0.09726493885083097',), 1340026236: ('0.09726493885083097',), 1340026115: ('0.09726493885083097',), 20901979: ()} output_args : {20901979: [{'environnement': 20901981, 'mal_croppe': 20901982, 'plastique': 20901983, 'cartonnette': 20901984, 'kraft': 20901985, 'Carton_gris': 20901986, 'Teint_Dans_La_Masse': 20901987, 'papier': 20901988, 'autre_refus': 20901989, 'flou': 20901990, 'Carton_brun': 20901991, 'metal': 20901992}]} args : 20901979 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 :43, first value : ('0.09726493885083097',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901979) 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 (1340029189,1340029088,1340029083,1340029079,1340029076,1340029073,1340028888,1340028884,1340028881,1340028877,1340028858,1340028854,1340028848,1340028831,1340028827,1340028784,1340028769,1340028619,1340028453,1340028410,1340028407,1340028402,1340028391,1340028056,1340028049,1340028046,1340028043,1340027516,1340027274,1340027143,1340027138,1340027134,1340027129,1340026600,1340026597,1340026593,1340026514,1340026474,1340026457,1340026453,1340026236,1340026115) Found this number of photos: 42 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340026115 begin to download photo : 1340027129 begin to download photo : 1340028056 begin to download photo : 1340028827 begin to download photo : 1340029073 download finish for photo 1340027129 begin to download photo : 1340027134 download finish for photo 1340026115 begin to download photo : 1340026236 download finish for photo 1340029073 begin to download photo : 1340029076 download finish for photo 1340028056 begin to download photo : 1340028391 download finish for photo 1340028827 begin to download photo : 1340028831 download finish for photo 1340028391 begin to download photo : 1340028402 download finish for photo 1340026236 begin to download photo : 1340026453 download finish for photo 1340027134 begin to download photo : 1340027138 download finish for photo 1340029076 begin to download photo : 1340029079 download finish for photo 1340028831 begin to download photo : 1340028848 download finish for photo 1340028402 begin to download photo : 1340028407 download finish for photo 1340029079 begin to download photo : 1340029083 download finish for photo 1340027138 begin to download photo : 1340027143 download finish for photo 1340028848 begin to download photo : 1340028854 download finish for photo 1340026453 begin to download photo : 1340026457 download finish for photo 1340027143 begin to download photo : 1340027274 download finish for photo 1340028407 begin to download photo : 1340028410 download finish for photo 1340029083 begin to download photo : 1340029088 download finish for photo 1340028854 begin to download photo : 1340028858 download finish for photo 1340026457 begin to download photo : 1340026474 download finish for photo 1340029088 begin to download photo : 1340029189 download finish for photo 1340028410 download finish for photo 1340028858 begin to download photo : 1340028453 begin to download photo : 1340028877 download finish for photo 1340026474 begin to download photo : 1340026514 download finish for photo 1340027274 begin to download photo : 1340027516 download finish for photo 1340026514 begin to download photo : 1340026593 download finish for photo 1340028877 begin to download photo : 1340028881 download finish for photo 1340029189 download finish for photo 1340027516 begin to download photo : 1340028043 download finish for photo 1340028453 begin to download photo : 1340028619 download finish for photo 1340028881 begin to download photo : 1340028884 download finish for photo 1340026593 begin to download photo : 1340026597 download finish for photo 1340028043 begin to download photo : 1340028046 download finish for photo 1340028884 begin to download photo : 1340028888 download finish for photo 1340026597 begin to download photo : 1340026600 download finish for photo 1340028619 begin to download photo : 1340028769 download finish for photo 1340028046 begin to download photo : 1340028049 download finish for photo 1340026600 download finish for photo 1340028769 begin to download photo : 1340028784 download finish for photo 1340028049 download finish for photo 1340028888 download finish for photo 1340028784 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette209019821740803766/ length of list_filenames : 42 ; length of list_pids : 42 ; length of list_args : 42 results_Auto_P20901979_01-03-2025_05_36_06.pdf 20901982 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=20901982 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209019821740803766 20901983 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=20901983 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340028420: '1740703251_2164431_1340027516_e8ba9ca015ab50235e534d6361fa4219_rle_crop_3689328543_0.png', 1340028820: '1740703263_2164554_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328957_0.png', 1340029339: '1740703513_2166923_1340028453_5f49b0d455120f424f81137a24bb7085_rle_crop_3689333027_0.png', 1340037136: '1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328957_0.png', 1340041754: '1740706731_2285557_1340029088_cb2ea5b4e57d320e5d076c15aeeeb54a_rle_crop_3689405359_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9e85c74f90f90b54884675dd325e61a9_34151988.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ee9fcf57c8af94062c67312bdbe2f578_94446087.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1e593d003eef7325ffe118f9844d4e17_36014517.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ee9fcf57c8af94062c67312bdbe2f578_92160243.png change filename to text .imagette209019831740803766/ imagette209019831740803766/1740703251_2164431_1340027516_e8ba9ca015ab50235e534d6361fa4219_rle_crop_3689328543_0.png.png imagette209019831740803766/1740703513_2166923_1340028453_5f49b0d455120f424f81137a24bb7085_rle_crop_3689333027_0.png.png imagette209019831740803766/1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328957_0.png.png imagette209019831740803766/1740706731_2285557_1340029088_cb2ea5b4e57d320e5d076c15aeeeb54a_rle_crop_3689405359_0.png.png imagette209019831740803766/1740703263_2164554_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328957_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5fbe083081160b75f82f63bd14837b9a_11134745.png imagette209019831740803766 20901984 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=20901984 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340026747: '1740703013_2162579_1340026597_d75e1293999e216c477510ec8c908533_rle_crop_3689327211_0.png', 1340028814: '1740703263_2164554_1340027274_e06cb971f624ecbef919201891ab3c3f_rle_crop_3689328808_0.png', 1340028815: '1740703263_2164554_1340027138_8e692e9b4e0c32aa34324a19de80fd40_rle_crop_3689328923_0.png', 1340028816: '1740703263_2164554_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328954_0.png', 1340029174: '1740703491_2166694_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331035_0.png', 1340029300: '1740703513_2166923_1340028858_707e07f1f265424d359657461179adb5_rle_crop_3689332971_0.png', 1340029301: '1740703513_2166923_1340028619_59f13583ae9622393f6933e84b25c177_rle_crop_3689333001_0.png', 1340029460: '1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333631_0.png', 1340029461: '1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333633_0.png', 1340035840: '1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372777_0.png', 1340037113: '1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328808_0.jpg', 1340037114: '1740705654_2255815_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689328923_0.jpg', 1340037115: '1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328954_0.png', 1340041746: '1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331035_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/86c50e418ee070150ea0e53c3b5a45c9_65749603.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/aec34712f95bd557cccfb179820b29f1_30389267.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d00f7035727b9354c3968b0366405540_17656887.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/82e99752bf04b7768cc265f5bcf69d1d_2622232.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1ce3b6f9998e92b6c489e406451463fc_16524325.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/2056d91808cbdada97e04d16da92f6d6_97035749.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/e6a465a1ae61b067d0ad5d1f8993ba1b_65529832.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5a25e3d56b44ca656b29d09c6cd6441d_11042746.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/85b762a0523283e860a6a6d4877c5471_11799952.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0f80df0db50d9f3530f242d822fbdb96_24215203.png change filename to text .wget -O 11.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c37229c29f3324f549a95b0bd51682b3_78638967.jpg change filename to text .wget -O 12.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/88c7a678462b146f279bb5a7466bd46a_96402715.jpg change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/82e99752bf04b7768cc265f5bcf69d1d_36674596.png change filename to text .imagette209019841740803767/ imagette209019841740803767/1740703263_2164554_1340027138_8e692e9b4e0c32aa34324a19de80fd40_rle_crop_3689328923_0.png.png imagette209019841740803767/1740703513_2166923_1340028619_59f13583ae9622393f6933e84b25c177_rle_crop_3689333001_0.png.png imagette209019841740803767/1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333633_0.png.png imagette209019841740803767/1740703013_2162579_1340026597_d75e1293999e216c477510ec8c908533_rle_crop_3689327211_0.png.png imagette209019841740803767/1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372777_0.png.png imagette209019841740803767/1740703263_2164554_1340027274_e06cb971f624ecbef919201891ab3c3f_rle_crop_3689328808_0.png.png imagette209019841740803767/1740705654_2255815_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689328923_0.jpg.jpg imagette209019841740803767/1740703513_2166923_1340028858_707e07f1f265424d359657461179adb5_rle_crop_3689332971_0.png.png imagette209019841740803767/1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328808_0.jpg.jpg imagette209019841740803767/1740703263_2164554_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328954_0.png.png imagette209019841740803767/1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331035_0.png.png imagette209019841740803767/1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333631_0.png.png imagette209019841740803767/1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328954_0.png.png imagette209019841740803767/1740703491_2166694_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331035_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1ce3b6f9998e92b6c489e406451463fc_69298508.png imagette209019841740803767 20901985 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=20901985 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340028902: '1740703394_2165896_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329372_0.png', 1340029180: '1740703491_2166694_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330900_0.png', 1340029181: '1740703491_2166694_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331041_0.png', 1340029369: '1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333086_0.png', 1340035850: '1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329372_0.png', 1340037137: '1740705654_2255815_1340028056_607636847ccb7cd89845e801ac9c7f5b_bib_crop_3689381774_0.jpg', 1340037138: '1740705654_2255815_1340028056_607636847ccb7cd89845e801ac9c7f5b_bib_crop_3689381872_0.jpg', 1340041756: '1740706731_2285557_1340029088_cb2ea5b4e57d320e5d076c15aeeeb54a_rle_crop_3689405360_0.png', 1340041757: '1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330900_0.png', 1340041758: '1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331041_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/868515f4a807b53bcce40ab78fdcfbee_13111075.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/cb141d890ee885e9ed232ff927a10cc5_41759202.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/31f12a1e0090ddf90d73bf16048445a5_9159628.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3fe1369dfe8b1dc821659050331c590c_26668359.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/868515f4a807b53bcce40ab78fdcfbee_66118174.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4f073a42b996100034caef3b61d7cceb_54268732.jpg change filename to text .wget -O 7.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b5b1a43e02d1f168129086f39e30884c_6736506.jpg change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a44604459e372bfb8cf6399d9429ca89_41941295.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/cb141d890ee885e9ed232ff927a10cc5_56429421.png change filename to text .imagette209019851740803768/ imagette209019851740803768/1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331041_0.png.png imagette209019851740803768/1740703394_2165896_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329372_0.png.png imagette209019851740803768/1740706731_2285557_1340029088_cb2ea5b4e57d320e5d076c15aeeeb54a_rle_crop_3689405360_0.png.png imagette209019851740803768/1740703491_2166694_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330900_0.png.png imagette209019851740803768/1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329372_0.png.png imagette209019851740803768/1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330900_0.png.png imagette209019851740803768/1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333086_0.png.png imagette209019851740803768/1740705654_2255815_1340028056_607636847ccb7cd89845e801ac9c7f5b_bib_crop_3689381774_0.jpg.jpg imagette209019851740803768/1740703491_2166694_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331041_0.png.png imagette209019851740803768/1740705654_2255815_1340028056_607636847ccb7cd89845e801ac9c7f5b_bib_crop_3689381872_0.jpg.jpg wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/31f12a1e0090ddf90d73bf16048445a5_21905281.png imagette209019851740803768 20901989 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=20901989 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340026669: '1740702892_2161167_1340026453_61ad7350e34b2928fffda9dd1898e50a_rle_crop_3689325228_0.png', 1340028802: '1740703263_2164554_1340027274_e06cb971f624ecbef919201891ab3c3f_rle_crop_3689328811_0.png', 1340028803: '1740703263_2164554_1340027129_72f12b9e56ea60c3207de271962626e9_rle_crop_3689328969_0.png', 1340029296: '1740703513_2166923_1340028453_5f49b0d455120f424f81137a24bb7085_rle_crop_3689333026_0.png', 1340029344: '1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333084_0.png', 1340037103: '1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328811_0.jpg', 1340037104: '1740705654_2255815_1340027129_72f12b9e56ea60c3207de271962626e9_rle_crop_3689328969_0.png', 1340037526: '1740705892_2267890_1340026453_61ad7350e34b2928fffda9dd1898e50a_rle_crop_3689325228_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0cf952622c4c0d07a4f95cba0831ce2b_46409027.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4c25859f51f4d618e60fbb5df14f8cd5_18638290.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f623ba5727825a6916c1a2a04317ad37_83049661.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8d78351368e6980c0bd7f17a2b8a287b_51483985.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3378389328ffa724e2893f831ff621cd_6223806.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f96a17d46792ca36161bcaba9bcfc126_20387168.jpg change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f623ba5727825a6916c1a2a04317ad37_27040054.png change filename to text .imagette209019891740803769/ imagette209019891740803769/1740703263_2164554_1340027129_72f12b9e56ea60c3207de271962626e9_rle_crop_3689328969_0.png.png imagette209019891740803769/1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328811_0.jpg.jpg imagette209019891740803769/1740702892_2161167_1340026453_61ad7350e34b2928fffda9dd1898e50a_rle_crop_3689325228_0.png.png imagette209019891740803769/1740703263_2164554_1340027274_e06cb971f624ecbef919201891ab3c3f_rle_crop_3689328811_0.png.png imagette209019891740803769/1740705654_2255815_1340027129_72f12b9e56ea60c3207de271962626e9_rle_crop_3689328969_0.png.png imagette209019891740803769/1740703513_2166923_1340028453_5f49b0d455120f424f81137a24bb7085_rle_crop_3689333026_0.png.png imagette209019891740803769/1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333084_0.png.png imagette209019891740803769/1740705892_2267890_1340026453_61ad7350e34b2928fffda9dd1898e50a_rle_crop_3689325228_0.png.png imagette209019901740803770/ imagette209019921740803770/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0cf952622c4c0d07a4f95cba0831ce2b_4088939.png imagette209019891740803769 20901990 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=20901990 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209019901740803770 20901992 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=20901992 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209019921740803770 20901986 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=20901986 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340029366: '1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333082_0.png', 1340041743: '1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330890_0.png', 1340041742: '1740706731_2285557_1340028884_b40d4d2b1a7862f94273d7a12d1d7717_rle_crop_3689330037_0.png', 1340037529: '1740705892_2267890_1340026457_9889381409451f914401f371c3fb2919_rle_crop_3689325100_0.png', 1340037528: '1740705892_2267890_1340026474_97d0cc67d6138357ef6a2cea6b38eb5f_rle_crop_3689324988_0.png', 1340037527: '1740705892_2267890_1340026600_18120b575d36b9753f95709a4bfaa800_rle_crop_3689386080_0.png', 1340037112: '1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328952_0.png', 1340037111: '1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328911_0.jpg', 1340037110: '1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328809_0.jpg', 1340035838: '1740705531_2252847_1340028391_8b90331e3f5a45dd77359b9aefd26a8a_rle_crop_3689329417_0.png', 1340035837: '1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329377_0.png', 1340035835: '1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372779_0.png', 1340029367: '1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333078_0.png', 1340026670: '1740702892_2161167_1340026474_97d0cc67d6138357ef6a2cea6b38eb5f_rle_crop_3689324988_0.png', 1340029299: '1740703513_2166923_1340028453_5f49b0d455120f424f81137a24bb7085_rle_crop_3689333023_0.png', 1340029298: '1740703513_2166923_1340028619_59f13583ae9622393f6933e84b25c177_rle_crop_3689333004_0.png', 1340029173: '1740703491_2166694_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330890_0.png', 1340029172: '1740703491_2166694_1340028884_b40d4d2b1a7862f94273d7a12d1d7717_rle_crop_3689330037_0.png', 1340028892: '1740703394_2165896_1340028391_8b90331e3f5a45dd77359b9aefd26a8a_rle_crop_3689329417_0.png', 1340028891: '1740703394_2165896_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329377_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/223ab1e91ff343e24f6799856969ec21_89153266.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4308e397ad9181124da877afc7aa61f0_48151272.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/57c14ded3694360556790de43f07770c_76805432.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7dd99baa23e04a804ad60cf5a3a91f8a_74708434.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/bbf0b3a43c18badc668f2ec55f761256_10527662.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/141ea74e72c42010189882e8d1d4b8b9_39658229.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5a4ee884077f59a059ffdc039b5ef9a7_33637512.png change filename to text .wget -O 8.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/96d1362bc4e7e89fcb18f36dc954dfdc_63483219.jpg change filename to text .wget -O 9.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/abb63693dc58ec052708bbc56b47f4da_16513506.jpg change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/79e87dc5bcb5c4f42474c7a932bfa841_83499902.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c9b2991d27a3a6be909768ca8793c1b3_78802888.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/bd785a16fe25125e95679fa5aa546c68_19745712.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/aa49ef97280864a8390542af5d6eb243_96709244.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/88fac5fca2f8f6ddaacb8ed930c1f925_17911658.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0652ba982f5d427eda3f691abd537058_44823351.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b6ca390926084712374dd7c7e8824f4a_58935279.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4308e397ad9181124da877afc7aa61f0_7226803.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/57c14ded3694360556790de43f07770c_54163047.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/79e87dc5bcb5c4f42474c7a932bfa841_36262589.png change filename to text .imagette209019861740803770/ imagette209019861740803770/1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328809_0.jpg.jpg imagette209019861740803770/1740703394_2165896_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329377_0.png.png imagette209019861740803770/1740703513_2166923_1340028453_5f49b0d455120f424f81137a24bb7085_rle_crop_3689333023_0.png.png imagette209019861740803770/1740706731_2285557_1340028884_b40d4d2b1a7862f94273d7a12d1d7717_rle_crop_3689330037_0.png.png imagette209019861740803770/1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333082_0.png.png imagette209019861740803770/1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330890_0.png.png imagette209019861740803770/1740703491_2166694_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330890_0.png.png imagette209019861740803770/1740702892_2161167_1340026474_97d0cc67d6138357ef6a2cea6b38eb5f_rle_crop_3689324988_0.png.png imagette209019861740803770/1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328952_0.png.png imagette209019861740803770/1740703513_2166923_1340028619_59f13583ae9622393f6933e84b25c177_rle_crop_3689333004_0.png.png imagette209019861740803770/1740705892_2267890_1340026600_18120b575d36b9753f95709a4bfaa800_rle_crop_3689386080_0.png.png imagette209019861740803770/1740703534_2167231_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2_rle_crop_3689333078_0.png.png imagette209019861740803770/1740705892_2267890_1340026474_97d0cc67d6138357ef6a2cea6b38eb5f_rle_crop_3689324988_0.png.png imagette209019861740803770/1740705892_2267890_1340026457_9889381409451f914401f371c3fb2919_rle_crop_3689325100_0.png.png imagette209019861740803770/1740703394_2165896_1340028391_8b90331e3f5a45dd77359b9aefd26a8a_rle_crop_3689329417_0.png.png imagette209019861740803770/1740705531_2252847_1340028391_8b90331e3f5a45dd77359b9aefd26a8a_rle_crop_3689329417_0.png.png imagette209019861740803770/1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329377_0.png.png imagette209019861740803770/1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372779_0.png.png imagette209019861740803770/1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328911_0.jpg.jpg imagette209019861740803770/1740703491_2166694_1340028884_b40d4d2b1a7862f94273d7a12d1d7717_rle_crop_3689330037_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c9b2991d27a3a6be909768ca8793c1b3_14070018.png imagette209019861740803770 20901987 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=20901987 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340029454: '1740703632_2168450_1340029189_5060d95114a93c871ca744fa2fd4df93_rle_crop_3689333538_0.png', 1340041740: '1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330896_0.png', 1340037069: '1740705654_2255815_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689328925_0.jpg', 1340037068: '1740705654_2255815_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689381823_0.jpg', 1340037066: '1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328915_0.jpg', 1340037065: '1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328916_0.jpg', 1340037063: '1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328813_0.jpg', 1340037062: '1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328812_0.jpg', 1340036881: '1740705632_2255547_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689328924_0.jpg', 1340035833: '1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372785_0.png', 1340035832: '1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372782_0.png', 1340029458: '1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333632_0.png', 1340029457: '1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333629_0.png', 1340029456: '1740703632_2168450_1340029079_17256b66217b7f917d69ec193dd2f1ba_rle_crop_3689333590_0.png', 1340029455: '1740703632_2168450_1340029083_c9b89e588e86178d9cee777817e19d31_rle_crop_3689333577_0.png', 1340026672: '1740702913_2161424_1340026115_4750e1c1411c2e2408c9a9723bc68afa_rle_crop_3689325558_0.png', 1340029343: '1740703534_2167231_1340028848_57ffaaecfe26b551948a0a4ddb6fcdd1_rle_crop_3689333052_0.png', 1340029294: '1740703513_2166923_1340028858_707e07f1f265424d359657461179adb5_rle_crop_3689332973_0.png', 1340029171: '1740703491_2166694_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330896_0.png', 1340028799: '1740703263_2164554_1340027138_8e692e9b4e0c32aa34324a19de80fd40_rle_crop_3689328925_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0de215c529ff46dcd74b4dd9c85dede0_57913163.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/91b113def9af43bf0824fe7982aaaad4_38570007.png change filename to text .wget -O 3.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5e32c32cc3b2d27ce33b56fe3397997d_66377930.jpg change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/35390369b014f4128f8eab669477ce83_15543964.jpg change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a32fdeadf2b8cd6373a20f7560360f00_20931798.jpg change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5ca24d98b2698c0f45ea76433d023946_63397969.jpg change filename to text .wget -O 7.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9a08375cfbc5cae258a782d711cc8cb9_94140583.jpg change filename to text .wget -O 8.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7eb3c0035289b00189d95de64b5afb5a_75554693.jpg change filename to text .wget -O 9.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c557cf4ba2641f183ebeef94714ef52a_63361099.jpg change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/83ba377724e458c242db5b96d199f448_90782700.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7640077010f9eb9c1ca41f4f1433ca26_50273035.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/40fa5da08143b180cc3e62456a313c37_30110386.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/48f3a363f8aebf787245abe5dfdfb986_24376050.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/777b89ae90d1ad2c76eef425bb5922dc_35700149.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9e72d45c00969ec38feaf86476765de6_36684352.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/45fe407168adac4a83fa7e4f2f1d59a9_63421650.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/253ce285df85a410e5c1bdecb06af6f1_87756489.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f532d9ac0c9244686edb5d780f148013_90839604.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/91b113def9af43bf0824fe7982aaaad4_20688094.png change filename to text .imagette209019871740803772/ imagette209019871740803772/1740703534_2167231_1340028848_57ffaaecfe26b551948a0a4ddb6fcdd1_rle_crop_3689333052_0.png.png imagette209019871740803772/1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328813_0.jpg.jpg imagette209019871740803772/1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333632_0.png.png imagette209019871740803772/1740703263_2164554_1340027138_8e692e9b4e0c32aa34324a19de80fd40_rle_crop_3689328925_0.png.png imagette209019871740803772/1740703632_2168450_1340029083_c9b89e588e86178d9cee777817e19d31_rle_crop_3689333577_0.png.png imagette209019871740803772/1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328916_0.jpg.jpg imagette209019871740803772/1740705632_2255547_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689328924_0.jpg.jpg imagette209019871740803772/1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333629_0.png.png imagette209019871740803772/1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330896_0.png.png imagette209019871740803772/1740703632_2168450_1340029189_5060d95114a93c871ca744fa2fd4df93_rle_crop_3689333538_0.png.png imagette209019871740803772/1740702913_2161424_1340026115_4750e1c1411c2e2408c9a9723bc68afa_rle_crop_3689325558_0.png.png imagette209019871740803772/1740705654_2255815_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689328925_0.jpg.jpg imagette209019871740803772/1740705654_2255815_1340027274_e06cb971f624ecbef919201891ab3c3f_bib_crop_3689328812_0.jpg.jpg imagette209019871740803772/1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372782_0.png.png imagette209019871740803772/1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328915_0.jpg.jpg imagette209019871740803772/1740703513_2166923_1340028858_707e07f1f265424d359657461179adb5_rle_crop_3689332973_0.png.png imagette209019871740803772/1740703632_2168450_1340029079_17256b66217b7f917d69ec193dd2f1ba_rle_crop_3689333590_0.png.png imagette209019871740803772/1740703491_2166694_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330896_0.png.png imagette209019871740803772/1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372785_0.png.png imagette209019871740803772/1740705654_2255815_1340027138_8e692e9b4e0c32aa34324a19de80fd40_bib_crop_3689381823_0.jpg.jpg wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/74cb319f41d49178fb89214bb15b591f_8241869.png imagette209019871740803772 20901991 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=20901991 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340037133: '1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328917_0.jpg', 1340029465: '1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333630_0.png', 1340035843: '1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372788_0.png', 1340035844: '1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372780_0.png', 1340035845: '1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372781_0.png', 1340035846: '1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329380_0.png', 1340035847: '1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329374_0.png', 1340035848: '1740705531_2252847_1340028402_f1719676be11f398a3e7226bce815dcc_rle_crop_3689329399_0.png', 1340035849: '1740705531_2252847_1340028402_f1719676be11f398a3e7226bce815dcc_rle_crop_3689329401_0.png', 1340037132: '1740705654_2255815_1340028056_607636847ccb7cd89845e801ac9c7f5b_bib_crop_3689381778_0.jpg', 1340029464: '1740703632_2168450_1340029076_78a9f770247ba5acff89a20128efa37a_rle_crop_3689333614_0.png', 1340037134: '1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328955_0.png', 1340037135: '1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_bib_crop_3689381836_0.jpg', 1340037530: '1740705892_2267890_1340026600_18120b575d36b9753f95709a4bfaa800_rle_crop_3689386082_0.png', 1340037531: '1740705892_2267890_1340026600_18120b575d36b9753f95709a4bfaa800_rle_crop_3689386081_0.png', 1340041749: '1740706731_2285557_1340028884_b40d4d2b1a7862f94273d7a12d1d7717_rle_crop_3689330040_0.png', 1340041750: '1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330893_0.png', 1340041751: '1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330899_0.png', 1340041752: '1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331039_0.png', 1340041753: '1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331040_0.png'} change filename to text .wget -O 1.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/992ee76660e39418b3c8ca68ad7dad5e_7523293.jpg change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/71d99ce35a93c067672098ecf5dc5f45_62372490.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c933f6c9c2a5c99e8e46867650e48284_27697574.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4f6d384781573727c17956df56a57f3f_27533112.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f157dd715a3b32ac3a50af2976416d5c_78160316.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0ad95450e9ad49a08c5e72c72ed3e692_4252437.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b31b3aa9f964579d693a07a57b7b5d35_40516167.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/74aa040dd24eaaaf9d9e43286f5e26d6_87571756.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f9a0b163be082d76d49ab45f4362352c_80744871.png change filename to text .wget -O 10.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/adf74881599e1bb13b82f4f125207a82_19235210.jpg change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4eb573313dd62c96f5dafe143a6eb492_97610188.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/afc64cd79043914dc3cfb5db430086dc_67646682.png change filename to text .wget -O 13.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/04cf5c12c372090fdc3d48c6634b6b91_52482571.jpg change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/18a25f58e24c880bf7a55fd2f3e8530f_27116647.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/23fa13de4c6c91dd4a049f0f097e6df6_60107844.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ad0fb9e2a500db342712d92d8f4cccbc_20225949.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8f1daa5ca6955ca047e34b7770220425_8404921.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/68fbdbcb0ba79a7e19dc599f0de93b06_49938711.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/2117618192e77c9eb800d678ea28acc5_45654572.png change filename to text .imagette209019911740803775/ imagette209019911740803775/1740705892_2267890_1340026600_18120b575d36b9753f95709a4bfaa800_rle_crop_3689386082_0.png.png imagette209019911740803775/1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331040_0.png.png imagette209019911740803775/1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372780_0.png.png imagette209019911740803775/1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_bib_crop_3689381836_0.jpg.jpg imagette209019911740803775/1740705654_2255815_1340027134_b8ec0fd00026033a2e7abe7756b9f73d_rle_crop_3689328955_0.png.png imagette209019911740803775/1740705531_2252847_1340028402_f1719676be11f398a3e7226bce815dcc_rle_crop_3689329401_0.png.png imagette209019911740803775/1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330899_0.png.png imagette209019911740803775/1740705654_2255815_1340028056_607636847ccb7cd89845e801ac9c7f5b_bib_crop_3689381778_0.jpg.jpg imagette209019911740803775/1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372781_0.png.png imagette209019911740803775/1740705531_2252847_1340028784_1c33add275760c3b4e59717c8e0a431b_rle_crop_3689372788_0.png.png imagette209019911740803775/1740703632_2168450_1340029073_56fc4b49259cb2c06aed112d6e7387fa_rle_crop_3689333630_0.png.png imagette209019911740803775/1740703632_2168450_1340029076_78a9f770247ba5acff89a20128efa37a_rle_crop_3689333614_0.png.png imagette209019911740803775/1740705531_2252847_1340028402_f1719676be11f398a3e7226bce815dcc_rle_crop_3689329399_0.png.png imagette209019911740803775/1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329374_0.png.png imagette209019911740803775/1740705654_2255815_1340027143_c266c8da8f846351fe248d486f4e2232_bib_crop_3689328917_0.jpg.jpg imagette209019911740803775/1740706731_2285557_1340028881_e1f04a7e47f109ea9850c136f3752015_rle_crop_3689330893_0.png.png imagette209019911740803775/1740705531_2252847_1340028407_dcac9c31c1ae25d20517afe3f811d13c_rle_crop_3689329380_0.png.png imagette209019911740803775/1740706731_2285557_1340028877_af440ff1568ff47903c3bdb5cc4934a1_rle_crop_3689331039_0.png.png imagette209019911740803775/1740706731_2285557_1340028884_b40d4d2b1a7862f94273d7a12d1d7717_rle_crop_3689330040_0.png.png imagette209019911740803775/1740705892_2267890_1340026600_18120b575d36b9753f95709a4bfaa800_rle_crop_3689386081_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/72b24978a2f62e85dc904adeeb015e47_46590173.png imagette209019911740803775 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20901979 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20901993,20901994,20901995,20901996,20901997,20901998,20901999,20902000,20902001,20902002,20902003,20902004?tags=environnement,mal_croppe,plastique,cartonnette,kraft,Carton_gris,Teint_Dans_La_Masse,papier,autre_refus,flou,Carton_brun,metal your option no_mail is active, we will not send the real mail to your client args[1340029189] : ('0.09726493885083097',) no score found for photo 1340029189 We are sending mail with results at report@fotonower.com args[1340029088] : ('0.09726493885083097',) no score found for photo 1340029088 We are sending mail with results at report@fotonower.com args[1340029083] : ('0.09726493885083097',) no score found for photo 1340029083 We are sending mail with results at report@fotonower.com args[1340029079] : ('0.09726493885083097',) no score found for photo 1340029079 We are sending mail with results at report@fotonower.com args[1340029076] : ('0.09726493885083097',) no score found for photo 1340029076 We are sending mail with results at report@fotonower.com args[1340029073] : ('0.09726493885083097',) no score found for photo 1340029073 We are sending mail with results at report@fotonower.com args[1340028888] : ('0.09726493885083097',) no score found for photo 1340028888 We are sending mail with results at report@fotonower.com args[1340028884] : ('0.09726493885083097',) no score found for photo 1340028884 We are sending mail with results at report@fotonower.com args[1340028881] : ('0.09726493885083097',) no score found for photo 1340028881 We are sending mail with results at report@fotonower.com args[1340028877] : ('0.09726493885083097',) no score found for photo 1340028877 We are sending mail with results at report@fotonower.com args[1340028858] : ('0.09726493885083097',) no score found for photo 1340028858 We are sending mail with results at report@fotonower.com args[1340028854] : ('0.09726493885083097',) no score found for photo 1340028854 We are sending mail with results at report@fotonower.com args[1340028848] : ('0.09726493885083097',) no score found for photo 1340028848 We are sending mail with results at report@fotonower.com args[1340028831] : ('0.09726493885083097',) no score found for photo 1340028831 We are sending mail with results at report@fotonower.com args[1340028827] : ('0.09726493885083097',) no score found for photo 1340028827 We are sending mail with results at report@fotonower.com args[1340028784] : ('0.09726493885083097',) no score found for photo 1340028784 We are sending mail with results at report@fotonower.com args[1340028769] : ('0.09726493885083097',) no score found for photo 1340028769 We are sending mail with results at report@fotonower.com args[1340028619] : ('0.09726493885083097',) no score found for photo 1340028619 We are sending mail with results at report@fotonower.com args[1340028453] : ('0.09726493885083097',) no score found for photo 1340028453 We are sending mail with results at report@fotonower.com args[1340028410] : ('0.09726493885083097',) no score found for photo 1340028410 We are sending mail with results at report@fotonower.com args[1340028407] : ('0.09726493885083097',) no score found for photo 1340028407 We are sending mail with results at report@fotonower.com args[1340028402] : ('0.09726493885083097',) no score found for photo 1340028402 We are sending mail with results at report@fotonower.com args[1340028391] : ('0.09726493885083097',) no score found for photo 1340028391 We are sending mail with results at report@fotonower.com args[1340028056] : ('0.09726493885083097',) no score found for photo 1340028056 We are sending mail with results at report@fotonower.com args[1340028049] : ('0.09726493885083097',) no score found for photo 1340028049 We are sending mail with results at report@fotonower.com args[1340028046] : ('0.09726493885083097',) no score found for photo 1340028046 We are sending mail with results at report@fotonower.com args[1340028043] : ('0.09726493885083097',) no score found for photo 1340028043 We are sending mail with results at report@fotonower.com args[1340027516] : ('0.09726493885083097',) no score found for photo 1340027516 We are sending mail with results at report@fotonower.com args[1340027274] : ('0.09726493885083097',) no score found for photo 1340027274 We are sending mail with results at report@fotonower.com args[1340027143] : ('0.09726493885083097',) no score found for photo 1340027143 We are sending mail with results at report@fotonower.com args[1340027138] : ('0.09726493885083097',) no score found for photo 1340027138 We are sending mail with results at report@fotonower.com args[1340027134] : ('0.09726493885083097',) no score found for photo 1340027134 We are sending mail with results at report@fotonower.com args[1340027129] : ('0.09726493885083097',) no score found for photo 1340027129 We are sending mail with results at report@fotonower.com args[1340026600] : ('0.09726493885083097',) no score found for photo 1340026600 We are sending mail with results at report@fotonower.com args[1340026597] : ('0.09726493885083097',) no score found for photo 1340026597 We are sending mail with results at report@fotonower.com args[1340026593] : ('0.09726493885083097',) no score found for photo 1340026593 We are sending mail with results at report@fotonower.com args[1340026514] : ('0.09726493885083097',) no score found for photo 1340026514 We are sending mail with results at report@fotonower.com args[1340026474] : ('0.09726493885083097',) no score found for photo 1340026474 We are sending mail with results at report@fotonower.com args[1340026457] : ('0.09726493885083097',) no score found for photo 1340026457 We are sending mail with results at report@fotonower.com args[1340026453] : ('0.09726493885083097',) no score found for photo 1340026453 We are sending mail with results at report@fotonower.com args[1340026236] : ('0.09726493885083097',) no score found for photo 1340026236 We are sending mail with results at report@fotonower.com args[1340026115] : ('0.09726493885083097',) no score found for photo 1340026115 We are sending mail with results at report@fotonower.com refus_total : 0.09726493885083097 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=20901979 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_01-03-2025_05_36_06.pdf results_Auto_P20901979_01-03-2025_05_36_06.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_01-03-2025_05_36_06.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20901979','results_Auto_P20901979_01-03-2025_05_36_06.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_01-03-2025_05_36_06.pdf','pdf','','0.57','0.09726493885083097') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20901979]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] map_info['map_portfolio_photo'] : {20901979: [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115]} final : False mtd_id 4302 list_pids : [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] 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, '2625807') ('4302', '20901979', '1340029189', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029088', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029083', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029079', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029076', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029073', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028888', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028884', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028881', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028877', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028858', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028854', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028848', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028831', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028827', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028784', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028769', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028619', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028410', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028407', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028402', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028391', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028056', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028049', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028046', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028043', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027516', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027274', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027143', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027138', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027134', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027129', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026600', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026597', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026593', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026514', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026474', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026457', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026236', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026115', None, None, None, None, None, '2625807') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20901979', '1340029189', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029088', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029083', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029079', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029076', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029073', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028888', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028884', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028881', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028877', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028858', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028854', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028848', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028831', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028827', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028784', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028769', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028619', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028453', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028410', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028407', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028402', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028391', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028056', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028049', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028046', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028043', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027516', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027274', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027143', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027138', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027134', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027129', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026600', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026597', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026593', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026514', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026474', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026457', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026453', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026236', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026115', None, None, None, None, None, '2625807')] time used for this insertion : 0.17116332054138184 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.345224380493164 time spend to save output : 0.1716463565826416 total time spend for step 4 : 15.516870737075806 step5:split_time_score Sat Mar 1 05:36:20 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 : ['20901979'] 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 : [('20901979',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901979) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340029073: {'path': 'temp/1740803764_580797_1340029073_56fc4b49259cb2c06aed112d6e7387fa.jpg', 'extension': 'jpg'}, 1340029076: {'path': 'temp/1740803764_580797_1340029076_78a9f770247ba5acff89a20128efa37a.jpg', 'extension': 'jpg'}, 1340029079: {'path': 'temp/1740803764_580797_1340029079_17256b66217b7f917d69ec193dd2f1ba.jpg', 'extension': 'jpg'}, 1340029083: {'path': 'temp/1740803764_580797_1340029083_c9b89e588e86178d9cee777817e19d31.jpg', 'extension': 'jpg'}, 1340029088: {'path': 'temp/1740803764_580797_1340029088_cb2ea5b4e57d320e5d076c15aeeeb54a.jpg', 'extension': 'jpg'}, 1340029189: {'path': 'temp/1740803764_580797_1340029189_5060d95114a93c871ca744fa2fd4df93.jpg', 'extension': 'jpg'}, 1340026115: {'path': 'temp/1740803764_580797_1340026115_4750e1c1411c2e2408c9a9723bc68afa.jpg', 'extension': 'jpg'}, 1340026236: {'path': 'temp/1740803764_580797_1340026236_e41608f556dcc53272b20a2e1b163863.jpg', 'extension': 'jpg'}, 1340026453: {'path': 'temp/1740803764_580797_1340026453_61ad7350e34b2928fffda9dd1898e50a.jpg', 'extension': 'jpg'}, 1340026457: {'path': 'temp/1740803764_580797_1340026457_9889381409451f914401f371c3fb2919.jpg', 'extension': 'jpg'}, 1340026474: {'path': 'temp/1740803764_580797_1340026474_97d0cc67d6138357ef6a2cea6b38eb5f.jpg', 'extension': 'jpg'}, 1340026514: {'path': 'temp/1740803764_580797_1340026514_85d898e55afa9313e4c950d95845da3a.jpg', 'extension': 'jpg'}, 1340026593: {'path': 'temp/1740803764_580797_1340026593_80722e168df394aa607e493dd0bb8832.jpg', 'extension': 'jpg'}, 1340026597: {'path': 'temp/1740803764_580797_1340026597_d75e1293999e216c477510ec8c908533.jpg', 'extension': 'jpg'}, 1340026600: {'path': 'temp/1740803764_580797_1340026600_18120b575d36b9753f95709a4bfaa800.jpg', 'extension': 'jpg'}, 1340027129: {'path': 'temp/1740803764_580797_1340027129_72f12b9e56ea60c3207de271962626e9.jpg', 'extension': 'jpg'}, 1340027134: {'path': 'temp/1740803764_580797_1340027134_b8ec0fd00026033a2e7abe7756b9f73d.jpg', 'extension': 'jpg'}, 1340027138: {'path': 'temp/1740803764_580797_1340027138_8e692e9b4e0c32aa34324a19de80fd40.jpg', 'extension': 'jpg'}, 1340027143: {'path': 'temp/1740803764_580797_1340027143_c266c8da8f846351fe248d486f4e2232.jpg', 'extension': 'jpg'}, 1340027274: {'path': 'temp/1740803764_580797_1340027274_e06cb971f624ecbef919201891ab3c3f.jpg', 'extension': 'jpg'}, 1340027516: {'path': 'temp/1740803764_580797_1340027516_e8ba9ca015ab50235e534d6361fa4219.jpg', 'extension': 'jpg'}, 1340028043: {'path': 'temp/1740803764_580797_1340028043_da33ee89c00dd9d712b74919cd1ec441.jpg', 'extension': 'jpg'}, 1340028046: {'path': 'temp/1740803764_580797_1340028046_5e3e868fb38f494fd51e67749aab4fb4.jpg', 'extension': 'jpg'}, 1340028049: {'path': 'temp/1740803764_580797_1340028049_527c04f812c1b0cf3e27bae7f2c5dd13.jpg', 'extension': 'jpg'}, 1340028827: {'path': 'temp/1740803764_580797_1340028827_d1ba18a2d6eaa31eca62c6fb8e8516a2.jpg', 'extension': 'jpg'}, 1340028831: {'path': 'temp/1740803764_580797_1340028831_3b76166cf2cabab5ec28989b1ea35e17.jpg', 'extension': 'jpg'}, 1340028848: {'path': 'temp/1740803764_580797_1340028848_57ffaaecfe26b551948a0a4ddb6fcdd1.jpg', 'extension': 'jpg'}, 1340028854: {'path': 'temp/1740803764_580797_1340028854_a9576ab957bf6746a6f679c2821e5740.jpg', 'extension': 'jpg'}, 1340028858: {'path': 'temp/1740803764_580797_1340028858_707e07f1f265424d359657461179adb5.jpg', 'extension': 'jpg'}, 1340028877: {'path': 'temp/1740803764_580797_1340028877_af440ff1568ff47903c3bdb5cc4934a1.jpg', 'extension': 'jpg'}, 1340028881: {'path': 'temp/1740803764_580797_1340028881_e1f04a7e47f109ea9850c136f3752015.jpg', 'extension': 'jpg'}, 1340028884: {'path': 'temp/1740803764_580797_1340028884_b40d4d2b1a7862f94273d7a12d1d7717.jpg', 'extension': 'jpg'}, 1340028888: {'path': 'temp/1740803764_580797_1340028888_689a4df9ee8d4779fac196988d07f684.jpg', 'extension': 'jpg'}, 1340028056: {'path': 'temp/1740803764_580797_1340028056_607636847ccb7cd89845e801ac9c7f5b.jpg', 'extension': 'jpg'}, 1340028391: {'path': 'temp/1740803764_580797_1340028391_8b90331e3f5a45dd77359b9aefd26a8a.jpg', 'extension': 'jpg'}, 1340028402: {'path': 'temp/1740803764_580797_1340028402_f1719676be11f398a3e7226bce815dcc.jpg', 'extension': 'jpg'}, 1340028407: {'path': 'temp/1740803764_580797_1340028407_dcac9c31c1ae25d20517afe3f811d13c.jpg', 'extension': 'jpg'}, 1340028410: {'path': 'temp/1740803764_580797_1340028410_c14e0c4bdd820df9ff1714722c9a3511.jpg', 'extension': 'jpg'}, 1340028453: {'path': 'temp/1740803764_580797_1340028453_5f49b0d455120f424f81137a24bb7085.jpg', 'extension': 'jpg'}, 1340028619: {'path': 'temp/1740803764_580797_1340028619_59f13583ae9622393f6933e84b25c177.jpg', 'extension': 'jpg'}, 1340028769: {'path': 'temp/1740803764_580797_1340028769_22dde2683030f691a7541bf4169af9ab.jpg', 'extension': 'jpg'}, 1340028784: {'path': 'temp/1740803764_580797_1340028784_1c33add275760c3b4e59717c8e0a431b.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 = 20901979; (('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 = 20901979 group by h (('01', 42),) 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=20901979 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 (20901979) 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 (20901979) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28022025 20901979 Nombre de photos uploadées : 42 / 23040 (0%) 28022025 20901979 Nombre de photos taguées (types de déchets): 0 / 42 (0%) 28022025 20901979 Nombre de photos taguées (volume) : 0 / 42 (0%) [{'photo_id': 1340026115, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4750e1c1411c2e2408c9a9723bc68afa.jpg', 'username': None, 'uploaded_at': 1740702671, 'text': 'image_28022025_01_30_24_010139m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340026514, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/85d898e55afa9313e4c950d95845da3a.jpg', 'username': None, 'uploaded_at': 1740702851, 'text': 'image_28022025_01_30_34_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340026236, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/e41608f556dcc53272b20a2e1b163863.jpg', 'username': None, 'uploaded_at': 1740702731, 'text': 'image_28022025_01_31_23_10135.jpg'}, {'photo_id': 1340026474, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/97d0cc67d6138357ef6a2cea6b38eb5f.jpg', 'username': None, 'uploaded_at': 1740702851, 'text': 'image_28022025_01_33_24_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002079010009765625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20901979, '2025-02-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1629471,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.0628366470336914 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= 1629471 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20900111, 'dashboard_result_id': 9150624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900126, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20900621, 'dashboard_result_id': 9150625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900658, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20901042, 'dashboard_result_id': 9150626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901056, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20901979, 'dashboard_result_id': 9150627, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_28-02-2025_01_46_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901992, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20902324, 'dashboard_result_id': 9150628, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20902377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902382, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20902813, 'dashboard_result_id': 9150629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20902816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902827, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20903214, 'dashboard_result_id': 9150630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20904104, 'dashboard_result_id': 9150631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20904676, 'dashboard_result_id': 9150632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20905347, 'dashboard_result_id': 9150633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20906134, 'dashboard_result_id': 9150634, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20907055, 'dashboard_result_id': 9150635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20907059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907070, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20907421, 'dashboard_result_id': 9150636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20907429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907435, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20908156, 'dashboard_result_id': 9150637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20908197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20908198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20908199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20908200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20908201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20908202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20908203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20908204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20908205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20908206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20908207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20908208, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20909166, 'dashboard_result_id': 9150638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20909210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909216, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20909596, 'dashboard_result_id': 9150639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20909597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909608, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20910125, 'dashboard_result_id': 9150640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910139, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20910508, 'dashboard_result_id': 9150641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20911007, 'dashboard_result_id': 9150642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20911538, 'dashboard_result_id': 9150643, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20912133, 'dashboard_result_id': 9150644, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20912498, 'dashboard_result_id': 9150645, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912560, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20913007, 'dashboard_result_id': 9150646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913050, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20913442, 'dashboard_result_id': 9150647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913459, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20914178, 'dashboard_result_id': 9150648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20914234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914245, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20914902, 'dashboard_result_id': 9150649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20914981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914991, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20915703, 'dashboard_result_id': 9150650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20915754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20915755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20915756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20915757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20915758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20915759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20915760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20915761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20915762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20915763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20915764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20915765, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20916353, 'dashboard_result_id': 9150651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20916358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20916359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20916360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20916361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20916362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20916363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20916364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20916365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20916366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20916367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20916368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20916369, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20917018, 'dashboard_result_id': 9150652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917096, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20917662, 'dashboard_result_id': 9150653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917698, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20919487, 'dashboard_result_id': 9150654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919501, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20919908, 'dashboard_result_id': 9150655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919969, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20920542, 'dashboard_result_id': 9150656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20920547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20920548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20920549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20920550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20920551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20920552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20920553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20920554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20920555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20920556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20920557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20920558, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20921078, 'dashboard_result_id': 9150657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921097, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20921670, 'dashboard_result_id': 9150658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921689, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20922382, 'dashboard_result_id': 9150659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20922414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20922415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20922416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20922417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20922418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20922419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20922420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20922422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20922423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20922424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20922425, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20923040, 'dashboard_result_id': 9150660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20923074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923083, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20923792, 'dashboard_result_id': 9150661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20923869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923880, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20924336, 'dashboard_result_id': 9150662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924350, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20924961, 'dashboard_result_id': 9150663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924998, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20925405, 'dashboard_result_id': 9150664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20925413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20925414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20925416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20925417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20925418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20925419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20925420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20925421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20925422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20925423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20925424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20925425, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20927098, 'dashboard_result_id': 9150665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927135, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20927337, 'dashboard_result_id': 9150666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927352, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20927747, 'dashboard_result_id': 9150667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20927762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927773, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20928214, 'dashboard_result_id': 9150668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20928250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928252, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20928612, 'dashboard_result_id': 9150669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20928645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928656, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20930178, 'dashboard_result_id': 9150670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20930180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20930188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930191, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20930579, 'dashboard_result_id': 9150671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20930583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20930584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930594, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20931074, 'dashboard_result_id': 9150672, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931087, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20931482, 'dashboard_result_id': 9150673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931503, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20932209, 'dashboard_result_id': 9150674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20932259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20932260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20932261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20932262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20932263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20932264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20932265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20932266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20932267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20932268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20932269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20932270, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20933114, 'dashboard_result_id': 9150675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933128, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20933804, 'dashboard_result_id': 9150676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933855, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20934243, 'dashboard_result_id': 9150677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934258, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20934816, 'dashboard_result_id': 9150678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934907, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20936213, 'dashboard_result_id': 9150679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936227, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20936553, 'dashboard_result_id': 9150680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936566, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20937007, 'dashboard_result_id': 9150681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937020, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20937500, 'dashboard_result_id': 9150682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937514, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20937873, 'dashboard_result_id': 9150683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937910, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20938430, 'dashboard_result_id': 9150684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20938434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20938435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20938436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20938437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20938438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20938440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20938441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20938442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20938445, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20939195, 'dashboard_result_id': 9150685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20939197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20939202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939208, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20939475, 'dashboard_result_id': 9150686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20939527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20939536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939538, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20940145, 'dashboard_result_id': 9150687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940159, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20940802, 'dashboard_result_id': 9150688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940817, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20900111 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625804, 'mtr_portfolio_id': 20900111, 'created_at': datetime.datetime(2025, 3, 1, 5, 34, 31), 'result': '0.09747543990115765', 'result_long': None, 'result_double': None}] Qualite : 0.09747543990115765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20900111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20900111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900126, 'pht': 3726}}" where mtr_portfolio_id = 20900111 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20900111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150624, 0.09747543990115765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900126, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20900621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625805, 'mtr_portfolio_id': 20900621, 'created_at': datetime.datetime(2025, 3, 1, 5, 34, 59), 'result': '0.10516163642848303', 'result_long': None, 'result_double': None}] Qualite : 0.10516163642848303 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20900621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20900621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900658, 'pht': 3726}}" where mtr_portfolio_id = 20900621 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20900621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150625, 0.10516163642848303, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900658, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20901042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625806, 'mtr_portfolio_id': 20901042, 'created_at': datetime.datetime(2025, 3, 1, 5, 35, 29), 'result': '0.1051329707504246', 'result_long': None, 'result_double': None}] Qualite : 0.1051329707504246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20901042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20901042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901056, 'pht': 3726}}" where mtr_portfolio_id = 20901042 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150626, 0.1051329707504246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901056, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20901979 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625807, 'mtr_portfolio_id': 20901979, 'created_at': datetime.datetime(2025, 3, 1, 5, 36, 4), 'result': '0.09726493885083097', 'result_long': None, 'result_double': None}] Qualite : 0.09726493885083097 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20901979 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_01-03-2025_05_36_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20901979 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_01-03-2025_05_36_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901992, 'pht': 3726}}" where mtr_portfolio_id = 20901979 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901979 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150627, 0.09726493885083097, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_01-03-2025_05_36_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901992, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20902324 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621623, 'mtr_portfolio_id': 20902324, 'created_at': datetime.datetime(2025, 2, 28, 2, 5), 'result': '0.11263133103981852', 'result_long': None, 'result_double': None}] Qualite : 0.11263133103981852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20902324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20902324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20902377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902382, 'pht': 3726}}" where mtr_portfolio_id = 20902324 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20902324 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150628, 0.11263133103981852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20902377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902382, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20902813 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621665, 'mtr_portfolio_id': 20902813, 'created_at': datetime.datetime(2025, 2, 28, 2, 19, 1), 'result': '0.10688985082424936', 'result_long': None, 'result_double': None}] Qualite : 0.10688985082424936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20902813 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20902813 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20902816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902827, 'pht': 3726}}" where mtr_portfolio_id = 20902813 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20902813 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150629, 0.10688985082424936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20902816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20903214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621699, 'mtr_portfolio_id': 20903214, 'created_at': datetime.datetime(2025, 2, 28, 2, 32, 58), 'result': '0.10369774193069399', 'result_long': None, 'result_double': None}] Qualite : 0.10369774193069399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20903214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20903214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}" where mtr_portfolio_id = 20903214 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20903214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150630, 0.10369774193069399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20904104 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621743, 'mtr_portfolio_id': 20904104, 'created_at': datetime.datetime(2025, 2, 28, 2, 48, 58), 'result': '0.10198504883927051', 'result_long': None, 'result_double': None}] Qualite : 0.10198504883927051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}" where mtr_portfolio_id = 20904104 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20904104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150631, 0.10198504883927051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20904676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621778, 'mtr_portfolio_id': 20904676, 'created_at': datetime.datetime(2025, 2, 28, 3, 2, 59), 'result': '0.09339201979184251', 'result_long': None, 'result_double': None}] Qualite : 0.09339201979184251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}" where mtr_portfolio_id = 20904676 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20904676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150632, 0.09339201979184251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20905347 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621833, 'mtr_portfolio_id': 20905347, 'created_at': datetime.datetime(2025, 2, 28, 3, 18, 58), 'result': '0.11636859519840724', 'result_long': None, 'result_double': None}] Qualite : 0.11636859519840724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20905347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20905347 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}" where mtr_portfolio_id = 20905347 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20905347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150633, 0.11636859519840724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20906134 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621897, 'mtr_portfolio_id': 20906134, 'created_at': datetime.datetime(2025, 2, 28, 3, 35), 'result': '0.10289746261654546', 'result_long': None, 'result_double': None}] Qualite : 0.10289746261654546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20906134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20906134 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}" where mtr_portfolio_id = 20906134 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20906134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150634, 0.10289746261654546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20907055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621944, 'mtr_portfolio_id': 20907055, 'created_at': datetime.datetime(2025, 2, 28, 3, 46, 58), 'result': '0.11183913044676853', 'result_long': None, 'result_double': None}] Qualite : 0.11183913044676853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20907055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20907055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20907059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907070, 'pht': 3726}}" where mtr_portfolio_id = 20907055 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20907055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150635, 0.11183913044676853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20907059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907070, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20907421 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621970, 'mtr_portfolio_id': 20907421, 'created_at': datetime.datetime(2025, 2, 28, 4, 2, 59), 'result': '0.11721529475197166', 'result_long': None, 'result_double': None}] Qualite : 0.11721529475197166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20907421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20907421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20907429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907435, 'pht': 3726}}" where mtr_portfolio_id = 20907421 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20907421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150636, 0.11721529475197166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20907429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20908156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622022, 'mtr_portfolio_id': 20908156, 'created_at': datetime.datetime(2025, 2, 28, 4, 26, 30), 'result': '0.09507947351771101', 'result_long': None, 'result_double': None}] Qualite : 0.09507947351771101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20908156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20908156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20908197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20908198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20908199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20908200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20908201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20908202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20908203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20908204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20908205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20908206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20908207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20908208, 'pht': 3726}}" where mtr_portfolio_id = 20908156 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20908156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150637, 0.09507947351771101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20908197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20908198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20908199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20908200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20908201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20908202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20908203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20908204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20908205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20908206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20908207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20908208, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20909166 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622115, 'mtr_portfolio_id': 20909166, 'created_at': datetime.datetime(2025, 2, 28, 5, 16, 57), 'result': '0.11103720881979344', 'result_long': None, 'result_double': None}] Qualite : 0.11103720881979344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20909166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20909166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20909210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909216, 'pht': 3726}}" where mtr_portfolio_id = 20909166 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20909166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150638, 0.11103720881979344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20909210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909216, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20909596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622139, 'mtr_portfolio_id': 20909596, 'created_at': datetime.datetime(2025, 2, 28, 5, 33, 7), 'result': '0.10011956881308742', 'result_long': None, 'result_double': None}] Qualite : 0.10011956881308742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20909596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20909596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20909597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909608, 'pht': 3726}}" where mtr_portfolio_id = 20909596 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20909596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150639, 0.10011956881308742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20909597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909608, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20910125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622234, 'mtr_portfolio_id': 20910125, 'created_at': datetime.datetime(2025, 2, 28, 5, 49, 30), 'result': '0.09822750903674135', 'result_long': None, 'result_double': None}] Qualite : 0.09822750903674135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20910125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20910125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910139, 'pht': 3726}}" where mtr_portfolio_id = 20910125 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20910125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150640, 0.09822750903674135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910139, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20910508 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622263, 'mtr_portfolio_id': 20910508, 'created_at': datetime.datetime(2025, 2, 28, 6, 5, 29), 'result': '0.10985063203541856', 'result_long': None, 'result_double': None}] Qualite : 0.10985063203541856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20910508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20910508 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}" where mtr_portfolio_id = 20910508 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20910508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150641, 0.10985063203541856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20911007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622304, 'mtr_portfolio_id': 20911007, 'created_at': datetime.datetime(2025, 2, 28, 6, 18, 58), 'result': '0.11129111297383326', 'result_long': None, 'result_double': None}] Qualite : 0.11129111297383326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20911007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20911007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}" where mtr_portfolio_id = 20911007 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20911007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150642, 0.11129111297383326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20911538 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622338, 'mtr_portfolio_id': 20911538, 'created_at': datetime.datetime(2025, 2, 28, 6, 32, 57), 'result': '0.09534862347120972', 'result_long': None, 'result_double': None}] Qualite : 0.09534862347120972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20911538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20911538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}" where mtr_portfolio_id = 20911538 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20911538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150643, 0.09534862347120972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20912133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622378, 'mtr_portfolio_id': 20912133, 'created_at': datetime.datetime(2025, 2, 28, 6, 48, 58), 'result': '0.10805905131395158', 'result_long': None, 'result_double': None}] Qualite : 0.10805905131395158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20912133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20912133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, 'pht': 3726}}" where mtr_portfolio_id = 20912133 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20912133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150644, 0.10805905131395158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20912498 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622405, 'mtr_portfolio_id': 20912498, 'created_at': datetime.datetime(2025, 2, 28, 7, 3), 'result': '0.10622409205524891', 'result_long': None, 'result_double': None}] Qualite : 0.10622409205524891 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20912498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20912498 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912560, 'pht': 3726}}" where mtr_portfolio_id = 20912498 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20912498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150645, 0.10622409205524891, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912560, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20913007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622461, 'mtr_portfolio_id': 20913007, 'created_at': datetime.datetime(2025, 2, 28, 7, 27, 28), 'result': '0.10359731359524672', 'result_long': None, 'result_double': None}] Qualite : 0.10359731359524672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20913007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20913007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913050, 'pht': 3726}}" where mtr_portfolio_id = 20913007 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20913007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150646, 0.10359731359524672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20913442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622497, 'mtr_portfolio_id': 20913442, 'created_at': datetime.datetime(2025, 2, 28, 7, 32, 59), 'result': '0.10269329454977479', 'result_long': None, 'result_double': None}] Qualite : 0.10269329454977479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20913442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20913442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913459, 'pht': 3726}}" where mtr_portfolio_id = 20913442 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20913442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150647, 0.10269329454977479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913459, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20914178 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622550, 'mtr_portfolio_id': 20914178, 'created_at': datetime.datetime(2025, 2, 28, 7, 48, 58), 'result': '0.10087831170972228', 'result_long': None, 'result_double': None}] Qualite : 0.10087831170972228 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20914178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20914178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20914234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914245, 'pht': 3726}}" where mtr_portfolio_id = 20914178 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20914178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150648, 0.10087831170972228, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20914234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20914902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622593, 'mtr_portfolio_id': 20914902, 'created_at': datetime.datetime(2025, 2, 28, 8, 2, 30), 'result': '0.09306794617768774', 'result_long': None, 'result_double': None}] Qualite : 0.09306794617768774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20914902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20914902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20914981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914991, 'pht': 3726}}" where mtr_portfolio_id = 20914902 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20914902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150649, 0.09306794617768774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20914981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914991, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20915703 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622646, 'mtr_portfolio_id': 20915703, 'created_at': datetime.datetime(2025, 2, 28, 8, 18, 58), 'result': '0.091494975935373', 'result_long': None, 'result_double': None}] Qualite : 0.091494975935373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20915703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915703 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20915754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20915755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20915756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20915757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20915758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20915759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20915760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20915761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20915762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20915763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20915764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20915765, 'pht': 3726}}" where mtr_portfolio_id = 20915703 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20915703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150650, 0.091494975935373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20915754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20915755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20915756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20915757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20915758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20915759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20915760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20915761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20915762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20915763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20915764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20915765, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20916353 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622684, 'mtr_portfolio_id': 20916353, 'created_at': datetime.datetime(2025, 2, 28, 8, 32, 59), 'result': '0.08369197115265549', 'result_long': None, 'result_double': None}] Qualite : 0.08369197115265549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20916353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20916353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20916358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20916359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20916360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20916361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20916362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20916363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20916364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20916365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20916366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20916367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20916368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20916369, 'pht': 3726}}" where mtr_portfolio_id = 20916353 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20916353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150651, 0.08369197115265549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20916358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20916359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20916360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20916361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20916362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20916363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20916364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20916365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20916366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20916367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20916368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20916369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20917018 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622725, 'mtr_portfolio_id': 20917018, 'created_at': datetime.datetime(2025, 2, 28, 8, 49, 1), 'result': '0.07647040179178075', 'result_long': None, 'result_double': None}] Qualite : 0.07647040179178075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20917018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20917018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917096, 'pht': 3726}}" where mtr_portfolio_id = 20917018 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20917018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150652, 0.07647040179178075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20917662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622804, 'mtr_portfolio_id': 20917662, 'created_at': datetime.datetime(2025, 2, 28, 9, 3), 'result': '0.07224231244475547', 'result_long': None, 'result_double': None}] Qualite : 0.07224231244475547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20917662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20917662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917698, 'pht': 3726}}" where mtr_portfolio_id = 20917662 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20917662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150653, 0.07224231244475547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20919487 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622946, 'mtr_portfolio_id': 20919487, 'created_at': datetime.datetime(2025, 2, 28, 9, 48, 58), 'result': '0.08199698200790083', 'result_long': None, 'result_double': None}] Qualite : 0.08199698200790083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20919487 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20919487 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919501, 'pht': 3726}}" where mtr_portfolio_id = 20919487 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20919487 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150654, 0.08199698200790083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20919908 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622981, 'mtr_portfolio_id': 20919908, 'created_at': datetime.datetime(2025, 2, 28, 10, 3, 1), 'result': '0.085683253491643', 'result_long': None, 'result_double': None}] Qualite : 0.085683253491643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20919908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20919908 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919969, 'pht': 3726}}" where mtr_portfolio_id = 20919908 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20919908 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150655, 0.085683253491643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20920542 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623031, 'mtr_portfolio_id': 20920542, 'created_at': datetime.datetime(2025, 2, 28, 10, 18, 57), 'result': '0.08789036432563398', 'result_long': None, 'result_double': None}] Qualite : 0.08789036432563398 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20920542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20920542 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20920547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20920548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20920549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20920550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20920551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20920552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20920553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20920554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20920555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20920556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20920557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20920558, 'pht': 3726}}" where mtr_portfolio_id = 20920542 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20920542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150656, 0.08789036432563398, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20920547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20920548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20920549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20920550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20920551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20920552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20920553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20920554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20920555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20920556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20920557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20920558, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20921078 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623083, 'mtr_portfolio_id': 20921078, 'created_at': datetime.datetime(2025, 2, 28, 10, 32, 59), 'result': '0.06747455878631768', 'result_long': None, 'result_double': None}] Qualite : 0.06747455878631768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20921078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20921078 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921097, 'pht': 3726}}" where mtr_portfolio_id = 20921078 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20921078 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150657, 0.06747455878631768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921097, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20921670 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623140, 'mtr_portfolio_id': 20921670, 'created_at': datetime.datetime(2025, 2, 28, 10, 48, 57), 'result': '0.07281981865086648', 'result_long': None, 'result_double': None}] Qualite : 0.07281981865086648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20921670 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20921670 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921689, 'pht': 3726}}" where mtr_portfolio_id = 20921670 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20921670 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150658, 0.07281981865086648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921689, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20922382 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623241, 'mtr_portfolio_id': 20922382, 'created_at': datetime.datetime(2025, 2, 28, 11, 2, 29), 'result': '0.08097714561073942', 'result_long': None, 'result_double': None}] Qualite : 0.08097714561073942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20922382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20922382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20922414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20922415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20922416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20922417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20922418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20922419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20922420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20922422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20922423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20922424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20922425, 'pht': 3726}}" where mtr_portfolio_id = 20922382 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20922382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150659, 0.08097714561073942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20922414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20922415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20922416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20922417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20922418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20922419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20922420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20922422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20922423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20922424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20922425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20923040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623320, 'mtr_portfolio_id': 20923040, 'created_at': datetime.datetime(2025, 2, 28, 11, 19), 'result': '0.0713210040431741', 'result_long': None, 'result_double': None}] Qualite : 0.0713210040431741 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20923040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20923074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923083, 'pht': 3726}}" where mtr_portfolio_id = 20923040 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20923040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150660, 0.0713210040431741, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20923074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923083, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20923792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623373, 'mtr_portfolio_id': 20923792, 'created_at': datetime.datetime(2025, 2, 28, 11, 32, 30), 'result': '0.08809963752076401', 'result_long': None, 'result_double': None}] Qualite : 0.08809963752076401 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20923792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20923869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923880, 'pht': 3726}}" where mtr_portfolio_id = 20923792 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20923792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150661, 0.08809963752076401, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20923869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20924336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623420, 'mtr_portfolio_id': 20924336, 'created_at': datetime.datetime(2025, 2, 28, 11, 47, 1), 'result': '0.08281121640675179', 'result_long': None, 'result_double': None}] Qualite : 0.08281121640675179 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20924336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924350, 'pht': 3726}}" where mtr_portfolio_id = 20924336 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20924336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150662, 0.08281121640675179, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924350, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20924961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623463, 'mtr_portfolio_id': 20924961, 'created_at': datetime.datetime(2025, 2, 28, 12, 2, 29), 'result': '0.10284216524014349', 'result_long': None, 'result_double': None}] Qualite : 0.10284216524014349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20924961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924998, 'pht': 3726}}" where mtr_portfolio_id = 20924961 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20924961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150663, 0.10284216524014349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20925405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623524, 'mtr_portfolio_id': 20925405, 'created_at': datetime.datetime(2025, 2, 28, 12, 23), 'result': '0.1035259730550516', 'result_long': None, 'result_double': None}] Qualite : 0.1035259730550516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20925405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20925405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20925413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20925414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20925416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20925417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20925418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20925419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20925420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20925421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20925422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20925423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20925424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20925425, 'pht': 3726}}" where mtr_portfolio_id = 20925405 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20925405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150664, 0.1035259730550516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20925413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20925414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20925416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20925417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20925418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20925419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20925420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20925421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20925422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20925423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20925424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20925425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20927098 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623897, 'mtr_portfolio_id': 20927098, 'created_at': datetime.datetime(2025, 2, 28, 13, 47), 'result': '0.06834300762435493', 'result_long': None, 'result_double': None}] Qualite : 0.06834300762435493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20927098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20927098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927135, 'pht': 3726}}" where mtr_portfolio_id = 20927098 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20927098 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150665, 0.06834300762435493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20927337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623910, 'mtr_portfolio_id': 20927337, 'created_at': datetime.datetime(2025, 2, 28, 14, 3), 'result': '0.08726666855087595', 'result_long': None, 'result_double': None}] Qualite : 0.08726666855087595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20927337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20927337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927352, 'pht': 3726}}" where mtr_portfolio_id = 20927337 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20927337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150666, 0.08726666855087595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927352, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20927747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623953, 'mtr_portfolio_id': 20927747, 'created_at': datetime.datetime(2025, 2, 28, 14, 19, 1), 'result': '0.09567446442677627', 'result_long': None, 'result_double': None}] Qualite : 0.09567446442677627 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20927747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20927747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20927762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927773, 'pht': 3726}}" where mtr_portfolio_id = 20927747 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20927747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150667, 0.09567446442677627, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20927762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927773, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20928214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623988, 'mtr_portfolio_id': 20928214, 'created_at': datetime.datetime(2025, 2, 28, 14, 32, 58), 'result': '0.09064794750879732', 'result_long': None, 'result_double': None}] Qualite : 0.09064794750879732 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20928214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20928214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20928250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928252, 'pht': 3726}}" where mtr_portfolio_id = 20928214 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20928214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150668, 0.09064794750879732, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20928250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20928612 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624033, 'mtr_portfolio_id': 20928612, 'created_at': datetime.datetime(2025, 2, 28, 15, 20, 58), 'result': '0.09451313131971306', 'result_long': None, 'result_double': None}] Qualite : 0.09451313131971306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20928612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20928612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20928645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928656, 'pht': 3726}}" where mtr_portfolio_id = 20928612 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20928612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150669, 0.09451313131971306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20928645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20930178 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624238, 'mtr_portfolio_id': 20930178, 'created_at': datetime.datetime(2025, 2, 28, 15, 33, 4), 'result': '0.10244918944224783', 'result_long': None, 'result_double': None}] Qualite : 0.10244918944224783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20930178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20930178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20930180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20930188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930191, 'pht': 3726}}" where mtr_portfolio_id = 20930178 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20930178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150670, 0.10244918944224783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20930180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20930188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20930579 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624267, 'mtr_portfolio_id': 20930579, 'created_at': datetime.datetime(2025, 2, 28, 15, 48, 59), 'result': '0.11025788266906499', 'result_long': None, 'result_double': None}] Qualite : 0.11025788266906499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20930579 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20930579 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20930583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20930584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930594, 'pht': 3726}}" where mtr_portfolio_id = 20930579 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20930579 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150671, 0.11025788266906499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20930583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20930584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20931074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624301, 'mtr_portfolio_id': 20931074, 'created_at': datetime.datetime(2025, 2, 28, 16, 2, 59), 'result': '0.10105308941431344', 'result_long': None, 'result_double': None}] Qualite : 0.10105308941431344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20931074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20931074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931087, 'pht': 3726}}" where mtr_portfolio_id = 20931074 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20931074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150672, 0.10105308941431344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20931482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624339, 'mtr_portfolio_id': 20931482, 'created_at': datetime.datetime(2025, 2, 28, 16, 20, 57), 'result': '0.1148770581383475', 'result_long': None, 'result_double': None}] Qualite : 0.1148770581383475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20931482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20931482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931503, 'pht': 3726}}" where mtr_portfolio_id = 20931482 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20931482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150673, 0.1148770581383475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931503, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20932209 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624396, 'mtr_portfolio_id': 20932209, 'created_at': datetime.datetime(2025, 2, 28, 16, 32, 58), 'result': '0.10833706913810708', 'result_long': None, 'result_double': None}] Qualite : 0.10833706913810708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20932209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20932209 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20932259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20932260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20932261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20932262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20932263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20932264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20932265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20932266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20932267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20932268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20932269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20932270, 'pht': 3726}}" where mtr_portfolio_id = 20932209 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20932209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150674, 0.10833706913810708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20932259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20932260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20932261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20932262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20932263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20932264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20932265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20932266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20932267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20932268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20932269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20932270, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20933114 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624442, 'mtr_portfolio_id': 20933114, 'created_at': datetime.datetime(2025, 2, 28, 16, 52, 59), 'result': '0.1162066847506079', 'result_long': None, 'result_double': None}] Qualite : 0.1162066847506079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20933114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20933114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933128, 'pht': 3726}}" where mtr_portfolio_id = 20933114 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20933114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150675, 0.1162066847506079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933128, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20933804 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624484, 'mtr_portfolio_id': 20933804, 'created_at': datetime.datetime(2025, 2, 28, 17, 3), 'result': '0.09912110299375419', 'result_long': None, 'result_double': None}] Qualite : 0.09912110299375419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20933804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20933804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933855, 'pht': 3726}}" where mtr_portfolio_id = 20933804 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20933804 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150676, 0.09912110299375419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933855, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20934243 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624534, 'mtr_portfolio_id': 20934243, 'created_at': datetime.datetime(2025, 2, 28, 17, 18, 59), 'result': '0.11994262095122181', 'result_long': None, 'result_double': None}] Qualite : 0.11994262095122181 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20934243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20934243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934258, 'pht': 3726}}" where mtr_portfolio_id = 20934243 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20934243 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150677, 0.11994262095122181, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20934816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624573, 'mtr_portfolio_id': 20934816, 'created_at': datetime.datetime(2025, 2, 28, 17, 33, 1), 'result': '0.1219180521373139', 'result_long': None, 'result_double': None}] Qualite : 0.1219180521373139 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20934816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20934816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934907, 'pht': 3726}}" where mtr_portfolio_id = 20934816 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20934816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150678, 0.1219180521373139, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934907, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20936213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624689, 'mtr_portfolio_id': 20936213, 'created_at': datetime.datetime(2025, 2, 28, 18, 33, 11), 'result': '0.12231375591566294', 'result_long': None, 'result_double': None}] Qualite : 0.12231375591566294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20936213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20936213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936227, 'pht': 3726}}" where mtr_portfolio_id = 20936213 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20936213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150679, 0.12231375591566294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20936553 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624748, 'mtr_portfolio_id': 20936553, 'created_at': datetime.datetime(2025, 2, 28, 18, 49, 15), 'result': '0.10894659946099487', 'result_long': None, 'result_double': None}] Qualite : 0.10894659946099487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20936553 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20936553 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936566, 'pht': 3726}}" where mtr_portfolio_id = 20936553 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20936553 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150680, 0.10894659946099487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20937007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624778, 'mtr_portfolio_id': 20937007, 'created_at': datetime.datetime(2025, 2, 28, 19, 2, 58), 'result': '0.12139212672551182', 'result_long': None, 'result_double': None}] Qualite : 0.12139212672551182 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20937007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20937007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937020, 'pht': 3726}}" where mtr_portfolio_id = 20937007 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20937007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150681, 0.12139212672551182, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937020, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20937500 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624824, 'mtr_portfolio_id': 20937500, 'created_at': datetime.datetime(2025, 2, 28, 19, 16, 58), 'result': '0.1178325574289863', 'result_long': None, 'result_double': None}] Qualite : 0.1178325574289863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20937500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20937500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937514, 'pht': 3726}}" where mtr_portfolio_id = 20937500 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20937500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150682, 0.1178325574289863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937514, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20937873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624855, 'mtr_portfolio_id': 20937873, 'created_at': datetime.datetime(2025, 2, 28, 19, 32, 59), 'result': '0.11793626118023766', 'result_long': None, 'result_double': None}] Qualite : 0.11793626118023766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20937873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20937873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937910, 'pht': 3726}}" where mtr_portfolio_id = 20937873 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20937873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150683, 0.11793626118023766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937910, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20938430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624893, 'mtr_portfolio_id': 20938430, 'created_at': datetime.datetime(2025, 2, 28, 19, 52, 30), 'result': '0.11342680958395596', 'result_long': None, 'result_double': None}] Qualite : 0.11342680958395596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20938430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20938430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20938434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20938435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20938436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20938437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20938438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20938440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20938441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20938442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20938445, 'pht': 3726}}" where mtr_portfolio_id = 20938430 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20938430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150684, 0.11342680958395596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20938434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20938435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20938436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20938437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20938438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20938440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20938441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20938442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20938445, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20939195 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624946, 'mtr_portfolio_id': 20939195, 'created_at': datetime.datetime(2025, 2, 28, 20, 2, 57), 'result': '0.10675708385257064', 'result_long': None, 'result_double': None}] Qualite : 0.10675708385257064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20939195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20939195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20939197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20939202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939208, 'pht': 3726}}" where mtr_portfolio_id = 20939195 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20939195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150685, 0.10675708385257064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20939197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20939202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939208, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20939475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624971, 'mtr_portfolio_id': 20939475, 'created_at': datetime.datetime(2025, 2, 28, 20, 19), 'result': '0.10366553235344286', 'result_long': None, 'result_double': None}] Qualite : 0.10366553235344286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20939475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20939475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20939527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20939536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939538, 'pht': 3726}}" where mtr_portfolio_id = 20939475 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20939475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150686, 0.10366553235344286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20939527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20939536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939538, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20940145 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625010, 'mtr_portfolio_id': 20940145, 'created_at': datetime.datetime(2025, 2, 28, 20, 32, 31), 'result': '0.113962730214793', 'result_long': None, 'result_double': None}] Qualite : 0.113962730214793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20940145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20940145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940159, 'pht': 3726}}" where mtr_portfolio_id = 20940145 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20940145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150687, 0.113962730214793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940159, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20940802 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625052, 'mtr_portfolio_id': 20940802, 'created_at': datetime.datetime(2025, 2, 28, 21, 8, 57), 'result': '0.11654102216862333', 'result_long': None, 'result_double': None}] Qualite : 0.11654102216862333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20940802 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20940802 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940817, 'pht': 3726}}" where mtr_portfolio_id = 20940802 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20940802 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150688, 0.11654102216862333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940817, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20900111,20900621,20901042,20901979,20902324,20902813,20903214,20904104,20904676,20905347,20906134,20907055,20907421,20908156,20909166,20909596,20910125,20910508,20911007,20911538,20912133,20912498,20913007,20913442,20914178,20914902,20915703,20916353,20917018,20917662,20919487,20919908,20920542,20921078,20921670,20922382,20923040,20923792,20924336,20924961,20925405,20927098,20927337,20927747,20928214,20928612,20930178,20930579,20931074,20931482,20932209,20933114,20933804,20934243,20934816,20936213,20936553,20937007,20937500,20937873,20938430,20939195,20939475,20940145,20940802) result : ((1340013836,), (1340013838,), (1340013840,), (1340014045,), (1340014049,), (1340014053,), (1340014058,), (1340014063,), (1340014110,), (1340014114,), (1340014116,), (1340014122,), (1340014126,), (1340014135,), (1340014180,), (1340014184,), (1340014188,), (1340014191,), (1340014227,), (1340014232,), (1340014237,), (1340014243,), (1340014251,), (1340015073,), (1340015079,), (1340015082,), (1340015086,), (1340015090,), (1340015358,), (1340015369,), (1340015401,), (1340015421,), (1340015426,), (1340015456,), (1340015466,), (1340015476,), (1340015481,), (1340015486,), (1340015492,), (1340015537,), (1340015543,), (1340015549,), (1340015593,), (1340015606,), (1340015611,), (1340015615,), (1340015659,), (1340015737,), (1340015742,), (1340015748,), (1340015755,), (1340015759,), (1340015808,), (1340015813,), (1340015818,), (1340015858,), (1340015862,), (1340015866,), (1340015870,), (1340015874,), (1340015882,), (1340015924,), (1340015934,), (1340015939,), (1340015945,), (1340015950,), (1340015975,), (1340015981,), (1340015986,), (1340015989,), (1340016136,), (1340016046,), (1340016050,), (1340016054,), (1340016112,), (1340016130,), (1340016481,), (1340016497,), (1340016502,), (1340016507,), (1340016517,), (1340016558,), (1340016562,), (1340016600,), (1340016604,), (1340016608,), (1340016613,), (1340016619,), (1340016665,), (1340016667,), (1340016670,), (1340016674,), (1340016677,), (1340016790,), (1340016794,), (1340016798,), (1340016803,), (1340016846,), (1340016850,), (1340016853,), (1340016856,), (1340016859,), (1340016896,), (1340016903,), (1340016918,), (1340016959,), (1340016963,), (1340016967,), (1340016971,), (1340016975,), (1340017011,), (1340017012,), (1340017014,), (1340017017,), (1340017021,), (1340017030,), (1340017094,), (1340017107,), (1340017111,), (1340017115,), (1340017119,), (1340017147,), (1340017149,), (1340017153,), (1340017157,), (1340017222,), (1340017232,), (1340017243,), (1340017248,), (1340017251,), (1340017282,), (1340017283,), (1340017285,), (1340017287,), (1340017290,), (1340017294,), (1340017336,), (1340017339,), (1340017399,), (1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,), (1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,), (1340029184,), (1340029187,), (1340029432,), (1340029434,), (1340029471,), (1340029474,), (1340029477,), (1340029480,), (1340029484,), (1340029523,), (1340029597,), (1340029689,), (1340029765,), (1340029844,), (1340029857,), (1340030118,), (1340030122,), (1340030127,), (1340030131,), (1340030231,), (1340030242,), (1340030246,), (1340030250,), (1340030273,), (1340030276,), (1340030279,), (1340030283,), (1340030315,), (1340030323,), (1340030333,), (1340030337,), (1340030387,), (1340030390,), (1340030393,), (1340030397,), (1340030497,), (1340030890,), (1340030891,), (1340030897,), (1340030917,), (1340030927,), (1340030982,), (1340031055,), (1340031058,), (1340031521,), (1340032111,), (1340032104,), (1340032108,), (1340032137,), (1340032140,), (1340032143,), (1340032147,), (1340032150,), (1340032474,), (1340032477,), (1340032480,), (1340032484,), (1340032825,), (1340032835,), (1340032850,), (1340032855,), (1340032860,), (1340032863,), (1340032890,), (1340032892,), (1340032895,), (1340032897,), (1340032920,), (1340032922,), (1340032923,), (1340032966,), (1340032967,), (1340032979,), (1340033016,), (1340033017,), (1340033018,), (1340033058,), (1340033061,), (1340033151,), (1340033163,), (1340033170,), (1340033178,), (1340033182,), (1340033185,), (1340033550,), (1340033616,), (1340033697,), (1340033759,), (1340034079,), (1340034083,), (1340034087,), (1340034092,), (1340034096,), (1340034100,), (1340034362,), (1340034415,), (1340034429,), (1340034580,), (1340034586,), (1340034590,), (1340034596,), (1340034600,), (1340034891,), (1340034885,), (1340034886,), (1340034887,), (1340034889,), (1340034906,), (1340034907,), (1340034911,), (1340034926,), (1340035232,), (1340035236,), (1340035241,), (1340035243,), (1340035245,), (1340035444,), (1340035457,), (1340035670,), (1340035771,), (1340035777,), (1340035883,), (1340035887,), (1340036026,), (1340036529,), (1340036530,), (1340036540,), (1340036546,), (1340036552,), (1340036590,), (1340036830,), (1340036847,), (1340036860,), (1340036934,), (1340037033,), (1340037039,), (1340037199,), (1340037200,), (1340037201,), (1340037253,), (1340037254,), (1340037259,), (1340037266,), (1340037269,), (1340037283,), (1340037301,), (1340037303,), (1340037348,), (1340037486,), (1340037504,), (1340037543,), (1340037545,), (1340037584,), (1340038101,), (1340038198,), (1340038369,), (1340038460,), (1340038566,), (1340038644,), (1340039271,), (1340039273,), (1340039284,), (1340039301,), (1340039313,), (1340039522,), (1340039538,), (1340039579,), (1340039595,), (1340039656,), (1340039658,), (1340039660,), (1340039668,), (1340039679,), (1340039687,), (1340039804,), (1340039758,), (1340039794,), (1340039862,), (1340039864,), (1340039907,), (1340039921,), (1340039925,), (1340039952,), (1340039957,), (1340039959,), (1340039962,), (1340039964,), (1340039987,), (1340039992,), (1340039997,), (1340040056,), (1340040059,), (1340040060,), (1340040064,), (1340040066,), (1340040068,), (1340040078,), (1340040089,), (1340040118,), (1340040303,), (1340040511,), (1340041003,), (1340041006,), (1340041012,), (1340041356,), (1340041359,), (1340041421,), (1340041428,), (1340041431,), (1340041491,), (1340041493,), (1340041495,), (1340041498,), (1340041501,), (1340041597,), (1340041775,), (1340041787,), (1340041888,), (1340041923,), (1340041926,), (1340041927,), (1340041931,), (1340041958,), (1340041962,), (1340041965,), (1340041968,), (1340041971,), (1340042054,), (1340042055,), (1340042057,), (1340042061,), (1340042064,), (1340042069,), (1340042077,), (1340042075,), (1340042100,), (1340042102,), (1340042104,), (1340042134,), (1340042136,), (1340042138,), (1340042179,), (1340042181,), (1340042183,), (1340042195,), (1340042200,), (1340042202,), (1340042205,), (1340042206,), (1340042220,), (1340042222,), (1340042224,), (1340042226,), (1340042228,), (1340042999,), (1340043003,), (1340043005,), (1340043008,), (1340043015,), (1340043431,), (1340043436,), (1340043438,), (1340043441,), (1340043444,), (1340043504,), (1340043578,), (1340043580,), (1340043582,), (1340043584,), (1340043587,), (1340043598,), (1340043650,), (1340043653,), (1340043664,), (1340043670,), (1340044341,), (1340044424,), (1340044498,), (1340044783,), (1340044797,), (1340044799,), (1340044844,), (1340044929,), (1340045010,), (1340045119,), (1340045126,), (1340045128,), (1340045140,), (1340045155,), (1340045162,), (1340045381,), (1340045387,), (1340045389,), (1340045393,), (1340045564,), (1340045567,), (1340045571,), (1340045574,), (1340045579,), (1340045583,), (1340045596,), (1340045600,), (1340045602,), (1340045603,), (1340045662,), (1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,), (1340047207,), (1340047210,), (1340047214,), (1340047218,), (1340047222,), (1340047238,), (1340047240,), (1340047242,), (1340047245,), (1340047248,), (1340047260,), (1340047310,), (1340047312,), (1340047314,), (1340047316,), (1340047718,), (1340047720,), (1340047728,), (1340047737,), (1340047740,), (1340047741,), (1340047958,), (1340047960,), (1340047974,), (1340048044,), (1340048113,), (1340048240,), (1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,), (1340049653,), (1340049701,), (1340049758,), (1340049796,), (1340049861,), (1340049942,), (1340050133,), (1340050141,), (1340050152,), (1340050155,), (1340050593,), (1340050599,), (1340050639,), (1340050653,), (1340050656,), (1340050712,), (1340050714,), (1340050716,), (1340050719,), (1340050722,), (1340050774,), (1340050778,), (1340050784,), (1340050868,), (1340050895,), (1340050903,), (1340051537,), (1340051534,), (1340051548,), (1340051550,), (1340051553,), (1340051555,), (1340051560,), (1340051565,), (1340051571,), (1340051595,), (1340051646,), (1340051712,), (1340051737,), (1340051893,), (1340051899,), (1340052263,), (1340052265,), (1340052267,), (1340052270,), (1340052293,), (1340052295,), (1340052297,), (1340052300,), (1340052400,), (1340052407,), (1340052497,), (1340052501,), (1340052504,), (1340052505,), (1340052628,), (1340052630,), (1340052632,), (1340052635,), (1340052641,), (1340052650,), (1340052652,), (1340052655,), (1340052658,), (1340052660,), (1340052664,), (1340052670,), (1340052680,), (1340052694,), (1340052703,), (1340052715,), (1340052718,), (1340052749,), (1340052838,), (1340053184,), (1340053176,), (1340053178,), (1340053237,), (1340053239,), (1340053241,), (1340053244,), (1340053246,), (1340053249,), (1340053266,), (1340053273,), (1340053275,), (1340053278,), (1340053284,), (1340054130,), (1340054213,), (1340054217,), (1340054220,), (1340054280,), (1340054312,), (1340054503,), (1340054536,), (1340054601,), (1340054609,), (1340054613,), (1340054636,), (1340054637,), (1340054639,), (1340054640,), (1340054661,), (1340054663,), (1340054672,), (1340054723,), (1340054726,), (1340054739,), (1340054757,), (1340054759,), (1340054765,), (1340054774,), (1340055001,), (1340055002,), (1340055003,), (1340055005,), (1340055067,), (1340055121,), (1340055122,), (1340055123,), (1340055125,), (1340055127,), (1340055132,), (1340055226,), (1340055370,), (1340055386,), (1340055388,), (1340055621,), (1340055634,), (1340055635,), (1340055644,), (1340055649,), (1340055656,), (1340055691,), (1340055699,), (1340055818,), (1340055871,), (1340055879,), (1340055883,), (1340055901,), (1340055912,), (1340056395,), (1340056397,), (1340056401,), (1340056406,), (1340056409,), (1340056600,), (1340056548,), (1340056598,), (1340056833,), (1340056835,), (1340056837,), (1340056841,), (1340056846,), (1340056883,), (1340056885,), (1340056887,), (1340056892,), (1340056943,), (1340056960,), (1340056990,), (1340056992,), (1340056994,), (1340056998,), (1340057001,), (1340057021,), (1340057023,), (1340057025,), (1340057029,), (1340057049,), (1340057233,), (1340057326,), (1340057462,), (1340057626,), (1340057717,), (1340058177,), (1340058179,), (1340058181,), (1340058526,), (1340058579,), (1340058588,), (1340058605,), (1340058661,), (1340058674,), (1340058708,), (1340060872,), (1340065828,), (1340066031,), (1340066066,), (1340066067,), (1340066897,), (1340066898,), (1340067209,), (1340067210,), (1340067378,), (1340067379,), (1340067380,), (1340067383,), (1340067386,), (1340067407,), (1340067408,), (1340067409,), (1340067412,), (1340067521,), (1340067531,), (1340067555,), (1340067556,), (1340067831,), (1340067850,), (1340067851,), (1340067906,), (1340067907,), (1340067908,), (1340067944,), (1340067947,), (1340067948,), (1340067950,), (1340068015,), (1340068013,), (1340068014,), (1340068040,), (1340068041,), (1340068042,), (1340068044,), (1340068047,), (1340068054,), (1340068085,), (1340068086,), (1340068087,), (1340068090,), (1340068092,), (1340068353,), (1340068417,), (1340068527,), (1340068723,), (1340068798,), (1340068967,), (1340068969,), (1340069012,), (1340069035,), (1340069040,), (1340069081,), (1340069084,), (1340069086,), (1340069090,), (1340069099,), (1340069123,), (1340069125,), (1340069202,), (1340069279,), (1340069303,), (1340069446,), (1340069449,), (1340069452,), (1340069458,), (1340069467,), (1340069495,), (1340069498,), (1340069499,), (1340069503,), (1340069506,), (1340069524,), (1340069526,), (1340069528,), (1340069567,), (1340069569,), (1340069571,), (1340069575,), (1340069577,), (1340069603,), (1340069605,), (1340069610,), (1340069632,), (1340069639,), (1340069646,), (1340069649,), (1340069653,), (1340069658,), (1340069710,), (1340069715,), (1340069721,), (1340069726,), (1340069729,), (1340069768,), (1340069769,), (1340069772,), (1340069776,), (1340069778,), (1340069785,), (1340069948,), (1340069918,), (1340069921,), (1340069990,), (1340069992,), (1340069994,), (1340070033,), (1340070114,), (1340070178,), (1340070192,), (1340070196,), (1340070199,), (1340070203,), (1340070421,), (1340070423,), (1340070425,), (1340070429,), (1340070431,), (1340070436,), (1340070453,), (1340070457,), (1340070461,), (1340070463,), (1340070483,), (1340070490,), (1340070506,), (1340070510,), (1340070513,), (1340070517,), (1340070534,), (1340070538,), (1340070540,), (1340070544,), (1340070583,), (1340070585,), (1340070587,), (1340070592,), (1340070595,), (1340070599,), (1340070618,), (1340070620,), (1340070622,), (1340070626,), (1340070630,), (1340070664,), (1340070666,), (1340070667,), (1340070672,), (1340070675,), (1340070693,), (1340070696,), (1340070700,), (1340070704,), (1340070707,), (1340070712,), (1340070749,), (1340070751,), (1340070753,), (1340070757,), (1340070760,), (1340070778,), (1340070780,), (1340070782,), (1340070794,), (1340070806,), (1340070815,), (1340070840,), (1340070845,), (1340070847,), (1340070849,), (1340070853,), (1340070874,), (1340070876,), (1340070878,), (1340070882,), (1340070893,), (1340070923,), (1340070983,), (1340070963,), (1340070970,), (1340070977,), (1340070995,), (1340071004,), (1340071008,), (1340071014,), (1340071020,), (1340071023,), (1340071505,), (1340071507,), (1340071509,), (1340071512,), (1340071515,), (1340071520,), (1340071770,), (1340071772,), (1340071777,), (1340071814,), (1340072232,), (1340072234,), (1340072236,), (1340072239,), (1340072243,), (1340072247,), (1340072263,), (1340072265,), (1340072267,), (1340072271,), (1340072300,), (1340072303,), (1340072307,), (1340072314,), (1340072321,), (1340072326,), (1340072354,), (1340072356,), (1340072358,), (1340072361,), (1340072364,), (1340072392,), (1340072394,), (1340072396,), (1340072399,), (1340072411,), (1340072417,), (1340072479,), (1340072481,), (1340072483,), (1340072486,), (1340072552,), (1340072554,), (1340072557,), (1340072559,), (1340072566,), (1340072570,), (1340072582,), (1340072584,), (1340072586,), (1340072589,), (1340072626,), (1340072628,), (1340072630,), (1340072632,), (1340072636,), (1340072641,), (1340072672,), (1340072678,), (1340072684,), (1340072698,), (1340072886,), (1340072970,), (1340073050,), (1340073118,), (1340073141,), (1340073128,), (1340073131,), (1340073134,), (1340073138,), (1340073184,), (1340073187,), (1340073189,), (1340073192,), (1340073277,), (1340073280,), (1340073285,), (1340073288,), (1340073309,), (1340073312,), (1340073317,), (1340073320,), (1340073326,), (1340073331,), (1340074110,), (1340074112,), (1340074114,), (1340074119,), (1340075015,), (1340075039,), (1340075052,), (1340075063,), (1340075075,), (1340075080,), (1340075280,), (1340075293,), (1340075313,), (1340075315,), (1340075320,), (1340075345,), (1340075347,), (1340075349,), (1340075354,), (1340075357,), (1340075395,), (1340075425,), (1340075427,), (1340075429,), (1340075442,), (1340075453,), (1340075471,), (1340075474,), (1340075476,), (1340075480,), (1340075482,), (1340075487,), (1340075502,), (1340075504,), (1340075509,), (1340075545,), (1340075548,), (1340075554,), (1340075557,), (1340075564,), (1340075572,), (1340075582,), (1340075590,), (1340075600,), (1340075603,), (1340075632,), (1340075635,), (1340075637,), (1340075641,), (1340075644,), (1340075648,), (1340075682,), (1340075675,), (1340075677,), (1340075679,), (1340075731,), (1340075733,), (1340075739,), (1340075746,), (1340075749,), (1340075755,), (1340076245,), (1340076267,), (1340076286,), (1340076290,), (1340076317,), (1340076319,), (1340076321,), (1340076327,), (1340076337,), (1340076349,), (1340076382,), (1340076384,), (1340076393,), (1340076396,), (1340076441,), (1340076443,), (1340076446,), (1340076449,), (1340076452,), (1340076458,), (1340076480,), (1340076482,), (1340076490,), (1340076496,), (1340076499,), (1340076516,), (1340076518,), (1340076520,), (1340076523,), (1340076527,), (1340076560,), (1340076562,), (1340076565,), (1340076569,), (1340076572,), (1340076577,), (1340076590,), (1340076592,), (1340076594,), (1340076598,), (1340076603,), (1340076640,), (1340076642,), (1340076644,), (1340076649,), (1340076669,), (1340076671,), (1340076673,), (1340076675,), (1340076678,), (1340076682,), (1340076709,), (1340076711,), (1340076713,), (1340076715,), (1340076719,), (1340076755,), (1340076757,), (1340076826,), (1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,), (1340078642,), (1340078645,), (1340078648,), (1340078652,), (1340078676,), (1340078678,), (1340078680,), (1340078683,), (1340078686,), (1340078689,), (1340078712,), (1340078721,), (1340078723,), (1340078726,), (1340078728,), (1340078744,), (1340078746,), (1340078748,), (1340078753,), (1340078757,), (1340078810,), (1340078786,), (1340078789,), (1340078793,), (1340078802,), (1340078804,), (1340078836,), (1340078838,), (1340078840,), (1340078844,), (1340078846,), (1340079270,), (1340079272,), (1340079274,), (1340079403,), (1340079574,), (1340079576,), (1340079578,), (1340079582,), (1340079585,), (1340079610,), (1340079612,), (1340079614,), (1340079617,), (1340079621,), (1340079634,), (1340079639,), (1340079701,), (1340079713,), (1340079720,), (1340079725,), (1340079728,), (1340079755,), (1340079757,), (1340079759,), (1340079762,), (1340079766,), (1340079802,), (1340079804,), (1340079806,), (1340079808,), (1340079812,), (1340079835,), (1340079839,), (1340079841,), (1340079844,), (1340079848,), (1340079868,), (1340079870,), (1340079873,), (1340079877,), (1340079880,), (1340079904,), (1340079906,), (1340079910,), (1340079920,), (1340079922,), (1340079928,), (1340079954,), (1340079959,), (1340079963,), (1340079970,), (1340079986,), (1340079991,), (1340080000,), (1340080004,), (1340080007,), (1340080038,), (1340080018,), (1340080021,), (1340080024,), (1340080028,), (1340080031,), (1340080064,), (1340080068,), (1340080072,), (1340080077,), (1340081057,), (1340081060,), (1340081192,), (1340081351,), (1340081429,), (1340081588,), (1340081600,), (1340081608,), (1340081660,), (1340081805,), (1340081975,), (1340082127,), (1340082143,), (1340082158,), (1340082162,), (1340082169,), (1340082215,), (1340082218,), (1340082222,), (1340082227,), (1340082231,), (1340082276,), (1340082278,), (1340082282,), (1340082285,), (1340082291,), (1340082294,), (1340082337,), (1340082340,), (1340082347,), (1340082352,), (1340082357,), (1340082393,), (1340082396,), (1340082399,), (1340082403,), (1340082405,), (1340082698,), (1340082700,), (1340082702,), (1340082708,), (1340082712,), (1340082718,), (1340082759,), (1340082772,), (1340082780,), (1340082800,), (1340082806,), (1340082810,), (1340082833,), (1340082836,), (1340082840,), (1340082849,), (1340082860,), (1340082872,), (1340082908,), (1340082911,), (1340082917,), (1340082921,), (1340082925,), (1340082928,), (1340082931,), (1340082935,), (1340083430,), (1340083436,), (1340083653,), (1340083655,), (1340083656,), (1340083658,), (1340083663,), (1340083668,), (1340082445,), (1340082452,), (1340082455,), (1340082463,), (1340082470,), (1340082478,), (1340082494,), (1340082499,), (1340082503,), (1340082508,), (1340082513,), (1340082517,), (1340082536,), (1340082540,), (1340082546,), (1340082560,), (1340082571,), (1340082574,), (1340082594,), (1340082607,), (1340082616,), (1340082621,), (1340082632,), (1340082634,), (1340082655,), (1340082667,), (1340082675,), (1340082678,), (1340082682,), (1340082685,), (1340082738,), (1340082741,), (1340082753,), (1340082790,), (1340082793,), (1340082797,), (1340082877,), (1340082888,), (1340082903,), (1340082905,), (1340083147,), (1340083229,), (1340083313,), (1340083403,), (1340083445,), (1340083447,), (1340083475,), (1340083554,), (1340083588,), (1340083596,), (1340083682,), (1340083687,), (1340083691,), (1340083695,), (1340083735,), (1340083739,), (1340083748,), (1340083754,), (1340083757,), (1340083764,), (1340083792,), (1340083796,), (1340083810,), (1340083822,), (1340083833,), (1340083863,), (1340083867,), (1340083869,), (1340083874,), (1340083919,), (1340083928,), (1340083941,), (1340083954,), (1340083961,), (1340083964,), (1340084013,), (1340083996,), (1340084000,), (1340084002,), (1340084009,), (1340084057,), (1340084062,), (1340084074,), (1340084079,), (1340084083,), (1340084121,), (1340084125,), (1340084127,), (1340084662,), (1340084665,), (1340084667,), (1340084955,), (1340084961,), (1340084968,), (1340084975,), (1340084985,), (1340084997,), (1340085049,), (1340085058,), (1340085071,), (1340085079,), (1340085085,), (1340085137,), (1340085141,), (1340085146,), (1340085151,), (1340085154,), (1340085197,), (1340085207,), (1340085234,), (1340085307,), (1340085518,), (1340085522,), (1340085532,), (1340085592,), (1340085595,), (1340085757,), (1340085760,), (1340085763,), (1340085769,), (1340085774,), (1340085780,), (1340085812,), (1340085816,), (1340085818,), (1340085851,), (1340085855,), (1340085859,), (1340085864,), (1340085898,), (1340085901,), (1340085907,), (1340085910,), (1340085916,), (1340085928,), (1340086000,), (1340085973,), (1340085978,), (1340085985,), (1340085997,), (1340086049,), (1340086052,), (1340086056,), (1340086060,), (1340086065,), (1340086077,), (1340086122,), (1340086126,), (1340086129,), (1340086138,), (1340086145,), (1340086327,), (1340086380,), (1340086386,), (1340087141,), (1340087146,), (1340087154,), (1340087502,), (1340087512,), (1340087515,), (1340087520,), (1340087525,), (1340087531,), (1340087769,), (1340087775,), (1340087780,), (1340087784,), (1340087788,), (1340087859,), (1340087868,), (1340087872,), (1340087877,), (1340087880,), (1340087900,), (1340087916,), (1340087922,), (1340087926,), (1340087931,), (1340087981,), (1340087985,), (1340087987,), (1340087993,), (1340087997,), (1340088004,), (1340088036,), (1340088040,), (1340088046,), (1340088051,), (1340088105,), (1340088112,), (1340088119,), (1340088122,), (1340088127,), (1340088135,), (1340088192,), (1340088201,), (1340088209,), (1340088216,), (1340088223,), (1340088253,), (1340088254,), (1340088257,), (1340088258,), (1340088263,), (1340088265,), (1340088357,), (1340088283,), (1340088287,), (1340088290,), (1340088308,), (1340088313,), (1340088515,), (1340088520,), (1340088531,), (1340088554,), (1340088561,), (1340089285,), (1340089402,), (1340089493,), (1340089589,), (1340090109,), (1340090337,), (1340090349,), (1340090355,), (1340090359,), (1340090366,), (1340090718,), (1340090778,), (1340090837,), (1340090891,), (1340091223,), (1340091227,), (1340091229,), (1340091234,), (1340091238,), (1340091245,), (1340091274,), (1340091276,), (1340091278,), (1340091281,), (1340091291,), (1340091725,), (1340091733,), (1340091736,), (1340091740,), (1340091744,), (1340091779,), (1340091782,), (1340091785,), (1340091787,), (1340091849,), (1340091857,), (1340091874,), (1340091882,), (1340091888,), (1340091897,), (1340091967,), (1340091970,), (1340091995,), (1340092001,), (1340092004,), (1340092084,), (1340092087,), (1340092089,), (1340092097,), (1340092106,), (1340092298,), (1340092304,), (1340092309,), (1340092317,), (1340092330,), (1340092345,), (1340092391,), (1340092398,), (1340092408,), (1340092418,), (1340092423,), (1340092430,), (1340092456,), (1340092462,), (1340092467,), (1340092473,), (1340092572,), (1340092544,), (1340092549,), (1340092551,), (1340092559,), (1340092566,), (1340092638,), (1340092641,), (1340092644,), (1340092647,), (1340092651,), (1340092687,), (1340092690,), (1340092693,), (1340092699,), (1340092711,), (1340092724,), (1340092744,), (1340092748,), (1340092768,), (1340092846,), (1340093416,), (1340093418,), (1340093419,), (1340093426,), (1340093715,), (1340093717,), (1340093750,), (1340093754,), (1340093768,), (1340093777,), (1340093831,), (1340093833,), (1340093840,), (1340093843,), (1340093846,), (1340093888,), (1340093898,), (1340093963,), (1340094059,), (1340094131,), (1340094226,), (1340094505,), (1340094513,), (1340094515,), (1340094519,), (1340094634,), (1340094635,), (1340094645,), (1340094649,), (1340094652,), (1340094666,), (1340094706,), (1340094708,), (1340094711,), (1340094714,), (1340094928,), (1340094963,), (1340094967,), (1340094970,), (1340095035,), (1340095134,), (1340095136,), (1340095138,), (1340095173,), (1340095286,), (1340095355,), (1340095376,), (1340095378,), (1340095380,), (1340095383,), (1340095434,), (1340095437,), (1340095439,), (1340095441,), (1340095442,), (1340095649,), (1340095474,), (1340095476,), (1340095586,), (1340095589,), (1340095591,), (1340095750,), (1340095751,), (1340095753,), (1340095756,), (1340095823,), (1340095826,), (1340095873,), (1340095956,), (1340096058,), (1340096154,), (1340096309,), (1340096384,), (1340096393,), (1340096401,), (1340096694,), (1340096696,), (1340096698,), (1340096701,), (1340096773,), (1340096780,), (1340096787,), (1340096792,), (1340096808,), (1340096839,), (1340096841,), (1340096842,), (1340096844,), (1340096847,), (1340096851,), (1340097111,), (1340097115,), (1340097164,), (1340097182,), (1340097323,), (1340097325,), (1340097327,), (1340097330,), (1340097333,), (1340097339,), (1340097362,), (1340097366,), (1340097368,), (1340097407,), (1340097409,), (1340097412,), (1340097416,), (1340097442,), (1340097448,), (1340097456,), (1340097461,), (1340097464,), (1340097471,), (1340097550,), (1340097556,), (1340097559,), (1340097563,), (1340097594,), (1340097599,), (1340097601,), (1340097605,), (1340097608,), (1340097637,), (1340097639,), (1340097641,), (1340097645,), (1340097649,), (1340097687,), (1340097675,), (1340097677,), (1340097679,), (1340097682,), (1340097739,), (1340097743,), (1340097744,), (1340097753,), (1340097760,), (1340097766,), (1340097789,), (1340097791,), (1340097794,), (1340097801,), (1340097804,), (1340097917,), (1340097926,), (1340097929,), (1340097938,), (1340097949,), (1340097952,), (1340097978,), (1340097986,), (1340097988,), (1340097997,), (1340098001,), (1340098033,), (1340098036,), (1340098039,), (1340098042,), (1340098205,), (1340098207,), (1340098209,), (1340098256,), (1340098354,), (1340098497,), (1340099113,), (1340099139,), (1340099184,), (1340099187,), (1340099190,), (1340099399,), (1340099408,), (1340099410,), (1340099455,), (1340099457,), (1340099488,), (1340099523,), (1340099530,), (1340099537,), (1340099548,), (1340099594,), (1340099605,), (1340099607,), (1340099613,), (1340099618,), (1340099665,), (1340099667,), (1340099669,), (1340099705,), (1340099707,), (1340099718,), (1340099753,), (1340099755,), (1340099757,), (1340099758,), (1340099950,), (1340099958,), (1340099964,), (1340099972,), (1340099977,), (1340099982,), (1340100021,), (1340104457,), (1340104467,), (1340104784,), (1340104786,), (1340104797,), (1340104800,), (1340104803,), (1340104829,), (1340104831,), (1340104992,), (1340104995,), (1340104997,), (1340105090,), (1340105097,), (1340105099,), (1340105713,), (1340105998,), (1340106194,), (1340106198,), (1340106224,), (1340106226,), (1340106228,), (1340106230,), (1340106234,), (1340106238,), (1340106719,), (1340106724,), (1340106764,), (1340106771,), (1340106787,), (1340106826,), (1340106828,), (1340106832,), (1340106836,), (1340106839,), (1340106842,), (1340106887,), (1340106889,), (1340106891,), (1340106894,), (1340106942,), (1340106945,), (1340106947,), (1340106950,), (1340106952,), (1340107030,), (1340107032,), (1340107034,), (1340107037,), (1340107039,), (1340107075,), (1340107077,), (1340107079,), (1340107082,), (1340107086,), (1340107126,), (1340107131,), (1340107138,), (1340107142,), (1340107145,), (1340107181,), (1340107183,), (1340107198,), (1340107204,), (1340107211,), (1340107283,), (1340107262,), (1340107270,), (1340107274,), (1340107277,), (1340107281,), (1340107306,), (1340107309,), (1340107311,), (1340107314,), (1340107356,), (1340107363,), (1340107364,), (1340107373,), (1340107423,), (1340107431,), (1340107453,), (1340107456,), (1340107459,), (1340107470,), (1340108078,), (1340108080,), (1340108082,), (1340108084,), (1340108087,), (1340108338,), (1340108370,), (1340108382,), (1340108387,), (1340108391,), (1340108427,), (1340108429,), (1340108432,), (1340108486,), (1340108488,), (1340108490,), (1340108494,), (1340108496,), (1340108503,), (1340108566,), (1340108573,), (1340108592,), (1340108606,), (1340108681,), (1340108684,), (1340108686,), (1340108723,), (1340108726,), (1340108730,), (1340108796,), (1340108802,), (1340108810,), (1340108813,), (1340108816,), (1340109069,), (1340109071,), (1340109073,), (1340109074,), (1340109077,), (1340109081,), (1340109140,), (1340109142,), (1340109148,), (1340109154,), (1340109530,), (1340109537,), (1340109543,), (1340109549,), (1340109556,), (1340109565,), (1340109629,), (1340109595,), (1340109604,), (1340109616,), (1340109619,), (1340109654,), (1340109659,), (1340109663,), (1340109665,), (1340109670,), (1340109695,), (1340109700,), (1340109704,), (1340109709,), (1340109735,), (1340109739,), (1340109743,), (1340109756,), (1340109760,), (1340109867,), (1340109884,), (1340109891,), (1340109903,), (1340109912,), (1340109948,), (1340109969,), (1340110050,), (1340110157,), (1340110161,), (1340110880,), (1340110885,), (1340110891,), (1340110895,), (1340111134,), (1340111147,), (1340111150,), (1340111157,), (1340111163,), (1340111239,), (1340111317,), (1340111320,), (1340111323,), (1340111326,), (1340111373,), (1340111376,), (1340111379,), (1340111382,), (1340111391,), (1340111396,), (1340111435,), (1340111439,), (1340111443,), (1340111493,), (1340111497,), (1340111500,), (1340111527,), (1340111624,), (1340111695,), (1340112455,), (1340112522,), (1340112550,), (1340112719,), (1340112727,), (1340112732,), (1340112770,), (1340112872,), (1340112878,), (1340112902,), (1340112906,), (1340112914,), (1340112921,), (1340112926,), (1340113054,), (1340112962,), (1340112965,), (1340113040,), (1340113045,), (1340113049,), (1340113086,), (1340113088,), (1340113091,), (1340113095,), (1340113156,), (1340113159,), (1340113162,), (1340113165,), (1340113169,), (1340113177,), (1340113503,), (1340113591,), (1340113598,), (1340113608,), (1340113800,), (1340113805,), (1340113814,), (1340113820,), (1340113825,), (1340113833,), (1340113895,), (1340113949,), (1340113961,), (1340113968,), (1340113975,), (1340114046,), (1340114060,), (1340114064,), (1340114067,), (1340114075,), (1340114080,), (1340114092,), (1340114098,), (1340114104,), (1340114110,), (1340114113,), (1340114146,), (1340114149,), (1340114152,), (1340114156,), (1340114159,), (1340114201,), (1340114209,), (1340114223,), (1340114229,), (1340114235,), (1340114280,), (1340114284,), (1340114288,), (1340114293,), (1340114297,), (1340114327,), (1340114331,), (1340114334,), (1340114339,), (1340114366,), (1340114372,), (1340114390,), (1340114396,), (1340114400,), (1340114420,), (1340114505,), (1340114508,), (1340114512,), (1340114571,), (1340114658,), (1340114665,), (1340114669,), (1340114674,), (1340114680,), (1340114687,), (1340114740,), (1340114707,), (1340114713,), (1340114723,), (1340114728,), (1340114733,), (1340114770,), (1340114774,), (1340114778,), (1340114782,), (1340114785,), (1340114789,), (1340115446,), (1340115528,), (1340115616,), (1340115706,), (1340116021,), (1340116025,), (1340116029,), (1340116071,), (1340116155,), (1340116243,), (1340116361,), (1340116400,), (1340116441,), (1340116640,), (1340116643,), (1340116646,), (1340116651,), (1340116659,), (1340116665,), (1340116682,), (1340116683,), (1340116686,), (1340116692,), (1340116697,), (1340116752,), (1340116760,), (1340116767,), (1340116778,), (1340116786,), (1340116933,), (1340117480,), (1340117485,), (1340117488,), (1340117710,), (1340117713,), (1340117717,), (1340117721,), (1340117723,), (1340117727,), (1340117758,), (1340117767,), (1340117771,), (1340117773,), (1340117781,), (1340117856,), (1340117859,), (1340117861,), (1340117866,), (1340117870,), (1340117895,), (1340117898,), (1340117901,), (1340117905,), (1340117913,), (1340117926,), (1340117961,), (1340117967,), (1340117978,), (1340117982,), (1340118024,), (1340118028,), (1340118031,), (1340118035,), (1340118037,), (1340118041,), (1340118101,), (1340118071,), (1340118075,), (1340118078,), (1340118335,), (1340118345,), (1340118346,), (1340118351,), (1340118356,), (1340118362,), (1340118422,), (1340118429,), (1340118435,), (1340118440,), (1340118443,), (1340118487,), (1340118497,), (1340118500,), (1340118508,), (1340118517,), (1340118527,), (1340118572,), (1340118576,), (1340118587,), (1340118598,), (1340118602,), (1340118704,), (1340118709,), (1340118711,), (1340118715,), (1340118722,), (1340118742,), (1340118744,), (1340118747,), (1340118753,), (1340118777,), (1340118783,), (1340118790,), (1340118796,), (1340118801,), (1340118809,), (1340118827,), (1340118834,), (1340118840,), (1340118850,), (1340118877,), (1340118883,), (1340118887,), (1340118903,), (1340118952,), (1340118967,), (1340118970,), (1340118976,), (1340118980,), (1340119000,), (1340119004,), (1340119009,), (1340119016,), (1340119024,), (1340119061,), (1340119092,), (1340119105,), (1340119111,), (1340119126,), (1340119167,), (1340119288,), (1340119305,), (1340119339,), (1340119348,), (1340119376,), (1340119381,), (1340119458,), (1340119471,), (1340119475,), (1340119575,), (1340119517,), (1340119525,), (1340119533,), (1340119561,), (1340119636,), (1340119640,), (1340119690,), (1340119764,), (1340119768,), (1340119775,), (1340119904,), (1340120022,), (1340120068,), (1340120104,), (1340120107,), (1340120109,), (1340120203,), (1340120307,), (1340120404,), (1340120425,), (1340120450,), (1340120478,), (1340121258,), (1340121265,), (1340121274,), (1340121610,), (1340121669,), (1340121671,), (1340121720,), (1340121727,), (1340121731,), (1340121736,), (1340121743,), (1340121807,), (1340121810,), (1340121817,), (1340121826,), (1340121874,), (1340121877,), (1340121880,), (1340121883,), (1340121957,), (1340121967,), (1340121969,), (1340121975,), (1340121980,), (1340121986,), (1340122013,), (1340122016,), (1340122021,), (1340122027,), (1340122234,), (1340122238,), (1340122241,), (1340122246,), (1340122248,), (1340122253,), (1340122297,), (1340122281,), (1340122285,), (1340122291,), (1340122330,), (1340122335,), (1340122337,), (1340122341,), (1340122345,), (1340122351,), (1340122388,), (1340122392,), (1340122395,), (1340122400,), (1340123009,), (1340123034,), (1340123043,), (1340123049,), (1340123056,), (1340123062,), (1340123260,), (1340123301,), (1340123305,), (1340123310,), (1340123317,), (1340123358,), (1340123362,), (1340123366,), (1340123372,), (1340123377,), (1340123412,), (1340123415,), (1340123418,), (1340123423,), (1340123427,), (1340123434,), (1340123470,), (1340123476,), (1340123480,), (1340123497,), (1340123502,), (1340123673,), (1340123687,), (1340123691,), (1340123695,), (1340123832,), (1340123837,), (1340123839,), (1340123845,), (1340123848,), (1340123855,), (1340123878,), (1340123880,), (1340123883,), (1340123887,), (1340123925,), (1340123928,), (1340123931,), (1340123934,), (1340123936,), (1340123969,), (1340123972,), (1340123974,), (1340123979,), (1340123987,), (1340124032,), (1340124034,), (1340124035,), (1340124042,), (1340124049,), (1340124076,), (1340124078,), (1340124192,), (1340124301,), (1340124304,), (1340124311,), (1340124380,), (1340124363,), (1340124365,), (1340124367,), (1340124477,), (1340124496,), (1340124501,), (1340124519,), (1340124528,), (1340124552,), (1340124867,), (1340124872,), (1340124879,), (1340124898,), (1340125075,), (1340125077,), (1340125149,), (1340125152,), (1340125155,), (1340125164,), (1340125214,), (1340125217,), (1340125219,), (1340125231,), (1340125274,), (1340125277,), (1340125278,), (1340125281,), (1340125285,), (1340125324,), (1340125326,), (1340125331,), (1340125345,), (1340125363,), (1340125480,), (1340125482,), (1340125484,), (1340125487,), (1340125493,), (1340125520,), (1340125526,), (1340125532,), (1340125539,), (1340125542,), (1340125547,), (1340125604,), (1340125606,), (1340125610,), (1340125616,), (1340125619,), (1340125653,), (1340125657,), (1340125659,), (1340125663,), (1340125665,), (1340125669,), (1340125714,), (1340125718,), (1340125721,), (1340125726,), (1340125763,), (1340125766,), (1340125774,), (1340125783,), (1340125786,), (1340125799,), (1340125824,), (1340125869,), (1340125874,), (1340125877,), (1340125912,), (1340125916,), (1340125924,), (1340125935,), (1340125943,), (1340126119,), (1340126117,), (1340126153,), (1340126154,), (1340126163,), (1340126171,), (1340126207,), (1340126257,), (1340126269,), (1340126279,), (1340126323,), (1340126325,), (1340126328,), (1340126333,), (1340126340,), (1340126478,), (1340126481,), (1340126484,), (1340126487,), (1340126490,), (1340127154,), (1340127163,), (1340127166,), (1340127169,), (1340127172,), (1340127427,), (1340127496,), (1340127497,), (1340127502,), (1340127505,), (1340127796,), (1340127799,), (1340127818,), (1340127829,), (1340127843,), (1340127848,), (1340127905,), (1340127911,), (1340127917,), (1340127925,), (1340128009,), (1340128012,), (1340128021,), (1340128025,), (1340128030,), (1340128037,), (1340128083,), (1340128086,), (1340128089,), (1340128093,), (1340128132,), (1340128134,), (1340128142,), (1340128151,), (1340128161,), (1340128170,), (1340128198,), (1340128207,), (1340128214,), (1340128221,), (1340128229,), (1340128294,), (1340128276,), (1340128281,), (1340128286,), (1340128589,), (1340128594,), (1340128602,), (1340128607,), (1340128612,), (1340128629,), (1340128667,), (1340128671,), (1340128717,), (1340128725,), (1340128733,), (1340128771,), (1340128774,), (1340128776,), (1340128782,), (1340128787,), (1340128813,), (1340128818,), (1340128821,), (1340128825,), (1340128829,), (1340128836,), (1340128886,), (1340128888,), (1340128894,), (1340128933,), (1340128947,), (1340128990,), (1340128995,), (1340128999,), (1340129003,), (1340129008,), (1340129016,), (1340129054,), (1340129056,), (1340129059,), (1340129131,), (1340129134,), (1340129138,), (1340129144,), (1340129147,), (1340129154,), (1340129173,), (1340129177,), (1340129221,), (1340129295,), (1340129395,), (1340129404,), (1340129414,), (1340129419,), (1340130703,), (1340142012,), (1340142016,), (1340142017,), (1340142022,), (1340142052,), (1340142123,), (1340143010,), (1340143069,), (1340143071,), (1340143073,), (1340143147,), (1340143149,), (1340143153,), (1340143157,), (1340143161,), (1340143167,), (1340143209,), (1340143210,), (1340143211,), (1340143215,), (1340143346,), (1340143344,), (1340143345,), (1340143471,), (1340143474,), (1340143476,), (1340143480,), (1340143487,), (1340143529,), (1340143534,), (1340143535,), (1340143539,), (1340143542,), (1340143755,), (1340143756,), (1340143757,), (1340143813,), (1340143815,), (1340143819,), (1340143824,), (1340143828,), (1340143836,), (1340143862,), (1340143864,), (1340143866,), (1340143870,), (1340143873,), (1340143884,), (1340143917,), (1340143924,), (1340143939,), (1340143943,), (1340143950,), (1340144014,), (1340144035,), (1340144038,), (1340144099,), (1340144137,), (1340144140,), (1340144144,), (1340144152,), (1340144165,), (1340144210,), (1340144213,), (1340144336,), (1340144409,), (1340144425,), (1340144434,), (1340144440,), (1340144446,), (1340144500,), (1340144507,), (1340144508,), (1340144512,), (1340144517,), (1340144577,), (1340144579,), (1340144581,), (1340144656,), (1340144664,), (1340144677,), (1340144750,), (1340144739,), (1340144744,), (1340144785,), (1340144789,), (1340144792,), (1340144800,), (1340144827,), (1340144853,), (1340144856,), (1340144859,), (1340144866,), (1340144871,), (1340144879,), (1340144898,), (1340144902,), (1340145111,), (1340145114,), (1340145117,), (1340145123,), (1340145129,), (1340145136,), (1340145177,), (1340145189,), (1340145197,), (1340145208,), (1340145212,), (1340145220,), (1340145237,), (1340145239,), (1340145244,), (1340145535,), (1340145673,), (1340145917,), (1340146160,), (1340146243,), (1340146250,), (1340146297,), (1340146300,), (1340146304,), (1340146481,), (1340146715,), (1340146721,), (1340146724,), (1340146792,), (1340146801,), (1340146810,), (1340146879,), (1340146941,), (1340146944,), (1340146945,), (1340146950,), (1340146955,), (1340147015,), (1340147028,), (1340147031,), (1340147096,), (1340147098,), (1340147101,), (1340147105,), (1340147108,), (1340147153,), (1340147155,), (1340147157,), (1340147162,), (1340147165,), (1340147216,), (1340147208,), (1340147210,), (1340147211,), (1340147214,), (1340147406,), (1340147409,), (1340147410,), (1340147414,), (1340147423,), (1340147456,), (1340147460,), (1340147463,), (1340147469,), (1340147497,), (1340147604,), (1340147618,), (1340147621,), (1340147625,), (1340147627,), (1340147633,), (1340147798,), (1340147833,), (1340147838,), (1340147843,), (1340147867,), (1340147870,), (1340147873,), (1340147877,), (1340147884,), (1340147890,), (1340148570,), (1340148753,), (1340148832,), (1340148849,), (1340148863,), (1340149078,), (1340149084,), (1340149087,), (1340149091,), (1340149139,), (1340149147,), (1340149212,), (1340149216,), (1340149219,), (1340149283,), (1340149287,), (1340149293,), (1340149301,), (1340149306,), (1340149310,), (1340149323,), (1340149329,), (1340149347,), (1340149352,), (1340149361,), (1340149364,), (1340149434,), (1340149519,), (1340149527,), (1340149534,), (1340149539,), (1340149560,), (1340149564,), (1340149567,), (1340149572,), (1340149577,), (1340149584,), (1340149604,), (1340149608,), (1340149612,), (1340149618,), (1340149796,), (1340149799,), (1340149803,), (1340149809,), (1340149812,), (1340149871,), (1340149839,), (1340149844,), (1340149856,), (1340149860,), (1340149866,), (1340149917,), (1340149920,), (1340149925,), (1340149929,), (1340149934,), (1340150169,), (1340150172,), (1340150176,), (1340150308,), (1340150322,), (1340150465,), (1340150468,), (1340150470,), (1340150480,), (1340150488,), (1340150520,), (1340150527,), (1340150542,), (1340150590,), (1340150621,), (1340150687,), (1340150729,), (1340150789,), (1340150832,), (1340151198,), (1340151245,), (1340151354,), (1340151967,), (1340151987,), (1340152051,), (1340152147,), (1340152224,), (1340152252,), (1340152503,), (1340152507,), (1340152512,), (1340159187,), (1340159049,), (1340159051,), (1340159053,), (1340159122,), (1340159394,), (1340159399,), (1340159404,), (1340159436,), (1340159440,), (1340159444,), (1340160181,), (1340160275,), (1340160302,), (1340160384,), (1340160521,), (1340160528,), (1340160587,), (1340160592,), (1340160669,), (1340160707,), (1340160971,), (1340160988,), (1340161001,), (1340161066,), (1340161074,), (1340161077,), (1340161099,), (1340161103,), (1340161108,), (1340161114,), (1340161153,), (1340161156,), (1340161165,), (1340161198,), (1340161229,), (1340161371,), (1340161374,), (1340161378,), (1340161391,), (1340161404,), (1340161419,), (1340161458,), (1340161460,), (1340161464,), (1340161521,), (1340161524,), (1340161526,), (1340161530,), (1340161533,), (1340161550,), (1340161615,), (1340161637,), (1340161726,), (1340161775,), (1340161869,), (1340162115,), (1340162095,), (1340162098,), (1340162101,), (1340162104,), (1340162147,), (1340162149,), (1340162152,), (1340162165,), (1340162174,), (1340162181,), (1340162209,), (1340162210,), (1340162211,), (1340162215,), (1340162405,), (1340162407,), (1340162408,), (1340162411,), (1340162419,), (1340162427,), (1340162508,), (1340162518,), (1340162519,), (1340162530,), (1340162538,), (1340162546,), (1340162616,), (1340162618,), (1340162620,), (1340162821,), (1340163084,), (1340163335,), (1340163550,), (1340163779,), (1340163875,), (1340164729,), (1340164730,), (1340164732,), (1340165508,), (1340165574,), (1340165614,), (1340165619,), (1340165672,), (1340165675,), (1340165679,), (1340166067,), (1340166072,), (1340166075,), (1340166078,), (1340166085,), (1340166122,), (1340166126,), (1340166129,), (1340166136,), (1340166161,), (1340166170,), (1340166226,), (1340166248,), (1340166255,), (1340166304,), (1340166305,), (1340166306,), (1340166311,), (1340166313,), (1340166319,), (1340166460,), (1340166401,), (1340166404,), (1340166407,), (1340166411,), (1340166450,), (1340166588,), (1340166594,), (1340166597,), (1340166601,), (1340166673,), (1340166682,), (1340166685,), (1340166689,), (1340166717,), (1340166720,), (1340166735,), (1340166741,), (1340166751,), (1340166756,), (1340167234,), (1340167332,), (1340167351,), (1340167358,), (1340167525,), (1340168249,), (1340168251,), (1340168280,), (1340168283,), (1340168285,), (1340168289,), (1340168320,), (1340168334,), (1340168339,), (1340168344,), (1340168354,), (1340168360,), (1340168399,), (1340168402,), (1340168406,), (1340168456,), (1340168460,), (1340168468,), (1340168472,), (1340168476,), (1340168483,), (1340168516,), (1340168525,), (1340168531,), (1340168538,), (1340168544,), (1340168581,), (1340168582,), (1340168586,), (1340168588,), (1340168591,), (1340168592,), (1340168664,), (1340168630,), (1340168634,), (1340168638,), (1340168652,), (1340168655,), (1340168704,), (1340168709,), (1340168744,), (1340168812,), (1340168819,), (1340168820,), (1340168824,), (1340168828,), (1340168876,), (1340168881,), (1340168884,), (1340168889,), (1340168892,), (1340168898,), (1340169395,), (1340169658,), (1340169855,), (1340169860,), (1340170063,), (1340170117,), (1340170123,), (1340170157,), (1340170164,), (1340170168,), (1340170194,), (1340170197,), (1340170203,), (1340170250,), (1340170258,), (1340170260,), (1340170264,), (1340170268,), (1340170296,), (1340170298,), (1340170300,), (1340170304,), (1340170356,), (1340170358,), (1340170360,), (1340170364,), (1340170367,), (1340170373,), (1340170558,), (1340170581,), (1340170587,), (1340170602,), (1340170639,), (1340170642,), (1340170645,), (1340170653,), (1340170662,), (1340170666,), (1340170693,), (1340170704,), (1340170706,), (1340170714,), (1340170791,), (1340170869,), (1340170960,), (1340171049,), (1340171147,), (1340171240,), (1340171416,), (1340171506,), (1340171532,), (1340171539,), (1340171554,), (1340171608,), (1340172219,), (1340172200,), (1340172205,), (1340172209,), (1340172289,), (1340172292,), (1340172296,), (1340172300,), (1340172305,), (1340172309,), (1340172344,), (1340172347,), (1340172350,), (1340172383,), (1340172386,), (1340172389,), (1340172393,), (1340172395,), (1340172409,), (1340172439,), (1340172441,), (1340172445,), (1340172458,), (1340172494,), (1340172586,), (1340173126,), (1340173133,), (1340173141,), (1340173145,), (1340173437,), (1340173607,), (1340173822,), (1340173992,), (1340174173,), (1340174176,), (1340174179,), (1340174183,), (1340174187,), (1340174199,), (1340174580,), (1340174590,), (1340174763,), (1340174830,), (1340174889,), (1340175498,), (1340175503,), (1340175508,), (1340175603,), (1340175738,), (1340175742,), (1340175750,), (1340175763,), (1340175831,), (1340175954,), (1340175958,), (1340175961,), (1340175967,), (1340175973,), (1340175979,), (1340176003,), (1340176008,), (1340176013,), (1340176020,), (1340176071,), (1340176075,), (1340176079,), (1340176085,), (1340176089,), (1340176095,), (1340176117,), (1340176133,), (1340176144,), (1340176153,), (1340176160,), (1340176271,), (1340176189,), (1340176195,), (1340176206,), (1340176362,), (1340176366,), (1340176381,), (1340176388,), (1340176404,), (1340176437,), (1340176442,), (1340176446,), (1340176529,), (1340176535,), (1340176539,), (1340176542,), (1340176546,), (1340176550,), (1340177358,), (1340177369,), (1340177381,), (1340177386,), (1340177390,), (1340177397,), (1340177790,), (1340177795,), (1340177854,), (1340178023,), (1340178032,), (1340178035,), (1340178041,), (1340178050,), (1340178053,), (1340178073,), (1340178077,), (1340178080,), (1340178084,), (1340178134,), (1340178137,), (1340178145,), (1340178164,), (1340178170,), (1340178177,), (1340178212,), (1340178217,), (1340178222,), (1340178228,), (1340178233,), (1340178285,), (1340178335,), (1340178338,), (1340178340,), (1340178376,), (1340179593,), (1340179226,), (1340179583,), (1340179585,), (1340179587,), (1340179626,), (1340179630,), (1340179633,), (1340179830,), (1340179905,), (1340179910,), (1340179914,), (1340179970,), (1340180018,), (1340180028,), (1340180037,), (1340180197,), (1340180201,), (1340180206,), (1340180210,), (1340180217,), (1340180242,), (1340180245,), (1340180249,), (1340180258,), (1340180264,), (1340180287,), (1340180291,), (1340180294,), (1340180301,), (1340180338,), (1340180348,), (1340180356,), (1340180365,), (1340180374,), (1340180390,), (1340180395,), (1340180398,), (1340180401,), (1340180404,), (1340180440,), (1340180417,), (1340180422,), (1340180426,), (1340180432,), (1340181349,), (1340181353,), (1340181357,), (1340181374,), (1340181391,), (1340181397,), (1340181699,), (1340181709,), (1340181717,), (1340181721,), (1340181756,), (1340181761,), (1340181767,), (1340181772,), (1340181780,), (1340181783,), (1340182560,), (1340182566,), (1340182572,), (1340182880,), (1340182886,), (1340182890,), (1340182898,), (1340182903,), (1340182968,), (1340182972,), (1340182975,), (1340182996,), (1340183055,), (1340183062,), (1340183101,), (1340183104,), (1340183107,), (1340183113,), (1340183117,), (1340183127,), (1340183174,), (1340183177,), (1340183179,), (1340183185,), (1340183188,), (1340183195,), (1340183218,), (1340183223,), (1340183228,), (1340183234,), (1340183271,), (1340183275,), (1340183279,), (1340183285,), (1340183289,), (1340183338,), (1340183342,), (1340183345,), (1340183407,), (1340183411,), (1340183414,), (1340183418,), (1340183455,), (1340183458,), (1340183462,), (1340183470,), (1340183475,), (1340183487,), (1340183562,), (1340183535,), (1340183547,), (1340183551,), (1340183556,), (1340183599,), (1340183608,), (1340183619,), (1340183625,), (1340183631,), (1340183648,), (1340183674,), (1340183676,), (1340183679,), (1340183740,), (1340183744,), (1340183754,), (1340184041,), (1340184224,), (1340184234,), (1340184266,), (1340184270,), (1340184504,), (1340184514,), (1340184671,), (1340184675,), (1340184678,), (1340184686,), (1340184744,), (1340184892,), (1340185115,), (1340185136,), (1340185163,), (1340185166,), (1340185266,), (1340185296,), (1340185317,), (1340185333,), (1340185383,), (1340185426,), (1340185497,), (1340185509,), (1340185522,), (1340185528,), (1340185536,), (1340185605,), (1340185701,), (1340185705,), (1340185709,), (1340185715,), (1340185720,), (1340185772,), (1340185780,), (1340186032,), (1340186036,), (1340186040,), (1340186053,), (1340186058,), (1340186097,), (1340186101,), (1340186105,), (1340186111,), (1340186114,), (1340186120,), (1340186170,), (1340186176,), (1340186179,), (1340186187,), (1340186191,), (1340186321,), (1340190836,), (1340192005,), (1340192145,), (1340192251,), (1340192354,), (1340192472,), (1340192816,), (1340192819,), (1340193049,), (1340193073,), (1340193081,), (1340193230,), (1340193233,), (1340193236,), (1340193241,), (1340193295,), (1340193299,), (1340193303,), (1340193309,), (1340193420,), (1340194620,), (1340194607,), (1340194611,), (1340194614,), (1340194646,), (1340194651,), (1340194654,), (1340194661,), (1340194665,), (1340194669,), (1340195001,), (1340195163,), (1340195366,), (1340195369,), (1340195405,), (1340195411,), (1340195444,), (1340195447,), (1340195450,), (1340195504,), (1340195507,), (1340195510,), (1340195561,), (1340195564,), (1340195566,), (1340195596,), (1340195600,), (1340195603,), (1340195646,), (1340195649,), (1340195653,), (1340195656,), (1340195658,), (1340195664,), (1340195701,), (1340195706,), (1340195709,), (1340195713,), (1340195715,), (1340195719,), (1340195747,), (1340195751,), (1340195754,), (1340195788,), (1340195792,), (1340195797,), (1340195799,), (1340195804,), (1340195829,), (1340195834,), (1340195838,), (1340195847,), (1340195893,), (1340195899,), (1340195906,), (1340195912,), (1340195918,), (1340196149,), (1340196050,), (1340196087,), (1340196097,), (1340196133,), (1340196189,), (1340196194,), (1340196198,), (1340196202,), (1340196239,), (1340196244,), (1340196248,), (1340196254,), (1340196259,), (1340196265,), (1340196280,), (1340196284,), (1340196290,), (1340196296,), (1340196299,), (1340196304,), (1340196328,), (1340196331,), (1340196336,), (1340196342,), (1340196371,), (1340196377,), (1340196381,), (1340196386,), (1340196389,), (1340196394,), (1340196418,), (1340196421,), (1340196426,), (1340196433,), (1340196482,), (1340196487,), (1340196491,), (1340196497,), (1340196502,), (1340196508,), (1340196533,), (1340196537,), (1340196544,), (1340196554,), (1340196573,), (1340196577,), (1340196627,), (1340196631,), (1340196634,), (1340196638,), (1340196681,), (1340196685,), (1340196687,), (1340196692,), (1340196694,), (1340196698,), (1340196726,), (1340196730,), (1340196733,), (1340196737,), (1340196742,), (1340196746,), (1340196795,), (1340196799,), (1340196802,), (1340196806,), (1340196857,), (1340196872,), (1340196885,), (1340196892,), (1340196905,), (1340196909,), (1340196912,), (1340196916,), (1340196941,), (1340196931,), (1340196936,), (1340196995,), (1340197000,), (1340197006,), (1340197010,), (1340197013,), (1340197017,), (1340197038,), (1340197044,), (1340197048,), (1340197052,), (1340197058,), (1340197069,), (1340197106,), (1340197111,), (1340197114,), (1340197117,), (1340197145,), (1340197150,), (1340197154,), (1340197159,), (1340197315,), (1340197564,), (1340198069,), (1340198075,), (1340198166,), (1340198272,), (1340198411,), (1340198415,), (1340198419,), (1340198425,), (1340198429,), (1340198470,), (1340198476,), (1340198479,), (1340198483,), (1340198486,), (1340198490,), (1340198515,), (1340198519,), (1340198524,), (1340198528,), (1340198574,), (1340198577,), (1340198582,), (1340198587,), (1340198590,), (1340198595,), (1340198614,), (1340198618,), (1340198622,), (1340198627,), (1340198630,), (1340198633,), (1340198662,), (1340198666,), (1340198669,), (1340198673,), (1340198707,), (1340198749,), (1340198753,), (1340198759,), (1340198773,), (1340198778,), (1340198799,), (1340198802,), (1340198806,), (1340198811,), (1340198819,), (1340198826,), (1340198854,), (1340198848,), (1340198852,), (1340198897,), (1340198902,), (1340198906,), (1340198911,), (1340198915,), (1340198919,), (1340198946,), (1340198948,), (1340198956,), (1340198967,), (1340198971,), (1340199005,), (1340199009,), (1340199013,), (1340199017,), (1340199020,), (1340199054,), (1340199058,), (1340199061,), (1340199065,), (1340199068,), (1340199071,), (1340199728,), (1340199752,), (1340199757,), (1340199759,), (1340199765,), (1340200088,), (1340200134,), (1340200191,), (1340200299,), (1340200349,), (1340200354,), (1340200492,), (1340200496,), (1340200538,), (1340200655,), (1340200879,), (1340200995,), (1340201000,), (1340201004,), (1340201009,), (1340201012,), (1340201017,), (1340201064,), (1340201071,), (1340201077,), (1340201083,), (1340201088,), (1340201128,), (1340201138,), (1340201142,), (1340201160,), (1340201164,), (1340201175,), (1340201239,), (1340201241,), (1340201277,), (1340201289,), (1340201298,), (1340201305,), (1340201307,), (1340201336,), (1340201345,), (1340201348,), (1340201355,), (1340201358,), (1340201510,), (1340201437,), (1340201501,), (1340201505,), (1340201626,), (1340201631,), (1340201634,), (1340201640,), (1340201643,), (1340201666,), (1340201669,), (1340201674,), (1340201679,), (1340201682,), (1340201749,), (1340201754,), (1340201757,), (1340201762,), (1340201786,), (1340201790,), (1340201796,), (1340201802,), (1340201807,), (1340201842,), (1340201847,), (1340201860,), (1340201865,), (1340202436,), (1340202537,), (1340202610,), (1340202614,), (1340202616,), (1340202886,), (1340202889,), (1340202938,), (1340203021,), (1340203040,), (1340203054,), (1340203520,), (1340203525,), (1340203528,), (1340203532,), (1340203779,), (1340203783,), (1340203786,), (1340203790,), (1340203793,), (1340203798,), (1340203820,), (1340203824,), (1340203833,), (1340203840,), (1340203911,), (1340203915,), (1340203918,), (1340203922,), (1340203924,), (1340205846,), (1340205720,), (1340205974,), (1340205978,), (1340205982,), (1340205987,), (1340205989,), (1340206369,), (1340206374,), (1340206382,), (1340206386,), (1340206391,), (1340206396,), (1340206418,), (1340206421,), (1340206467,), (1340206471,), (1340206474,), (1340206479,), (1340206482,), (1340206510,), (1340206514,), (1340206524,), (1340206528,), (1340206538,), (1340206577,), (1340206581,), (1340206585,), (1340206589,), (1340207232,), (1340207239,), (1340207246,), (1340207253,), (1340207296,), (1340207390,), (1340207398,), (1340207400,), (1340207404,), (1340207452,), (1340207429,), (1340207434,), (1340207437,), (1340207441,), (1340207445,), (1340207483,), (1340207493,), (1340207504,), (1340207508,), (1340207511,), (1340207516,), (1340207576,), (1340207579,), (1340207582,), (1340207586,), (1340207589,), (1340207626,), (1340207630,), (1340207632,), (1340207639,), (1340207650,), (1340207654,), (1340208802,), (1340208805,), (1340208807,), (1340209330,), (1340209410,), (1340209446,), (1340209518,), (1340209540,), (1340209573,), (1340209692,), (1340209865,), (1340209868,), (1340209918,), (1340209937,), (1340209941,), (1340209944,), (1340209947,), (1340209954,), (1340209975,), (1340209978,), (1340209980,), (1340209983,), (1340209986,), (1340209996,), (1340210128,), (1340210131,), (1340210134,), (1340210138,), (1340210298,), (1340210301,), (1340210309,), (1340210315,), (1340210318,), (1340210325,), (1340210348,), (1340210351,), (1340210353,), (1340210356,), (1340210402,), (1340210405,), (1340210407,), (1340210410,), (1340210413,), (1340210420,), (1340210456,), (1340210458,), (1340210461,), (1340210464,), (1340210991,), (1340210995,), (1340210999,), (1340211003,), (1340211007,), (1340211380,), (1340211252,), (1340211266,), (1340211273,), (1340211281,), (1340211287,), (1340211466,), (1340211469,), (1340211475,), (1340211486,), (1340211550,), (1340211554,), (1340211558,), (1340211562,), (1340211565,), (1340211567,), (1340211593,), (1340211598,), (1340211602,), (1340211607,), (1340211658,), (1340211663,), (1340211670,), (1340211675,), (1340211680,), (1340211686,), (1340212006,), (1340212118,), (1340212153,), (1340212171,), (1340212197,), (1340212203,), (1340212462,), (1340212466,), (1340212469,), (1340212473,), (1340212483,), (1340212769,), (1340212772,), (1340212776,), (1340212780,), (1340212783,), (1340212822,), (1340212833,), (1340212847,), (1340212850,), (1340212857,), (1340212863,), (1340212879,), (1340212884,), (1340212889,), (1340212894,), (1340212901,), (1340212907,), (1340212933,), (1340212937,), (1340212949,), (1340212961,), (1340212970,), (1340212977,), (1340212998,), (1340213002,), (1340213008,), (1340213015,), (1340213056,), (1340213063,), (1340213075,), (1340213083,), (1340213089,), (1340213093,), (1340213107,), (1340213111,), (1340213114,), (1340213119,), (1340213175,), (1340213180,), (1340213184,), (1340213189,), (1340213193,), (1340213209,), (1340213343,), (1340213237,), (1340213241,), (1340213243,), (1340213528,), (1340213531,), (1340213534,), (1340213539,), (1340213552,), (1340213567,), (1340213587,), (1340213591,), (1340213595,), (1340213600,), (1340213606,), (1340213687,), (1340213709,), (1340213716,), (1340213892,), (1340213895,), (1340214037,), (1340214041,), (1340214045,), (1340214050,), (1340214057,), (1340214071,), (1340214230,), (1340214233,), (1340214299,), (1340214320,), (1340214343,), (1340214434,), (1340214438,), (1340214470,), (1340214474,), (1340214477,), (1340214481,), (1340214522,), (1340214534,), (1340214537,), (1340214543,), (1340214545,), (1340214600,), (1340214605,), (1340214609,), (1340214614,), (1340214708,), (1340218135,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 42, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20901979]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] map_info['map_portfolio_photo'] : {20901979: [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115]} final : True mtd_id 4302 list_pids : [1340029189, 1340029088, 1340029083, 1340029079, 1340029076, 1340029073, 1340028888, 1340028884, 1340028881, 1340028877, 1340028858, 1340028854, 1340028848, 1340028831, 1340028827, 1340028784, 1340028769, 1340028619, 1340028453, 1340028410, 1340028407, 1340028402, 1340028391, 1340028056, 1340028049, 1340028046, 1340028043, 1340027516, 1340027274, 1340027143, 1340027138, 1340027134, 1340027129, 1340026600, 1340026597, 1340026593, 1340026514, 1340026474, 1340026457, 1340026453, 1340026236, 1340026115] Looping around the photos to save general results len do output : 1 /20901979Didn'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, '2625807') ('4302', '20901979', '1340029189', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029088', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029083', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029079', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029076', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340029073', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028888', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028884', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028881', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028877', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028858', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028854', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028848', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028831', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028827', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028784', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028769', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028619', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028410', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028407', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028402', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028391', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028056', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028049', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028046', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340028043', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027516', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027274', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027143', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027138', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027134', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340027129', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026600', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026597', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026593', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026514', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026474', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026457', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026453', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026236', None, None, None, None, None, '2625807') ('4302', None, None, None, None, None, None, None, '2625807') ('4302', '20901979', '1340026115', None, None, None, None, None, '2625807') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '20901979', 'None', None, None, None, None, '2625807'), ('4302', '20901979', '1340029189', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029088', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029083', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029079', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029076', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340029073', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028888', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028884', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028881', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028877', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028858', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028854', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028848', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028831', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028827', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028784', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028769', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028619', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028453', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028410', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028407', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028402', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028391', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028056', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028049', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028046', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340028043', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027516', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027274', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027143', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027138', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027134', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340027129', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026600', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026597', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026593', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026514', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026474', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026457', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026453', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026236', None, None, None, None, None, '2625807'), ('4302', '20901979', '1340026115', None, None, None, None, None, '2625807')] time used for this insertion : 0.02538585662841797 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.811544418334961 time spend to save output : 0.025976181030273438 total time spend for step 5 : 3.8375205993652344 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 (2625807) 3.42user 2.51system 0:28.53elapsed 20%CPU (0avgtext+0avgdata 169788maxresident)k 608inputs+40080outputs (12major+86303minor)pagefaults 0swaps