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 : 1958238 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 (2631323) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2631323) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980311 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2631323'] with mtr_portfolio_ids : ['20980311'] and first list_photo_ids : [] new path : /proc/1958238/ Name: python3 Umask: 0002 State: R (running) Tgid: 1958238 Ngid: 0 Pid: 1958238 PPid: 1958237 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1958238 NSpid: 1958238 NSpgid: 1955256 NSsid: 1955256 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98872 kB VmRSS: 98872 kB RssAnon: 59756 kB RssFile: 39116 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 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: 52 nonvoluntary_ctxt_switches: 94 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1958238', 'Ngid': '0', 'Pid': '1958238', 'PPid': '1958237', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1958238', 'NSpid': '1958238', 'NSpgid': '1955256', 'NSsid': '1955256', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98872 kB', 'VmRSS': '98872 kB', 'RssAnon': '59756 kB', 'RssFile': '39116 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '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': '52', 'nonvoluntary_ctxt_switches': '94'} ('datou_batch_current', '1958238', '1106844', '0', '1106844', '865592', '98872', b'', 'marlene', '2631323') 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 (20980311) 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 (2631323 ) ) 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 (20980311) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340637316, 'portfolio_id': 20980311}, {'photo_id': 1340636792, 'portfolio_id': 20980311}, {'photo_id': 1340636736, 'portfolio_id': 20980311}, {'photo_id': 1340636730, 'portfolio_id': 20980311}, {'photo_id': 1340636722, 'portfolio_id': 20980311}, {'photo_id': 1340636675, 'portfolio_id': 20980311}, {'photo_id': 1340636672, 'portfolio_id': 20980311}, {'photo_id': 1340636669, 'portfolio_id': 20980311}, {'photo_id': 1340636668, 'portfolio_id': 20980311}, {'photo_id': 1340636637, 'portfolio_id': 20980311}, {'photo_id': 1340636632, 'portfolio_id': 20980311}, {'photo_id': 1340636630, 'portfolio_id': 20980311}, {'photo_id': 1340636629, 'portfolio_id': 20980311}, {'photo_id': 1340636525, 'portfolio_id': 20980311}, {'photo_id': 1340636505, 'portfolio_id': 20980311}, {'photo_id': 1340636434, 'portfolio_id': 20980311}, {'photo_id': 1340636428, 'portfolio_id': 20980311}, {'photo_id': 1340636426, 'portfolio_id': 20980311}, {'photo_id': 1340636382, 'portfolio_id': 20980311}, {'photo_id': 1340636376, 'portfolio_id': 20980311}, {'photo_id': 1340636371, 'portfolio_id': 20980311}, {'photo_id': 1340636368, 'portfolio_id': 20980311}, {'photo_id': 1340636365, 'portfolio_id': 20980311}, {'photo_id': 1340636363, 'portfolio_id': 20980311}, {'photo_id': 1340636318, 'portfolio_id': 20980311}, {'photo_id': 1340636315, 'portfolio_id': 20980311}, {'photo_id': 1340636307, 'portfolio_id': 20980311}, {'photo_id': 1340636296, 'portfolio_id': 20980311}, {'photo_id': 1340636239, 'portfolio_id': 20980311}, {'photo_id': 1340636233, 'portfolio_id': 20980311}, {'photo_id': 1340636220, 'portfolio_id': 20980311}, {'photo_id': 1340636212, 'portfolio_id': 20980311}, {'photo_id': 1340636210, 'portfolio_id': 20980311}, {'photo_id': 1340636201, 'portfolio_id': 20980311}, {'photo_id': 1340636045, 'portfolio_id': 20980311}, {'photo_id': 1340636018, 'portfolio_id': 20980311}, {'photo_id': 1340636016, 'portfolio_id': 20980311}, {'photo_id': 1340636009, 'portfolio_id': 20980311}, {'photo_id': 1340635561, 'portfolio_id': 20980311}, {'photo_id': 1340635551, 'portfolio_id': 20980311}] map_portfolio_id_photo_id: {20980311: [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.030386924743652344 #### 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 Tue Mar 4 05:51:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20980311) 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 : 20980311 get user id for portfolio 20980311 get sub ptf for main ptf 20980311, type 3726 and hashtags ['metal', 'Carton_gris', 'cartonnette', 'Carton_brun', 'kraft', 'plastique', 'mal_croppe', 'environnement', 'autre_refus', 'Teint_Dans_La_Masse', 'papier', '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`=20980311 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','cartonnette','Carton_brun','kraft','plastique','mal_croppe','environnement','autre_refus','Teint_Dans_La_Masse','papier','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`=20980311 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','cartonnette','Carton_brun','kraft','plastique','mal_croppe','environnement','autre_refus','Teint_Dans_La_Masse','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20980311, 'sub_port_id': 20980375, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600641, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'papier': {'main_port_id': 20980311, 'sub_port_id': 20980376, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600642, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'flou': {'main_port_id': 20980311, 'sub_port_id': 20980377, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600643, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'cartonnette': {'main_port_id': 20980311, 'sub_port_id': 20980378, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600644, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20980311, 'sub_port_id': 20980379, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600645, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'metal': {'main_port_id': 20980311, 'sub_port_id': 20980380, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600646, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'environnement': {'main_port_id': 20980311, 'sub_port_id': 20980381, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600647, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'Carton_gris': {'main_port_id': 20980311, 'sub_port_id': 20980382, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600648, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'kraft': {'main_port_id': 20980311, 'sub_port_id': 20980383, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600649, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'plastique': {'main_port_id': 20980311, 'sub_port_id': 20980384, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600650, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'Carton_brun': {'main_port_id': 20980311, 'sub_port_id': 20980385, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600651, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}, 'autre_refus': {'main_port_id': 20980311, 'sub_port_id': 20980386, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600652, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980375 , 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=20980311 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 (20980375) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980376 , 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=20980311 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 (20980376) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980377 , 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=20980311 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 (20980377) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980378 , 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=20980311 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 (20980378) result : ((1340636314,), (1340636565,), (1340636583,), (1340636647,), (1340636789,), (1340636905,), (1340640439,), (1340640540,), (1340640573,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980379 , 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=20980311 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 (20980379) result : ((1340636574,), (1340636575,), (1340636576,), (1340636639,), (1340636769,), (1340636770,), (1340636771,), (1340636772,), (1340636773,), (1340640429,), (1340640430,), (1340640431,), (1340640432,), (1340640433,), (1340640509,), (1340640510,), (1340640511,), (1340640512,), (1340640552,), (1340640553,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980380 , 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=20980311 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 (20980380) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980381 , 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=20980311 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 (20980381) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980382 , 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=20980311 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 (20980382) result : ((1340636313,), (1340636564,), (1340636582,), (1340636644,), (1340636645,), (1340636746,), (1340636895,), (1340640538,), (1340640568,), (1340640569,), (1340640570,), (1340640571,), (1340640572,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980383 , 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=20980311 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 (20980383) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980384 , 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=20980311 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 (20980384) result : ((1340636592,), (1340636898,), (1340636899,), (1340636900,), (1340640551,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980385 , 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=20980311 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 (20980385) result : ((1340636317,), (1340636584,), (1340636585,), (1340636586,), (1340636587,), (1340636588,), (1340636589,), (1340636590,), (1340636591,), (1340636649,), (1340636896,), (1340636897,), (1340640541,), (1340640542,), (1340640543,), (1340640544,), (1340640545,), (1340640546,), (1340640547,), (1340640548,), (1340640549,), (1340640574,), (1340640575,), (1340640576,), (1340640577,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20980386 , 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=20980311 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 (20980386) result : ((1340636311,), (1340636312,), (1340636476,), (1340636477,), (1340636559,), (1340636560,), (1340636561,), (1340636562,), (1340636577,), (1340636578,), (1340636579,), (1340636580,), (1340636581,), (1340636640,), (1340636744,), (1340636785,), (1340636786,), (1340636787,), (1340636888,), (1340636889,), (1340636890,), (1340636891,), (1340636892,), (1340636904,), (1340640434,), (1340640435,), (1340640436,), (1340640437,), (1340640532,), (1340640533,), (1340640534,), (1340640535,), (1340640536,), (1340640558,), (1340640559,), (1340640560,), (1340640561,), (1340640562,), (1340640563,), (1340640564,), (1340640565,), (1340640566,), (1340640567,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20980311) result : ((1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20980311 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','cartonnette','Carton_brun','kraft','plastique','mal_croppe','environnement','autre_refus','Teint_Dans_La_Masse','papier','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`=20980311 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','cartonnette','Carton_brun','kraft','plastique','mal_croppe','environnement','autre_refus','Teint_Dans_La_Masse','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20980311, 'sub_port_id': 20980387, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600653, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'papier': {'main_port_id': 20980311, 'sub_port_id': 20980388, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600654, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'flou': {'main_port_id': 20980311, 'sub_port_id': 20980389, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600655, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'cartonnette': {'main_port_id': 20980311, 'sub_port_id': 20980390, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600656, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20980311, 'sub_port_id': 20980391, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600657, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'metal': {'main_port_id': 20980311, 'sub_port_id': 20980392, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600658, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'environnement': {'main_port_id': 20980311, 'sub_port_id': 20980393, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600659, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'Carton_gris': {'main_port_id': 20980311, 'sub_port_id': 20980394, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600660, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'kraft': {'main_port_id': 20980311, 'sub_port_id': 20980395, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600661, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'plastique': {'main_port_id': 20980311, 'sub_port_id': 20980396, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600662, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'Carton_brun': {'main_port_id': 20980311, 'sub_port_id': 20980397, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600663, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 20, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}, 'autre_refus': {'main_port_id': 20980311, 'sub_port_id': 20980398, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13600664, 'last_updated_at': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 3, 15, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 3, 15, 20, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980387,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980375 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980388,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980376 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980389,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980377 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980390,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980378 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980391,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980379 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980392,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980380 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980393,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980381 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980394,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980382 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980395,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980383 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980396,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980384 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980397,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980385 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20980398,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20980386 lien utilise dans velours : https://www.fotonower.com/velours/20980387,20980388,20980389,20980390,20980391,20980392,20980393,20980394,20980395,20980396,20980397,20980398?tags=mal_croppe,papier,flou,cartonnette,Teint_Dans_La_Masse,metal,environnement,Carton_gris,kraft,plastique,Carton_brun,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20980311]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] map_info['map_portfolio_photo'] : {20980311: [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551]} final : False mtd_id 4302 list_pids : [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] Looping around the photos to save general results len do output : 1 /20980311. 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, '2631323') ('4302', '20980311', '1340637316', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636792', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636736', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636730', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636722', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636675', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636672', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636669', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636668', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636637', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636632', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636630', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636629', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636525', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636505', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636434', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636428', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636426', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636382', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636376', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636371', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636368', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636365', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636363', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636318', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636315', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636307', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636296', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636239', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636233', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636220', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636212', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636210', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636201', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636045', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636018', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636016', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636009', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635561', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635551', None, None, None, None, None, '2631323') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '20980311', "{'mal_croppe': 20980375, 'papier': 20980376, 'flou': 20980377, 'cartonnette': 20980378, 'Teint_Dans_La_Masse': 20980379, 'metal': 20980380, 'environnement': 20980381, 'Carton_gris': 20980382, 'kraft': 20980383, 'plastique': 20980384, 'Carton_brun': 20980385, 'autre_refus': 20980386}", None, None, None, None, '2631323'), ('4302', '20980311', '1340637316', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636792', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636736', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636730', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636722', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636675', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636672', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636669', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636668', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636637', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636632', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636630', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636629', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636525', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636505', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636434', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636428', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636426', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636382', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636376', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636371', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636368', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636365', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636363', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636318', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636315', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636307', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636296', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636239', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636233', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636220', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636212', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636210', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636201', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636045', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636018', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636016', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636009', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340635561', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340635551', None, None, None, None, None, '2631323')] time used for this insertion : 0.028774261474609375 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9530916213989258 time spend to save output : 0.029175281524658203 total time spend for step 1 : 1.982266902923584 step2:final Tue Mar 4 05:52:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (20980311) 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 20980311 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340635561,1340635551,1340636045,1340636018,1340636016,1340636009,1340636239,1340636233,1340636220,1340636212,1340636210,1340636201,1340636318,1340636315,1340636307,1340636296,1340636382,1340636376,1340636371,1340636368,1340636365,1340636363,1340636434,1340636428,1340636426,1340636525,1340636505,1340636637,1340636632,1340636630,1340636629,1340636675,1340636672,1340636669,1340636668,1340636736,1340636730,1340636792,1340636722,1340637316); 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([20980311]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} new output for save of step final : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] map_info['map_portfolio_photo'] : {20980311: [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551]} final : False mtd_id 4302 list_pids : [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] Looping around the photos to save general results len do output : 40 /1340637316.Didn't retrieve data . /1340636792.Didn't retrieve data . /1340636736.Didn't retrieve data . /1340636730.Didn't retrieve data . /1340636722.Didn't retrieve data . /1340636675.Didn't retrieve data . /1340636672.Didn't retrieve data . /1340636669.Didn't retrieve data . /1340636668.Didn't retrieve data . /1340636637.Didn't retrieve data . /1340636632.Didn't retrieve data . /1340636630.Didn't retrieve data . /1340636629.Didn't retrieve data . /1340636525.Didn't retrieve data . /1340636505.Didn't retrieve data . /1340636434.Didn't retrieve data . /1340636428.Didn't retrieve data . /1340636426.Didn't retrieve data . /1340636382.Didn't retrieve data . /1340636376.Didn't retrieve data . /1340636371.Didn't retrieve data . /1340636368.Didn't retrieve data . /1340636365.Didn't retrieve data . /1340636363.Didn't retrieve data . /1340636318.Didn't retrieve data . /1340636315.Didn't retrieve data . /1340636307.Didn't retrieve data . /1340636296.Didn't retrieve data . /1340636239.Didn't retrieve data . /1340636233.Didn't retrieve data . /1340636220.Didn't retrieve data . /1340636212.Didn't retrieve data . /1340636210.Didn't retrieve data . /1340636201.Didn't retrieve data . /1340636045.Didn't retrieve data . /1340636018.Didn't retrieve data . /1340636016.Didn't retrieve data . /1340636009.Didn't retrieve data . /1340635561.Didn't retrieve data . /1340635551.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, '2631323') ('4302', '20980311', '1340637316', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636792', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636736', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636730', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636722', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636675', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636672', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636669', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636668', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636637', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636632', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636630', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636629', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636525', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636505', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636434', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636428', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636426', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636382', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636376', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636371', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636368', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636365', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636363', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636318', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636315', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636307', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636296', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636239', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636233', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636220', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636212', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636210', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636201', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636045', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636018', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636016', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636009', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635561', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635551', None, None, None, None, None, '2631323') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '20980311', '1340637316', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636792', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636736', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636730', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636722', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636675', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636672', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636669', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636668', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636637', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636632', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636630', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636629', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636525', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636505', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636434', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636428', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636426', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636382', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636376', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636371', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636368', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636365', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636363', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636318', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636315', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636307', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636296', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636239', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636233', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636220', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636212', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636210', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636201', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636045', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636018', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636016', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340636009', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340635561', '0.07160753824558574', None, None, None, None, '2631323'), ('4302', '20980311', '1340635551', '0.07160753824558574', None, None, None, None, '2631323')] time used for this insertion : 0.01973557472229004 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07671332359313965 time spend to save output : 0.02115154266357422 total time spend for step 2 : 0.09786486625671387 step3:velours_tree Tue Mar 4 05:52:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20980311: [{'mal_croppe': 20980375, 'papier': 20980376, 'flou': 20980377, 'cartonnette': 20980378, 'Teint_Dans_La_Masse': 20980379, 'metal': 20980380, 'environnement': 20980381, 'Carton_gris': 20980382, 'kraft': 20980383, 'plastique': 20980384, 'Carton_brun': 20980385, 'autre_refus': 20980386}]} input_args_next_step : {20980311: ()} output_args : {20980311: [{'mal_croppe': 20980375, 'papier': 20980376, 'flou': 20980377, 'cartonnette': 20980378, 'Teint_Dans_La_Masse': 20980379, 'metal': 20980380, 'environnement': 20980381, 'Carton_gris': 20980382, 'kraft': 20980383, 'plastique': 20980384, 'Carton_brun': 20980385, 'autre_refus': 20980386}]} args : 20980311 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'mal_croppe': 20980375, 'papier': 20980376, 'flou': 20980377, 'cartonnette': 20980378, 'Teint_Dans_La_Masse': 20980379, 'metal': 20980380, 'environnement': 20980381, 'Carton_gris': 20980382, 'kraft': 20980383, 'plastique': 20980384, 'Carton_brun': 20980385, 'autre_refus': 20980386},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20980311) 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([20980311]) 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.34806394577026367 time spend to save output : 4.982948303222656e-05 total time spend for step 3 : 0.3481137752532959 step4:send_mail_cod Tue Mar 4 05:52:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} input_args_next_step : {1340637316: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340637316 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636792 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636736 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636730 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636722 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636675 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636672 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636669 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636668 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636637 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636632 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636630 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636629 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636525 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636505 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636434 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636428 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636426 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636382 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636376 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636371 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636368 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636365 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636363 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636318 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636315 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636307 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636296 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636239 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636233 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636220 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636212 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636210 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636201 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636045 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636018 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636016 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340636009 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340635561 depend.output_id : 0 input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ()} output_args : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',)} args : 1340635551 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 : {20980311: [{'mal_croppe': 20980375, 'papier': 20980376, 'flou': 20980377, 'cartonnette': 20980378, 'Teint_Dans_La_Masse': 20980379, 'metal': 20980380, 'environnement': 20980381, 'Carton_gris': 20980382, 'kraft': 20980383, 'plastique': 20980384, 'Carton_brun': 20980385, 'autre_refus': 20980386}]} input_args_next_step : {1340637316: ('0.07160753824558574',), 1340636792: ('0.07160753824558574',), 1340636736: ('0.07160753824558574',), 1340636730: ('0.07160753824558574',), 1340636722: ('0.07160753824558574',), 1340636675: ('0.07160753824558574',), 1340636672: ('0.07160753824558574',), 1340636669: ('0.07160753824558574',), 1340636668: ('0.07160753824558574',), 1340636637: ('0.07160753824558574',), 1340636632: ('0.07160753824558574',), 1340636630: ('0.07160753824558574',), 1340636629: ('0.07160753824558574',), 1340636525: ('0.07160753824558574',), 1340636505: ('0.07160753824558574',), 1340636434: ('0.07160753824558574',), 1340636428: ('0.07160753824558574',), 1340636426: ('0.07160753824558574',), 1340636382: ('0.07160753824558574',), 1340636376: ('0.07160753824558574',), 1340636371: ('0.07160753824558574',), 1340636368: ('0.07160753824558574',), 1340636365: ('0.07160753824558574',), 1340636363: ('0.07160753824558574',), 1340636318: ('0.07160753824558574',), 1340636315: ('0.07160753824558574',), 1340636307: ('0.07160753824558574',), 1340636296: ('0.07160753824558574',), 1340636239: ('0.07160753824558574',), 1340636233: ('0.07160753824558574',), 1340636220: ('0.07160753824558574',), 1340636212: ('0.07160753824558574',), 1340636210: ('0.07160753824558574',), 1340636201: ('0.07160753824558574',), 1340636045: ('0.07160753824558574',), 1340636018: ('0.07160753824558574',), 1340636016: ('0.07160753824558574',), 1340636009: ('0.07160753824558574',), 1340635561: ('0.07160753824558574',), 1340635551: ('0.07160753824558574',), 20980311: ()} output_args : {20980311: [{'mal_croppe': 20980375, 'papier': 20980376, 'flou': 20980377, 'cartonnette': 20980378, 'Teint_Dans_La_Masse': 20980379, 'metal': 20980380, 'environnement': 20980381, 'Carton_gris': 20980382, 'kraft': 20980383, 'plastique': 20980384, 'Carton_brun': 20980385, 'autre_refus': 20980386}]} args : 20980311 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 :41, first value : ('0.07160753824558574',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20980311) 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 (1340637316,1340636792,1340636736,1340636730,1340636722,1340636675,1340636672,1340636669,1340636668,1340636637,1340636632,1340636630,1340636629,1340636525,1340636505,1340636434,1340636428,1340636426,1340636382,1340636376,1340636371,1340636368,1340636365,1340636363,1340636318,1340636315,1340636307,1340636296,1340636239,1340636233,1340636220,1340636212,1340636210,1340636201,1340636045,1340636018,1340636016,1340636009,1340635561,1340635551) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340635551 begin to download photo : 1340636220 begin to download photo : 1340636368 begin to download photo : 1340636629 begin to download photo : 1340636730 download finish for photo 1340635551 begin to download photo : 1340635561 download finish for photo 1340636629 begin to download photo : 1340636630 download finish for photo 1340636368 begin to download photo : 1340636371 download finish for photo 1340636730 begin to download photo : 1340636736 download finish for photo 1340636220 begin to download photo : 1340636233 download finish for photo 1340635561 begin to download photo : 1340636009 download finish for photo 1340636736 begin to download photo : 1340636792 download finish for photo 1340636630 begin to download photo : 1340636632 download finish for photo 1340636233 begin to download photo : 1340636239 download finish for photo 1340636371 begin to download photo : 1340636376 download finish for photo 1340636009 begin to download photo : 1340636016 download finish for photo 1340636792 begin to download photo : 1340637316 download finish for photo 1340636632 begin to download photo : 1340636637 download finish for photo 1340636239 begin to download photo : 1340636296 download finish for photo 1340636016 begin to download photo : 1340636018 download finish for photo 1340636376 begin to download photo : 1340636382 download finish for photo 1340637316 download finish for photo 1340636637 begin to download photo : 1340636668 download finish for photo 1340636018 begin to download photo : 1340636045 download finish for photo 1340636296 begin to download photo : 1340636307 download finish for photo 1340636382 begin to download photo : 1340636426 download finish for photo 1340636668 begin to download photo : 1340636669 download finish for photo 1340636307 begin to download photo : 1340636315 download finish for photo 1340636045 begin to download photo : 1340636201 download finish for photo 1340636669 begin to download photo : 1340636672 download finish for photo 1340636315 begin to download photo : 1340636318 download finish for photo 1340636201 begin to download photo : 1340636210 download finish for photo 1340636426 begin to download photo : 1340636428 download finish for photo 1340636672 begin to download photo : 1340636675 download finish for photo 1340636428 begin to download photo : 1340636434 download finish for photo 1340636210 begin to download photo : 1340636212 download finish for photo 1340636318 begin to download photo : 1340636363 download finish for photo 1340636675 begin to download photo : 1340636722 download finish for photo 1340636212 download finish for photo 1340636434 begin to download photo : 1340636505 download finish for photo 1340636722 download finish for photo 1340636363 begin to download photo : 1340636365 download finish for photo 1340636505 begin to download photo : 1340636525 download finish for photo 1340636365 download finish for photo 1340636525 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette209803751741063922/ imagette209803771741063922/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P20980311_04-03-2025_05_52_02.pdf 20980375 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=20980375 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209803751741063922 20980377 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=20980377 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209803771741063922 20980378 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=20980378 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340636314: '1741011571_2753253_1340635551_12326ca670ebc26989d636ef115a56b8_rle_crop_3692431443_0.png', 1340636565: '1741011792_2757044_1340636315_4744f15ae8ac922a1f2cbb39d1ec309a_rle_crop_3692433037_0.png', 1340636583: '1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433327_0.png', 1340636647: '1741011902_2758608_1340636428_f7e55a45e520a630563da84f890eae67_rle_crop_3692433709_0.png', 1340636789: '1741012052_2760086_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434084_0.png', 1340636905: '1741012172_2761232_1340636730_b4ad790d67c7d6d1940eeab340976e6e_rle_crop_3692434497_0.png', 1340640439: '1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434084_0.png', 1340640540: '1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433327_0.png', 1340640573: '1741014112_2818301_1340635551_12326ca670ebc26989d636ef115a56b8_rle_crop_3692431443_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/e7297b91d2c77fa4cf8593f07dc32fa0_11428354.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/97ac377fdec050f2112ad42d14ab4307_21296570.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1d8694c6c12770d3004929ca7a32eb34_23988915.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/56acbe116bb2b98e554717463e6135cf_28227347.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1f354e2625ff643ebf09b9544553ab5b_16999320.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/622bc893d9ae13c7c9143d75f12f7ce9_6779101.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1f354e2625ff643ebf09b9544553ab5b_30447198.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1d8694c6c12770d3004929ca7a32eb34_74416931.png change filename to text .imagette209803781741063922/ imagette209803781741063922/1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433327_0.png.png imagette209803781741063922/1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433327_0.png.png imagette209803781741063922/1741011792_2757044_1340636315_4744f15ae8ac922a1f2cbb39d1ec309a_rle_crop_3692433037_0.png.png imagette209803781741063922/1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434084_0.png.png imagette209803781741063922/1741011571_2753253_1340635551_12326ca670ebc26989d636ef115a56b8_rle_crop_3692431443_0.png.png imagette209803781741063922/1741014112_2818301_1340635551_12326ca670ebc26989d636ef115a56b8_rle_crop_3692431443_0.png.png imagette209803781741063922/1741011902_2758608_1340636428_f7e55a45e520a630563da84f890eae67_rle_crop_3692433709_0.png.png imagette209803781741063922/1741012172_2761232_1340636730_b4ad790d67c7d6d1940eeab340976e6e_rle_crop_3692434497_0.png.png imagette209803781741063922/1741012052_2760086_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434084_0.png.png imagette209803801741063923/ imagette209803831741063923/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/e7297b91d2c77fa4cf8593f07dc32fa0_23379445.png imagette209803781741063922 20980380 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=20980380 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209803801741063923 20980383 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=20980383 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209803831741063923 20980384 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=20980384 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340636592: '1741011811_2757287_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433315_0.png', 1340636898: '1741012151_2761025_1340636736_e8d9966f31211fc6c77119c056dfcdea_rle_crop_3692434376_0.png', 1340636899: '1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434455_0.png', 1340636900: '1741012151_2761025_1340636668_49ec190dd381db51c66c15aae1458695_rle_crop_3692434471_0.png', 1340640551: '1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433315_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/9f93f525bdd93834f1b1dbabfab019be_75385777.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/79b76cb1100b414a9a5b786d422b1120_94835148.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5b905bfbc8bb6a38c10fbde34346a68a_36017849.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4150aff19b62c61b196aaef62298b29f_3301533.png change filename to text .imagette209803841741063923/ imagette209803841741063923/1741012151_2761025_1340636736_e8d9966f31211fc6c77119c056dfcdea_rle_crop_3692434376_0.png.png imagette209803841741063923/1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434455_0.png.png imagette209803841741063923/1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433315_0.png.png imagette209803841741063923/1741011811_2757287_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433315_0.png.png imagette209803841741063923/1741012151_2761025_1340636668_49ec190dd381db51c66c15aae1458695_rle_crop_3692434471_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/9f93f525bdd93834f1b1dbabfab019be_18323058.png imagette209803841741063923 20980386 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=20980386 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340640536: '1741014072_2817645_1340636363_e190a202e7c064006440372f8bacab66_rle_crop_3692433345_0.png', 1340636892: '1741012151_2761025_1340636668_49ec190dd381db51c66c15aae1458695_rle_crop_3692434466_0.png', 1340636904: '1741012172_2761232_1340636730_b4ad790d67c7d6d1940eeab340976e6e_rle_crop_3692434501_0.png', 1340640434: '1741014053_2809080_1340636675_a263f717c30c6de1ef1d72b7a0b14f03_rle_crop_3692455650_0.png', 1340640435: '1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434087_0.png', 1340640436: '1741014053_2809080_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434101_0.png', 1340640437: '1741014053_2809080_1340636629_973f3eef3811e76fb50c856c13fe3532_rle_crop_3692434115_0.png', 1340640532: '1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433280_0.png', 1340640533: '1741014072_2817645_1340636371_e090fcb359785c4e7dc01e05099ca587_rle_crop_3692433290_0.png', 1340640534: '1741014072_2817645_1340636371_e090fcb359785c4e7dc01e05099ca587_rle_crop_3692433302_0.png', 1340640535: '1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433320_0.png', 1340636891: '1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434451_0.png', 1340640558: '1741014091_2818026_1340636318_eb78faba6322ea36a7e9952d2335af65_rle_crop_3692457823_0.png', 1340640559: '1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432618_0.png', 1340640560: '1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432610_0.png', 1340640561: '1741014091_2818026_1340636220_0ab6d280211ba222f85c4526bba21394_rle_crop_3692432702_0.png', 1340640562: '1741014091_2818026_1340636212_d0828552a0c65116f7a59d498c4b4d4f_rle_crop_3692432739_0.png', 1340640563: '1741014091_2818026_1340636210_f317616fec3ad96fafee03be64e1de01_rle_crop_3692432769_0.png', 1340640564: '1741014091_2818026_1340636201_5637f1b8299a78622e597175c7e8ee47_rle_crop_3692432799_0.png', 1340640565: '1741014112_2818301_1340636045_a505f04f355666abaf7e23f90c52fc49_rle_crop_3692458223_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/abaa06d2f8fe928b244e1865dd530e1f_48277165.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/c4b2d5d3411f2878e7d12e7d36f76c5c_53931672.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/705e82917a4bf3a749a40afa88a55f68_44603134.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/70a4a9f5a71855f6128c3a70c071531c_36835499.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/846741acc3121e8bf61526b00b5c4642_39985927.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b73b19526e7e790f0a1e504eceb9c740_6512703.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/89f183635a86ae2e765c45914d2b3b56_42452950.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/abb8934d7cf84fa076f266b119e7e693_81374585.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/262cf9761aa0cddeabb1087f59828078_90633372.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1dfe0ee1f1e841446ea3512c195c7d4e_60432232.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5d316d2da26d8bffba8393008f4974a3_47275227.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f5afce9e754bb2120383d46114bf6739_41715022.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/1277cbb8488a630c63f66ab2ea1dd6be_97651231.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ff571dd4692bb9ae0dd5cfe81ccb9ff1_4688113.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/9d381b42da430c27ea8f772d370c0436_62151166.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/771043e397663f7927444ec4caaf2f6c_7152509.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/bee7d53e5893915f6278b68537148d11_17005307.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b86a2d66e0561e7d03a194ba490b10f0_64627469.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/2f1a147764de1ae05073932b86e6e2ca_89960164.png change filename to text .imagette209803861741063923/ imagette209803861741063923/1741012172_2761232_1340636730_b4ad790d67c7d6d1940eeab340976e6e_rle_crop_3692434501_0.png.png imagette209803861741063923/1741014072_2817645_1340636371_e090fcb359785c4e7dc01e05099ca587_rle_crop_3692433290_0.png.png imagette209803861741063923/1741014091_2818026_1340636318_eb78faba6322ea36a7e9952d2335af65_rle_crop_3692457823_0.png.png imagette209803861741063923/1741014072_2817645_1340636371_e090fcb359785c4e7dc01e05099ca587_rle_crop_3692433302_0.png.png imagette209803861741063923/1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432610_0.png.png imagette209803861741063923/1741012151_2761025_1340636668_49ec190dd381db51c66c15aae1458695_rle_crop_3692434466_0.png.png imagette209803861741063923/1741014053_2809080_1340636675_a263f717c30c6de1ef1d72b7a0b14f03_rle_crop_3692455650_0.png.png imagette209803861741063923/1741014091_2818026_1340636212_d0828552a0c65116f7a59d498c4b4d4f_rle_crop_3692432739_0.png.png imagette209803861741063923/1741014091_2818026_1340636220_0ab6d280211ba222f85c4526bba21394_rle_crop_3692432702_0.png.png imagette209803861741063923/1741014091_2818026_1340636210_f317616fec3ad96fafee03be64e1de01_rle_crop_3692432769_0.png.png imagette209803861741063923/1741014112_2818301_1340636045_a505f04f355666abaf7e23f90c52fc49_rle_crop_3692458223_0.png.png imagette209803861741063923/1741014072_2817645_1340636363_e190a202e7c064006440372f8bacab66_rle_crop_3692433345_0.png.png imagette209803861741063923/1741014053_2809080_1340636629_973f3eef3811e76fb50c856c13fe3532_rle_crop_3692434115_0.png.png imagette209803861741063923/1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432618_0.png.png imagette209803861741063923/1741014053_2809080_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434101_0.png.png imagette209803861741063923/1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434451_0.png.png imagette209803861741063923/1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433280_0.png.png imagette209803861741063923/1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434087_0.png.png imagette209803861741063923/1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433320_0.png.png imagette209803861741063923/1741014091_2818026_1340636201_5637f1b8299a78622e597175c7e8ee47_rle_crop_3692432799_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/af6e738f2a249c03fbb949a4d3467ddc_93632189.png imagette209803861741063923 20980379 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=20980379 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340640430: '1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434076_0.png', 1340640553: '1741014091_2818026_1340636201_5637f1b8299a78622e597175c7e8ee47_rle_crop_3692432804_0.png', 1340640552: '1741014091_2818026_1340636212_d0828552a0c65116f7a59d498c4b4d4f_rle_crop_3692432736_0.png', 1340640512: '1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433329_0.png', 1340640511: '1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433273_0.png', 1340640510: '1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433279_0.png', 1340640509: '1741014072_2817645_1340636434_dd740bf9f75d66337fae2aabb8b04e48_rle_crop_3692457711_0.png', 1340640433: '1741014053_2809080_1340636629_973f3eef3811e76fb50c856c13fe3532_rle_crop_3692434117_0.png', 1340640432: '1741014053_2809080_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434106_0.png', 1340640431: '1741014053_2809080_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434104_0.png', 1340636574: '1741011811_2757287_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433279_0.png', 1340640429: '1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434077_0.png', 1340636773: '1741012052_2760086_1340636629_973f3eef3811e76fb50c856c13fe3532_rle_crop_3692434117_0.png', 1340636772: '1741012052_2760086_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434106_0.png', 1340636771: '1741012052_2760086_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434104_0.png', 1340636770: '1741012052_2760086_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434076_0.png', 1340636769: '1741012052_2760086_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434077_0.png', 1340636639: '1741011902_2758608_1340636426_ef9d225fffac5974119d472b4b461b6b_rle_crop_3692433735_0.png', 1340636576: '1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433329_0.png', 1340636575: '1741011811_2757287_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433273_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/3716df194b74409d3393b0013f16a422_9771210.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/020fd2b2e3cd1587015592fcf5526a12_69672219.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/785ca62a6a478948c418c7a71908f138_59895771.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/721cd519a4bc7e2c5f4b029d42a8f618_81924976.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/7edc0346511afde035496fac9ab8ec0f_95676915.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5f8bab514328e2fbf7032d50bc58738e_45284665.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f3a43b0256de4c5b58e46041282f8ce5_2920891.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/443813f926792cc3fe76778a5b3752e2_68999057.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/541feaa77ac0602efc674be8b984d32f_9743627.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ff7bd3928832d8dde3bca70ae75e08ca_52854859.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5f8bab514328e2fbf7032d50bc58738e_42476633.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/6299af1164a42425914f1f9e15c0a0dc_62972711.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/443813f926792cc3fe76778a5b3752e2_98053135.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/541feaa77ac0602efc674be8b984d32f_35351412.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ff7bd3928832d8dde3bca70ae75e08ca_979019.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/3716df194b74409d3393b0013f16a422_20750115.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/6299af1164a42425914f1f9e15c0a0dc_47216756.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b50e1841f4ba0bfe39b2e03f4292f1f9_4895444.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/721cd519a4bc7e2c5f4b029d42a8f618_65465935.png change filename to text .imagette209803791741063925/ imagette209803791741063925/1741014053_2809080_1340636629_973f3eef3811e76fb50c856c13fe3532_rle_crop_3692434117_0.png.png imagette209803791741063925/1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433329_0.png.png imagette209803791741063925/1741012052_2760086_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434077_0.png.png imagette209803791741063925/1741014053_2809080_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434106_0.png.png imagette209803791741063925/1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434076_0.png.png imagette209803791741063925/1741012052_2760086_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434106_0.png.png imagette209803791741063925/1741012052_2760086_1340636629_973f3eef3811e76fb50c856c13fe3532_rle_crop_3692434117_0.png.png imagette209803791741063925/1741012052_2760086_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434076_0.png.png imagette209803791741063925/1741011902_2758608_1340636426_ef9d225fffac5974119d472b4b461b6b_rle_crop_3692433735_0.png.png imagette209803791741063925/1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433273_0.png.png imagette209803791741063925/1741011811_2757287_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433279_0.png.png imagette209803791741063925/1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433329_0.png.png imagette209803791741063925/1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433279_0.png.png imagette209803791741063925/1741012052_2760086_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434104_0.png.png imagette209803791741063925/1741014091_2818026_1340636212_d0828552a0c65116f7a59d498c4b4d4f_rle_crop_3692432736_0.png.png imagette209803791741063925/1741014072_2817645_1340636434_dd740bf9f75d66337fae2aabb8b04e48_rle_crop_3692457711_0.png.png imagette209803791741063925/1741014053_2809080_1340636630_a814254984d533c2ab9359a53d2943e2_rle_crop_3692434104_0.png.png imagette209803791741063925/1741014091_2818026_1340636201_5637f1b8299a78622e597175c7e8ee47_rle_crop_3692432804_0.png.png imagette209803791741063925/1741011811_2757287_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433273_0.png.png imagette209803791741063925/1741014053_2809080_1340636632_e1f9c7c10227ae8570846e124ab1334d_rle_crop_3692434077_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/7edc0346511afde035496fac9ab8ec0f_10698124.png imagette209803791741063925 20980382 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=20980382 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340636313: '1741011571_2753253_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431414_0.png', 1340636564: '1741011792_2757044_1340636315_4744f15ae8ac922a1f2cbb39d1ec309a_rle_crop_3692433035_0.png', 1340636582: '1741011811_2757287_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433271_0.png', 1340636644: '1741011902_2758608_1340636428_f7e55a45e520a630563da84f890eae67_rle_crop_3692433711_0.png', 1340636645: '1741011902_2758608_1340636426_ef9d225fffac5974119d472b4b461b6b_rle_crop_3692433731_0.png', 1340636746: '1741012031_2759880_1340636637_22159aa8de5cd700b63b5a7a928993f0_rle_crop_3692433909_0.png', 1340636895: '1741012151_2761025_1340636736_e8d9966f31211fc6c77119c056dfcdea_rle_crop_3692434375_0.png', 1340640538: '1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433271_0.png', 1340640568: '1741014091_2818026_1340636318_eb78faba6322ea36a7e9952d2335af65_rle_crop_3692457818_0.png', 1340640569: '1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432612_0.png', 1340640570: '1741014091_2818026_1340636210_f317616fec3ad96fafee03be64e1de01_rle_crop_3692432764_0.png', 1340640571: '1741014112_2818301_1340636045_a505f04f355666abaf7e23f90c52fc49_rle_crop_3692458220_0.png', 1340640572: '1741014112_2818301_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431414_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/abc86f02ef0bf7ce69ca5ce09f3e75aa_95076970.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/e84f8d1291a5d4e3f600357a36bb63b6_40691846.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a37740956149fa969c467707f5500440_82829205.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/b30469a67b848c51d9333e79c5e0fa39_52487586.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/7388aecf8b06f29c4356d3f681a4cbb9_66220708.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/3c03c6c5fce56190caa232f18e53b346_93690495.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/908bd8eac949a1bc24b5d1c79adef69d_8989215.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a37740956149fa969c467707f5500440_55245093.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5ab6aa3aad5cd83a5e160397604dfd18_26303187.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ff53bcf1396d3fad48b814111a76269c_95808148.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/bd6ff2c35e4e960931f6f72ef66ce935_79741471.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/87d41062bd9fb62d27b6d66ad54b0a8e_15215191.png change filename to text .imagette209803821741063928/ imagette209803821741063928/1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432612_0.png.png imagette209803821741063928/1741014112_2818301_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431414_0.png.png imagette209803821741063928/1741011792_2757044_1340636315_4744f15ae8ac922a1f2cbb39d1ec309a_rle_crop_3692433035_0.png.png imagette209803821741063928/1741011902_2758608_1340636426_ef9d225fffac5974119d472b4b461b6b_rle_crop_3692433731_0.png.png imagette209803821741063928/1741011811_2757287_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433271_0.png.png imagette209803821741063928/1741014091_2818026_1340636210_f317616fec3ad96fafee03be64e1de01_rle_crop_3692432764_0.png.png imagette209803821741063928/1741011902_2758608_1340636428_f7e55a45e520a630563da84f890eae67_rle_crop_3692433711_0.png.png imagette209803821741063928/1741014112_2818301_1340636045_a505f04f355666abaf7e23f90c52fc49_rle_crop_3692458220_0.png.png imagette209803821741063928/1741012031_2759880_1340636637_22159aa8de5cd700b63b5a7a928993f0_rle_crop_3692433909_0.png.png imagette209803821741063928/1741014091_2818026_1340636318_eb78faba6322ea36a7e9952d2335af65_rle_crop_3692457818_0.png.png imagette209803821741063928/1741012151_2761025_1340636736_e8d9966f31211fc6c77119c056dfcdea_rle_crop_3692434375_0.png.png imagette209803821741063928/1741011571_2753253_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431414_0.png.png imagette209803821741063928/1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433271_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/abc86f02ef0bf7ce69ca5ce09f3e75aa_16399596.png imagette209803821741063928 20980385 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=20980385 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340640541: '1741014072_2817645_1340636434_dd740bf9f75d66337fae2aabb8b04e48_rle_crop_3692457707_0.png', 1340640577: '1741014112_2818301_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431423_0.png', 1340640576: '1741014091_2818026_1340636220_0ab6d280211ba222f85c4526bba21394_rle_crop_3692432699_0.png', 1340640575: '1741014091_2818026_1340636220_0ab6d280211ba222f85c4526bba21394_rle_crop_3692432700_0.png', 1340640574: '1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432613_0.png', 1340640549: '1741014072_2817645_1340636363_e190a202e7c064006440372f8bacab66_rle_crop_3692433344_0.png', 1340640548: '1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433332_0.png', 1340640547: '1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433333_0.png', 1340640546: '1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433314_0.png', 1340640545: '1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433317_0.png', 1340640544: '1741014072_2817645_1340636371_e090fcb359785c4e7dc01e05099ca587_rle_crop_3692433298_0.png', 1340640543: '1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433275_0.png', 1340640542: '1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433276_0.png', 1340636317: '1741011571_2753253_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431423_0.png', 1340636897: '1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434450_0.png', 1340636896: '1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434453_0.png', 1340636649: '1741011902_2758608_1340636426_ef9d225fffac5974119d472b4b461b6b_rle_crop_3692433725_0.png', 1340636591: '1741011811_2757287_1340636363_e190a202e7c064006440372f8bacab66_rle_crop_3692433344_0.png', 1340636590: '1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433332_0.png', 1340636589: '1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433333_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5950d8b55cebe23de1486b117f368ad9_15785979.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f1704330fb20d0fdd033b693e4d9782d_17495541.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/4d2f66e913c0e38fecfb273be136dca2_69451911.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/3b361f28daee637cd9d4072ebe3b4be3_4168823.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f49e435c4b5e51901cd6730fccfe964f_32031021.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a24b105f47f60d0c83739cc08f611dfc_7220043.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5a94cadc7c2814af578c41663854d374_1650652.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/041cf800485205e6bd112e68e8656d67_11436806.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/0c99b6154c504c2d75ff3254d00f3c7a_74007518.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a5d3b0d86ad8fbad9d1ffd7140c88be3_42578840.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/9549c34778eba5d2920812db4f5639b7_15368523.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/bfb1fc7e869cfdd7c5365e5fad02280b_30641608.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/12df4aad60a2d2e31a31bc635a844688_68870783.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/f1704330fb20d0fdd033b693e4d9782d_73632333.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/7985f9dad2bdd0522b529a1ef195e57b_22186818.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/10551405ae702cd5b72e4d1d6b3e8261_87738260.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/883e282ae35d07ced135f10dee7367b0_14911932.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a24b105f47f60d0c83739cc08f611dfc_55930914.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/5a94cadc7c2814af578c41663854d374_70212456.png change filename to text .imagette209803851741063929/ imagette209803851741063929/1741014091_2818026_1340636233_8eb18f94f1d4cbb92654ad11894289ec_rle_crop_3692432613_0.png.png imagette209803851741063929/1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433314_0.png.png imagette209803851741063929/1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433332_0.png.png imagette209803851741063929/1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433275_0.png.png imagette209803851741063929/1741014072_2817645_1340636434_dd740bf9f75d66337fae2aabb8b04e48_rle_crop_3692457707_0.png.png imagette209803851741063929/1741014091_2818026_1340636220_0ab6d280211ba222f85c4526bba21394_rle_crop_3692432700_0.png.png imagette209803851741063929/1741014112_2818301_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431423_0.png.png imagette209803851741063929/1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433332_0.png.png imagette209803851741063929/1741011811_2757287_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433333_0.png.png imagette209803851741063929/1741011811_2757287_1340636363_e190a202e7c064006440372f8bacab66_rle_crop_3692433344_0.png.png imagette209803851741063929/1741014072_2817645_1340636363_e190a202e7c064006440372f8bacab66_rle_crop_3692433344_0.png.png imagette209803851741063929/1741014072_2817645_1340636371_e090fcb359785c4e7dc01e05099ca587_rle_crop_3692433298_0.png.png imagette209803851741063929/1741014072_2817645_1340636365_05739068364546fb2b179c4e4d253c08_rle_crop_3692433333_0.png.png imagette209803851741063929/1741014072_2817645_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36_rle_crop_3692433276_0.png.png imagette209803851741063929/1741011571_2753253_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85_rle_crop_3692431423_0.png.png imagette209803851741063929/1741014091_2818026_1340636220_0ab6d280211ba222f85c4526bba21394_rle_crop_3692432699_0.png.png imagette209803851741063929/1741014072_2817645_1340636368_50061b0f2de40e6a8733bb69a811d2c3_rle_crop_3692433317_0.png.png imagette209803851741063929/1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434450_0.png.png imagette209803851741063929/1741011902_2758608_1340636426_ef9d225fffac5974119d472b4b461b6b_rle_crop_3692433725_0.png.png imagette209803851741063929/1741012151_2761025_1340636669_18d23bb97beef9d9e94e36a994320956_rle_crop_3692434453_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/041cf800485205e6bd112e68e8656d67_76499465.png imagette209803851741063929 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20980311 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20980387,20980388,20980389,20980390,20980391,20980392,20980393,20980394,20980395,20980396,20980397,20980398?tags=mal_croppe,papier,flou,cartonnette,Teint_Dans_La_Masse,metal,environnement,Carton_gris,kraft,plastique,Carton_brun,autre_refus your option no_mail is active, we will not send the real mail to your client args[1340637316] : ('0.07160753824558574',) no score found for photo 1340637316 We are sending mail with results at report@fotonower.com args[1340636792] : ('0.07160753824558574',) no score found for photo 1340636792 We are sending mail with results at report@fotonower.com args[1340636736] : ('0.07160753824558574',) no score found for photo 1340636736 We are sending mail with results at report@fotonower.com args[1340636730] : ('0.07160753824558574',) no score found for photo 1340636730 We are sending mail with results at report@fotonower.com args[1340636722] : ('0.07160753824558574',) no score found for photo 1340636722 We are sending mail with results at report@fotonower.com args[1340636675] : ('0.07160753824558574',) no score found for photo 1340636675 We are sending mail with results at report@fotonower.com args[1340636672] : ('0.07160753824558574',) no score found for photo 1340636672 We are sending mail with results at report@fotonower.com args[1340636669] : ('0.07160753824558574',) no score found for photo 1340636669 We are sending mail with results at report@fotonower.com args[1340636668] : ('0.07160753824558574',) no score found for photo 1340636668 We are sending mail with results at report@fotonower.com args[1340636637] : ('0.07160753824558574',) no score found for photo 1340636637 We are sending mail with results at report@fotonower.com args[1340636632] : ('0.07160753824558574',) no score found for photo 1340636632 We are sending mail with results at report@fotonower.com args[1340636630] : ('0.07160753824558574',) no score found for photo 1340636630 We are sending mail with results at report@fotonower.com args[1340636629] : ('0.07160753824558574',) no score found for photo 1340636629 We are sending mail with results at report@fotonower.com args[1340636525] : ('0.07160753824558574',) no score found for photo 1340636525 We are sending mail with results at report@fotonower.com args[1340636505] : ('0.07160753824558574',) no score found for photo 1340636505 We are sending mail with results at report@fotonower.com args[1340636434] : ('0.07160753824558574',) no score found for photo 1340636434 We are sending mail with results at report@fotonower.com args[1340636428] : ('0.07160753824558574',) no score found for photo 1340636428 We are sending mail with results at report@fotonower.com args[1340636426] : ('0.07160753824558574',) no score found for photo 1340636426 We are sending mail with results at report@fotonower.com args[1340636382] : ('0.07160753824558574',) no score found for photo 1340636382 We are sending mail with results at report@fotonower.com args[1340636376] : ('0.07160753824558574',) no score found for photo 1340636376 We are sending mail with results at report@fotonower.com args[1340636371] : ('0.07160753824558574',) no score found for photo 1340636371 We are sending mail with results at report@fotonower.com args[1340636368] : ('0.07160753824558574',) no score found for photo 1340636368 We are sending mail with results at report@fotonower.com args[1340636365] : ('0.07160753824558574',) no score found for photo 1340636365 We are sending mail with results at report@fotonower.com args[1340636363] : ('0.07160753824558574',) no score found for photo 1340636363 We are sending mail with results at report@fotonower.com args[1340636318] : ('0.07160753824558574',) no score found for photo 1340636318 We are sending mail with results at report@fotonower.com args[1340636315] : ('0.07160753824558574',) no score found for photo 1340636315 We are sending mail with results at report@fotonower.com args[1340636307] : ('0.07160753824558574',) no score found for photo 1340636307 We are sending mail with results at report@fotonower.com args[1340636296] : ('0.07160753824558574',) no score found for photo 1340636296 We are sending mail with results at report@fotonower.com args[1340636239] : ('0.07160753824558574',) no score found for photo 1340636239 We are sending mail with results at report@fotonower.com args[1340636233] : ('0.07160753824558574',) no score found for photo 1340636233 We are sending mail with results at report@fotonower.com args[1340636220] : ('0.07160753824558574',) no score found for photo 1340636220 We are sending mail with results at report@fotonower.com args[1340636212] : ('0.07160753824558574',) no score found for photo 1340636212 We are sending mail with results at report@fotonower.com args[1340636210] : ('0.07160753824558574',) no score found for photo 1340636210 We are sending mail with results at report@fotonower.com args[1340636201] : ('0.07160753824558574',) no score found for photo 1340636201 We are sending mail with results at report@fotonower.com args[1340636045] : ('0.07160753824558574',) no score found for photo 1340636045 We are sending mail with results at report@fotonower.com args[1340636018] : ('0.07160753824558574',) no score found for photo 1340636018 We are sending mail with results at report@fotonower.com args[1340636016] : ('0.07160753824558574',) no score found for photo 1340636016 We are sending mail with results at report@fotonower.com args[1340636009] : ('0.07160753824558574',) no score found for photo 1340636009 We are sending mail with results at report@fotonower.com args[1340635561] : ('0.07160753824558574',) no score found for photo 1340635561 We are sending mail with results at report@fotonower.com args[1340635551] : ('0.07160753824558574',) no score found for photo 1340635551 We are sending mail with results at report@fotonower.com refus_total : 0.07160753824558574 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=20980311 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_P20980311_04-03-2025_05_52_02.pdf results_Auto_P20980311_04-03-2025_05_52_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_04-03-2025_05_52_02.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','20980311','results_Auto_P20980311_04-03-2025_05_52_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_04-03-2025_05_52_02.pdf','pdf','','0.5','0.07160753824558574') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20980311]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] map_info['map_portfolio_photo'] : {20980311: [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551]} final : False mtd_id 4302 list_pids : [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] 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, '2631323') ('4302', '20980311', '1340637316', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636792', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636736', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636730', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636722', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636675', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636672', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636669', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636668', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636637', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636632', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636630', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636629', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636525', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636505', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636434', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636428', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636426', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636382', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636376', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636371', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636368', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636365', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636363', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636318', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636315', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636307', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636296', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636239', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636233', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636220', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636212', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636210', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636201', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636045', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636018', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636016', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636009', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635561', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635551', None, None, None, None, None, '2631323') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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', '20980311', '1340637316', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636792', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636736', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636730', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636722', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636675', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636672', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636669', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636668', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636637', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636632', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636630', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636629', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636525', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636505', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636434', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636428', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636426', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636382', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636376', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636371', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636368', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636365', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636363', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636318', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636315', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636307', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636296', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636239', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636233', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636220', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636212', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636210', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636201', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636045', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636018', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636016', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636009', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340635561', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340635551', None, None, None, None, None, '2631323')] time used for this insertion : 0.02518153190612793 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.480772495269775 time spend to save output : 0.025513410568237305 total time spend for step 4 : 13.506285905838013 step5:split_time_score Tue Mar 4 05:52:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['20980311'] 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 : [('20980311',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20980311) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340636730: {'path': 'temp/1741063920_1958238_1340636730_b4ad790d67c7d6d1940eeab340976e6e.jpg', 'extension': 'jpg'}, 1340636736: {'path': 'temp/1741063920_1958238_1340636736_e8d9966f31211fc6c77119c056dfcdea.jpg', 'extension': 'jpg'}, 1340636792: {'path': 'temp/1741063920_1958238_1340636792_b4dd5302f7d0b4bbff1e75b97b906276.jpg', 'extension': 'jpg'}, 1340637316: {'path': 'temp/1741063920_1958238_1340637316_ac8b077aacebe9ab4bbca53b924ab5b6.jpg', 'extension': 'jpg'}, 1340635551: {'path': 'temp/1741063920_1958238_1340635551_12326ca670ebc26989d636ef115a56b8.jpg', 'extension': 'jpg'}, 1340635561: {'path': 'temp/1741063920_1958238_1340635561_ffedd1dbcbd54ef7ae8a833c145b8a85.jpg', 'extension': 'jpg'}, 1340636009: {'path': 'temp/1741063920_1958238_1340636009_2d68b24a532f8c7bbb894815c1481ce0.jpg', 'extension': 'jpg'}, 1340636016: {'path': 'temp/1741063920_1958238_1340636016_fd4ddf8368054f69dc0cd27b7380b089.jpg', 'extension': 'jpg'}, 1340636018: {'path': 'temp/1741063920_1958238_1340636018_87ef920d3a83158580f159e3a7929472.jpg', 'extension': 'jpg'}, 1340636045: {'path': 'temp/1741063920_1958238_1340636045_a505f04f355666abaf7e23f90c52fc49.jpg', 'extension': 'jpg'}, 1340636201: {'path': 'temp/1741063920_1958238_1340636201_5637f1b8299a78622e597175c7e8ee47.jpg', 'extension': 'jpg'}, 1340636210: {'path': 'temp/1741063920_1958238_1340636210_f317616fec3ad96fafee03be64e1de01.jpg', 'extension': 'jpg'}, 1340636212: {'path': 'temp/1741063920_1958238_1340636212_d0828552a0c65116f7a59d498c4b4d4f.jpg', 'extension': 'jpg'}, 1340636629: {'path': 'temp/1741063920_1958238_1340636629_973f3eef3811e76fb50c856c13fe3532.jpg', 'extension': 'jpg'}, 1340636630: {'path': 'temp/1741063920_1958238_1340636630_a814254984d533c2ab9359a53d2943e2.jpg', 'extension': 'jpg'}, 1340636632: {'path': 'temp/1741063920_1958238_1340636632_e1f9c7c10227ae8570846e124ab1334d.jpg', 'extension': 'jpg'}, 1340636637: {'path': 'temp/1741063920_1958238_1340636637_22159aa8de5cd700b63b5a7a928993f0.jpg', 'extension': 'jpg'}, 1340636668: {'path': 'temp/1741063920_1958238_1340636668_49ec190dd381db51c66c15aae1458695.jpg', 'extension': 'jpg'}, 1340636669: {'path': 'temp/1741063920_1958238_1340636669_18d23bb97beef9d9e94e36a994320956.jpg', 'extension': 'jpg'}, 1340636672: {'path': 'temp/1741063920_1958238_1340636672_37e9ba5a9a70148bb5850c66d39f6802.jpg', 'extension': 'jpg'}, 1340636675: {'path': 'temp/1741063920_1958238_1340636675_a263f717c30c6de1ef1d72b7a0b14f03.jpg', 'extension': 'jpg'}, 1340636722: {'path': 'temp/1741063920_1958238_1340636722_a41383058d22b3544cf4a13d24b7c99d.jpg', 'extension': 'jpg'}, 1340636220: {'path': 'temp/1741063920_1958238_1340636220_0ab6d280211ba222f85c4526bba21394.jpg', 'extension': 'jpg'}, 1340636233: {'path': 'temp/1741063920_1958238_1340636233_8eb18f94f1d4cbb92654ad11894289ec.jpg', 'extension': 'jpg'}, 1340636239: {'path': 'temp/1741063920_1958238_1340636239_00a0d41d1588b86691679eae1c3fde62.jpg', 'extension': 'jpg'}, 1340636296: {'path': 'temp/1741063920_1958238_1340636296_2747cbb3d8ece6cf20d17133c9fd8162.jpg', 'extension': 'jpg'}, 1340636307: {'path': 'temp/1741063920_1958238_1340636307_ecea25095b123f5095fdb63936b8ae0d.jpg', 'extension': 'jpg'}, 1340636315: {'path': 'temp/1741063920_1958238_1340636315_4744f15ae8ac922a1f2cbb39d1ec309a.jpg', 'extension': 'jpg'}, 1340636318: {'path': 'temp/1741063920_1958238_1340636318_eb78faba6322ea36a7e9952d2335af65.jpg', 'extension': 'jpg'}, 1340636363: {'path': 'temp/1741063920_1958238_1340636363_e190a202e7c064006440372f8bacab66.jpg', 'extension': 'jpg'}, 1340636365: {'path': 'temp/1741063920_1958238_1340636365_05739068364546fb2b179c4e4d253c08.jpg', 'extension': 'jpg'}, 1340636368: {'path': 'temp/1741063920_1958238_1340636368_50061b0f2de40e6a8733bb69a811d2c3.jpg', 'extension': 'jpg'}, 1340636371: {'path': 'temp/1741063920_1958238_1340636371_e090fcb359785c4e7dc01e05099ca587.jpg', 'extension': 'jpg'}, 1340636376: {'path': 'temp/1741063920_1958238_1340636376_0c7c7e3dad4f4eed6f55b0d1f9af4e36.jpg', 'extension': 'jpg'}, 1340636382: {'path': 'temp/1741063920_1958238_1340636382_b5558900e7d14aa1004825af0ea55ab0.jpg', 'extension': 'jpg'}, 1340636426: {'path': 'temp/1741063920_1958238_1340636426_ef9d225fffac5974119d472b4b461b6b.jpg', 'extension': 'jpg'}, 1340636428: {'path': 'temp/1741063920_1958238_1340636428_f7e55a45e520a630563da84f890eae67.jpg', 'extension': 'jpg'}, 1340636434: {'path': 'temp/1741063920_1958238_1340636434_dd740bf9f75d66337fae2aabb8b04e48.jpg', 'extension': 'jpg'}, 1340636505: {'path': 'temp/1741063920_1958238_1340636505_a1c70d99df447437cbb641b0662289a8.jpg', 'extension': 'jpg'}, 1340636525: {'path': 'temp/1741063920_1958238_1340636525_c969c853ea0cddb73e568056982aca6b.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 = 20980311; (('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 = 20980311 group by h (('15', 40),) 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=20980311 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 (20980311) 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 (20980311) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03032025 20980311 Nombre de photos uploadées : 40 / 23040 (0%) 03032025 20980311 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 03032025 20980311 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1340635561, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/ffedd1dbcbd54ef7ae8a833c145b8a85.jpg', 'username': None, 'uploaded_at': 1741011439, 'text': 'image_03032025_15_16_24_010138m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1340635551, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/12326ca670ebc26989d636ef115a56b8.jpg', 'username': None, 'uploaded_at': 1741011439, 'text': 'image_03032025_15_16_44_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340636045, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/a505f04f355666abaf7e23f90c52fc49.jpg', 'username': None, 'uploaded_at': 1741011499, 'text': 'image_03032025_15_16_54_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340636018, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/3/87ef920d3a83158580f159e3a7929472.jpg', 'username': None, 'uploaded_at': 1741011499, 'text': 'image_03032025_15_17_04_010147m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019989013671875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20980311, '2025-03-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1634063,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023866891860961914 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= 1634063 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20960307, 'dashboard_result_id': 9186121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960307_04-03-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960321, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20960513, 'dashboard_result_id': 9186122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960513_04-03-2025_05_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960527, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20960900, 'dashboard_result_id': 9186123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960900_04-03-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960913, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20961064, 'dashboard_result_id': 9186124, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961064_04-03-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20961066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961077, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20961514, 'dashboard_result_id': 9186125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961514_04-03-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961529, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20961943, 'dashboard_result_id': 9186126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961943_04-03-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20961946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961957, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20962435, 'dashboard_result_id': 9186127, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962435_04-03-2025_05_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20962438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962449, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20962794, 'dashboard_result_id': 9186128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962794_04-03-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20962830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962835, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20963307, 'dashboard_result_id': 9186129, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963307_04-03-2025_05_38_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20963344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963346, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20963628, 'dashboard_result_id': 9186130, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963628_04-03-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20963684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963695, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20964476, 'dashboard_result_id': 9186131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20964476_04-03-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20964482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20964483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20964484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20964485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20964486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20964487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20964488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20964489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20964490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20964491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20964492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20964493, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20965022, 'dashboard_result_id': 9186132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965022_04-03-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20965035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965038, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20965512, 'dashboard_result_id': 9186133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965512_04-03-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20965541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965552, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20966655, 'dashboard_result_id': 9186134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966655_04-03-2025_05_41_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20966660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20966665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966671, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20966718, 'dashboard_result_id': 9186135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966718_04-03-2025_05_41_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20966750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20966752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966761, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20967368, 'dashboard_result_id': 9186136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967407, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20967705, 'dashboard_result_id': 9186137, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967705_04-03-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967737, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20968187, 'dashboard_result_id': 9186138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968187_04-03-2025_05_42_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968207, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20968779, 'dashboard_result_id': 9186139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968779_04-03-2025_05_43_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968801, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20969496, 'dashboard_result_id': 9186140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20969496_04-03-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20969550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20969551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20969552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20969553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20969554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20969555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20969556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20969557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20969558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20969559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20969560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20969561, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20970176, 'dashboard_result_id': 9186141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970176_04-03-2025_05_44_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20970255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970261, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20970772, 'dashboard_result_id': 9186142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970772_04-03-2025_05_44_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20970823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970834, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20971287, 'dashboard_result_id': 9186143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971287_04-03-2025_05_45_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971369, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20971841, 'dashboard_result_id': 9186144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971841_04-03-2025_05_45_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971861, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20972467, 'dashboard_result_id': 9186145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20972467_04-03-2025_05_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20972563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20972564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20972565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20972566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20972567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20972568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20972569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20972570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20972571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20972572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20972573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20972574, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20973314, 'dashboard_result_id': 9186146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20973314_04-03-2025_05_46_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20973320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20973321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20973322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20973323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20973324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20973325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20973326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20973327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20973328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20973329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20973330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20973331, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20974054, 'dashboard_result_id': 9186147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974054_04-03-2025_05_47_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974096, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20974829, 'dashboard_result_id': 9186148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974829_04-03-2025_05_47_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974845, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20976058, 'dashboard_result_id': 9186149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976058_04-03-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976070, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20976515, 'dashboard_result_id': 9186150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976515_04-03-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976530, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20976807, 'dashboard_result_id': 9186151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976807_04-03-2025_05_49_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20976810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976821, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20977087, 'dashboard_result_id': 9186152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977087_04-03-2025_05_49_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977100, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20977626, 'dashboard_result_id': 9186153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977626_04-03-2025_05_49_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977640, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20978006, 'dashboard_result_id': 9186154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978006_04-03-2025_05_50_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20978010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978019, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20978650, 'dashboard_result_id': 9186155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978650_04-03-2025_05_50_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20978653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978664, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20979220, 'dashboard_result_id': 9186156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979220_04-03-2025_05_51_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979269, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20979676, 'dashboard_result_id': 9186157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979676_04-03-2025_05_51_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979714, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20980311, 'dashboard_result_id': 9186158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_03-03-2025_15_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980386, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20980858, 'dashboard_result_id': 9186159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980858_03-03-2025_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980872, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20981321, 'dashboard_result_id': 9186160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981321_03-03-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20981351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20981355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20981358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981362, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20981988, 'dashboard_result_id': 9186161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981988_03-03-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982002, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20982201, 'dashboard_result_id': 9186162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20982201_03-03-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20982251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20982254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20982255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20982256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20982257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20982259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20982260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20982261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20982262, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20983052, 'dashboard_result_id': 9186163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983052_03-03-2025_16_48_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983114, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20983803, 'dashboard_result_id': 9186164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983803_03-03-2025_17_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983817, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20984411, 'dashboard_result_id': 9186165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984411_03-03-2025_17_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984425, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20984700, 'dashboard_result_id': 9186166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984700_03-03-2025_18_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984790, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20986044, 'dashboard_result_id': 9186167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986044_03-03-2025_18_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986058, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20986474, 'dashboard_result_id': 9186168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986474_03-03-2025_18_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986487, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20987003, 'dashboard_result_id': 9186169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987003_03-03-2025_18_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20987006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987017, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20987472, 'dashboard_result_id': 9186170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987472_03-03-2025_19_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20987520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987527, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20988119, 'dashboard_result_id': 9186171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988119_03-03-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988193, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20988613, 'dashboard_result_id': 9186172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988613_03-03-2025_19_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988627, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20989064, 'dashboard_result_id': 9186173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989064_03-03-2025_19_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989078, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20989548, 'dashboard_result_id': 9186174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989548_03-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989589, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20990317, 'dashboard_result_id': 9186175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990317_03-03-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990354, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20990909, 'dashboard_result_id': 9186176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990909_03-03-2025_20_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990952, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20991546, 'dashboard_result_id': 9186177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20991546_03-03-2025_21_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20991576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20991577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20991578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20991579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20991580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20991581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20991582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20991583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20991584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20991585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20991586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20991587, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20992705, 'dashboard_result_id': 9186178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20992705_03-03-2025_21_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20992749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20992750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20992751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20992752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20992753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20992754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20992755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20992756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20992757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20992758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20992759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20992760, 'pht': 3726}}"}, {'dashboat_entry_day': 1634063, 'dashboard_run_id': 1644248, 'mtr_portfolio_id': 20994599, 'dashboard_result_id': 9186179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20994599_03-03-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20994600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20994601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20994602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20994603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20994604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20994605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20994606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20994607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20994608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20994609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20994610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20994611, '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 = 20960307 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631286, 'mtr_portfolio_id': 20960307, 'created_at': datetime.datetime(2025, 3, 4, 5, 34, 29), 'result': '0.1163034158505194', 'result_long': None, 'result_double': None}] Qualite : 0.1163034158505194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20960307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960307_04-03-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20960307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960307_04-03-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960321, 'pht': 3726}}" where mtr_portfolio_id = 20960307 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20960307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186121, 0.1163034158505194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960307_04-03-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960321, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20960513 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631287, 'mtr_portfolio_id': 20960513, 'created_at': datetime.datetime(2025, 3, 4, 5, 34, 57), 'result': '0.08153974591842779', 'result_long': None, 'result_double': None}] Qualite : 0.08153974591842779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20960513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960513_04-03-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20960513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960513_04-03-2025_05_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960527, 'pht': 3726}}" where mtr_portfolio_id = 20960513 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20960513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186122, 0.08153974591842779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960513_04-03-2025_05_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960527, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20960900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631288, 'mtr_portfolio_id': 20960900, 'created_at': datetime.datetime(2025, 3, 4, 5, 35, 31), 'result': '0.07381680189922486', 'result_long': None, 'result_double': None}] Qualite : 0.07381680189922486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20960900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960900_04-03-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20960900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960900_04-03-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960913, 'pht': 3726}}" where mtr_portfolio_id = 20960900 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20960900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186123, 0.07381680189922486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20960900_04-03-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20960902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20960903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20960904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20960905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20960906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20960907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20960908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20960909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20960910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20960911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20960912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20960913, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20961064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631289, 'mtr_portfolio_id': 20961064, 'created_at': datetime.datetime(2025, 3, 4, 5, 35, 59), 'result': '0.07215973176065404', 'result_long': None, 'result_double': None}] Qualite : 0.07215973176065404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20961064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961064_04-03-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20961064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961064_04-03-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20961066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961077, 'pht': 3726}}" where mtr_portfolio_id = 20961064 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20961064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186124, 0.07215973176065404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961064_04-03-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20961066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961077, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20961514 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631290, 'mtr_portfolio_id': 20961514, 'created_at': datetime.datetime(2025, 3, 4, 5, 36, 31), 'result': '0.0816818000526756', 'result_long': None, 'result_double': None}] Qualite : 0.0816818000526756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20961514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961514_04-03-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20961514 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961514_04-03-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961529, 'pht': 3726}}" where mtr_portfolio_id = 20961514 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20961514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186125, 0.0816818000526756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961514_04-03-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20961519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961529, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20961943 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631291, 'mtr_portfolio_id': 20961943, 'created_at': datetime.datetime(2025, 3, 4, 5, 36, 59), 'result': '0.08840179536738452', 'result_long': None, 'result_double': None}] Qualite : 0.08840179536738452 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20961943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961943_04-03-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20961943 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961943_04-03-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20961946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961957, 'pht': 3726}}" where mtr_portfolio_id = 20961943 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20961943 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186126, 0.08840179536738452, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20961943_04-03-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20961946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20961947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20961948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20961949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20961950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20961951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20961952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20961953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20961954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20961955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20961956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20961957, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20962435 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631292, 'mtr_portfolio_id': 20962435, 'created_at': datetime.datetime(2025, 3, 4, 5, 37, 27), 'result': '0.07660343788203557', 'result_long': None, 'result_double': None}] Qualite : 0.07660343788203557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20962435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962435_04-03-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20962435 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962435_04-03-2025_05_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20962438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962449, 'pht': 3726}}" where mtr_portfolio_id = 20962435 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20962435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186127, 0.07660343788203557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962435_04-03-2025_05_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20962438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962449, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20962794 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631293, 'mtr_portfolio_id': 20962794, 'created_at': datetime.datetime(2025, 3, 4, 5, 37, 58), 'result': '0.08708295848006047', 'result_long': None, 'result_double': None}] Qualite : 0.08708295848006047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20962794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962794_04-03-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20962794 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962794_04-03-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20962830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962835, 'pht': 3726}}" where mtr_portfolio_id = 20962794 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20962794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186128, 0.08708295848006047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20962794_04-03-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20962824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20962825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20962826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20962827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20962828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20962829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20962830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20962831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20962832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20962833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20962834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20962835, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20963307 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631294, 'mtr_portfolio_id': 20963307, 'created_at': datetime.datetime(2025, 3, 4, 5, 38, 32), 'result': '0.08092415509780898', 'result_long': None, 'result_double': None}] Qualite : 0.08092415509780898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20963307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963307_04-03-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20963307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963307_04-03-2025_05_38_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20963344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963346, 'pht': 3726}}" where mtr_portfolio_id = 20963307 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20963307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186129, 0.08092415509780898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963307_04-03-2025_05_38_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20963344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963346, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20963628 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631295, 'mtr_portfolio_id': 20963628, 'created_at': datetime.datetime(2025, 3, 4, 5, 39), 'result': '0.08669765234764532', 'result_long': None, 'result_double': None}] Qualite : 0.08669765234764532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20963628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963628_04-03-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20963628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963628_04-03-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20963684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963695, 'pht': 3726}}" where mtr_portfolio_id = 20963628 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20963628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186130, 0.08669765234764532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20963628_04-03-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20963684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20963685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20963686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20963687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20963688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20963689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20963690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20963691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20963692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20963693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20963694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20963695, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20964476 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631296, 'mtr_portfolio_id': 20964476, 'created_at': datetime.datetime(2025, 3, 4, 5, 39, 27), 'result': '0.09725782459529653', 'result_long': None, 'result_double': None}] Qualite : 0.09725782459529653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20964476 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20964476_04-03-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20964476 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20964476_04-03-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20964482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20964483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20964484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20964485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20964486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20964487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20964488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20964489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20964490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20964491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20964492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20964493, 'pht': 3726}}" where mtr_portfolio_id = 20964476 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20964476 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186131, 0.09725782459529653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20964476_04-03-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20964482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20964483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20964484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20964485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20964486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20964487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20964488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20964489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20964490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20964491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20964492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20964493, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20965022 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631297, 'mtr_portfolio_id': 20965022, 'created_at': datetime.datetime(2025, 3, 4, 5, 39, 58), 'result': '0.08315383990250402', 'result_long': None, 'result_double': None}] Qualite : 0.08315383990250402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20965022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965022_04-03-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20965022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965022_04-03-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20965035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965038, 'pht': 3726}}" where mtr_portfolio_id = 20965022 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20965022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186132, 0.08315383990250402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965022_04-03-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20965035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20965512 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631298, 'mtr_portfolio_id': 20965512, 'created_at': datetime.datetime(2025, 3, 4, 5, 40, 30), 'result': '0.08166918423609694', 'result_long': None, 'result_double': None}] Qualite : 0.08166918423609694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20965512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965512_04-03-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20965512 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965512_04-03-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20965541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965552, 'pht': 3726}}" where mtr_portfolio_id = 20965512 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20965512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186133, 0.08166918423609694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20965512_04-03-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20965541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20965542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20965543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20965544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20965545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20965546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20965547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20965548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20965549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20965550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20965551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20965552, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20966655 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631299, 'mtr_portfolio_id': 20966655, 'created_at': datetime.datetime(2025, 3, 4, 5, 41, 3), 'result': '0.09270298721785211', 'result_long': None, 'result_double': None}] Qualite : 0.09270298721785211 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20966655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966655_04-03-2025_05_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20966655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966655_04-03-2025_05_41_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20966660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20966665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966671, 'pht': 3726}}" where mtr_portfolio_id = 20966655 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20966655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186134, 0.09270298721785211, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966655_04-03-2025_05_41_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20966660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20966665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966671, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20966718 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631300, 'mtr_portfolio_id': 20966718, 'created_at': datetime.datetime(2025, 3, 4, 5, 41, 4), 'result': '0.06773426827580979', 'result_long': None, 'result_double': None}] Qualite : 0.06773426827580979 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20966718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966718_04-03-2025_05_41_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20966718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966718_04-03-2025_05_41_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20966750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20966752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966761, 'pht': 3726}}" where mtr_portfolio_id = 20966718 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20966718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186135, 0.06773426827580979, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20966718_04-03-2025_05_41_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20966750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20966751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20966752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20966753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20966754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20966755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20966756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20966757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20966758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20966759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20966760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20966761, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20967368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631301, 'mtr_portfolio_id': 20967368, 'created_at': datetime.datetime(2025, 3, 4, 5, 41, 29), 'result': '0.0660201896614592', 'result_long': None, 'result_double': None}] Qualite : 0.0660201896614592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20967368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20967368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967407, 'pht': 3726}}" where mtr_portfolio_id = 20967368 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20967368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186136, 0.0660201896614592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967368_04-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20967705 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631302, 'mtr_portfolio_id': 20967705, 'created_at': datetime.datetime(2025, 3, 4, 5, 41, 58), 'result': '0.07811695638153038', 'result_long': None, 'result_double': None}] Qualite : 0.07811695638153038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20967705 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967705_04-03-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20967705 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967705_04-03-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967737, 'pht': 3726}}" where mtr_portfolio_id = 20967705 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20967705 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186137, 0.07811695638153038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20967705_04-03-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20967726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20967727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20967728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20967729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20967730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20967731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20967732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20967733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20967734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20967735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20967736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20967737, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20968187 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631303, 'mtr_portfolio_id': 20968187, 'created_at': datetime.datetime(2025, 3, 4, 5, 42, 28), 'result': '0.06696005015778153', 'result_long': None, 'result_double': None}] Qualite : 0.06696005015778153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20968187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968187_04-03-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20968187 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968187_04-03-2025_05_42_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968207, 'pht': 3726}}" where mtr_portfolio_id = 20968187 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20968187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186138, 0.06696005015778153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968187_04-03-2025_05_42_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20968779 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631304, 'mtr_portfolio_id': 20968779, 'created_at': datetime.datetime(2025, 3, 4, 5, 42, 58), 'result': '0.07982888269048145', 'result_long': None, 'result_double': None}] Qualite : 0.07982888269048145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20968779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968779_04-03-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20968779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968779_04-03-2025_05_43_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968801, 'pht': 3726}}" where mtr_portfolio_id = 20968779 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20968779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186139, 0.07982888269048145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20968779_04-03-2025_05_43_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20968790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20968791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20968792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20968793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20968794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20968795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20968796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20968797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20968798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20968799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20968800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20968801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20969496 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631305, 'mtr_portfolio_id': 20969496, 'created_at': datetime.datetime(2025, 3, 4, 5, 43, 29), 'result': '0.07538249109256301', 'result_long': None, 'result_double': None}] Qualite : 0.07538249109256301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20969496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20969496_04-03-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20969496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20969496_04-03-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20969550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20969551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20969552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20969553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20969554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20969555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20969556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20969557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20969558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20969559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20969560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20969561, 'pht': 3726}}" where mtr_portfolio_id = 20969496 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20969496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186140, 0.07538249109256301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20969496_04-03-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20969550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20969551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20969552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20969553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20969554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20969555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20969556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20969557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20969558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20969559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20969560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20969561, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20970176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631306, 'mtr_portfolio_id': 20970176, 'created_at': datetime.datetime(2025, 3, 4, 5, 43, 58), 'result': '0.06355736883199822', 'result_long': None, 'result_double': None}] Qualite : 0.06355736883199822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20970176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970176_04-03-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20970176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970176_04-03-2025_05_44_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20970255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970261, 'pht': 3726}}" where mtr_portfolio_id = 20970176 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20970176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186141, 0.06355736883199822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970176_04-03-2025_05_44_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20970255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970261, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20970772 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631307, 'mtr_portfolio_id': 20970772, 'created_at': datetime.datetime(2025, 3, 4, 5, 44, 33), 'result': '0.0950059820956808', 'result_long': None, 'result_double': None}] Qualite : 0.0950059820956808 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20970772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970772_04-03-2025_05_44_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20970772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970772_04-03-2025_05_44_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20970823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970834, 'pht': 3726}}" where mtr_portfolio_id = 20970772 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20970772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186142, 0.0950059820956808, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20970772_04-03-2025_05_44_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20970823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20970824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20970825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20970826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20970827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20970828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20970829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20970830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20970831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20970832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20970833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20970834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20971287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631308, 'mtr_portfolio_id': 20971287, 'created_at': datetime.datetime(2025, 3, 4, 5, 45, 2), 'result': '0.0868529628914834', 'result_long': None, 'result_double': None}] Qualite : 0.0868529628914834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20971287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971287_04-03-2025_05_45_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971287_04-03-2025_05_45_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971369, 'pht': 3726}}" where mtr_portfolio_id = 20971287 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20971287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186143, 0.0868529628914834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971287_04-03-2025_05_45_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20971841 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631309, 'mtr_portfolio_id': 20971841, 'created_at': datetime.datetime(2025, 3, 4, 5, 45, 29), 'result': '0.08118735384050225', 'result_long': None, 'result_double': None}] Qualite : 0.08118735384050225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20971841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971841_04-03-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971841_04-03-2025_05_45_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971861, 'pht': 3726}}" where mtr_portfolio_id = 20971841 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20971841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186144, 0.08118735384050225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20971841_04-03-2025_05_45_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20971850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20971851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20971852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20971853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20971854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20971855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20971856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20971857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20971858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20971859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20971860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20971861, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20972467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631310, 'mtr_portfolio_id': 20972467, 'created_at': datetime.datetime(2025, 3, 4, 5, 45, 58), 'result': '0.09176093448435797', 'result_long': None, 'result_double': None}] Qualite : 0.09176093448435797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20972467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20972467_04-03-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20972467 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20972467_04-03-2025_05_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20972563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20972564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20972565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20972566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20972567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20972568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20972569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20972570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20972571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20972572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20972573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20972574, 'pht': 3726}}" where mtr_portfolio_id = 20972467 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20972467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186145, 0.09176093448435797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20972467_04-03-2025_05_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20972563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20972564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20972565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20972566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20972567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20972568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20972569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20972570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20972571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20972572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20972573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20972574, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20973314 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631311, 'mtr_portfolio_id': 20973314, 'created_at': datetime.datetime(2025, 3, 4, 5, 46, 29), 'result': '0.07425754103983041', 'result_long': None, 'result_double': None}] Qualite : 0.07425754103983041 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20973314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20973314_04-03-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20973314 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20973314_04-03-2025_05_46_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20973320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20973321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20973322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20973323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20973324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20973325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20973326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20973327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20973328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20973329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20973330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20973331, 'pht': 3726}}" where mtr_portfolio_id = 20973314 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20973314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186146, 0.07425754103983041, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20973314_04-03-2025_05_46_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20973320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20973321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20973322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20973323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20973324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20973325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20973326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20973327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20973328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20973329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20973330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20973331, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20974054 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631312, 'mtr_portfolio_id': 20974054, 'created_at': datetime.datetime(2025, 3, 4, 5, 47), 'result': '0.08040505906926841', 'result_long': None, 'result_double': None}] Qualite : 0.08040505906926841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20974054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974054_04-03-2025_05_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20974054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974054_04-03-2025_05_47_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974096, 'pht': 3726}}" where mtr_portfolio_id = 20974054 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20974054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186147, 0.08040505906926841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974054_04-03-2025_05_47_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20974829 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631313, 'mtr_portfolio_id': 20974829, 'created_at': datetime.datetime(2025, 3, 4, 5, 47, 33), 'result': '0.07911300923739897', 'result_long': None, 'result_double': None}] Qualite : 0.07911300923739897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20974829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974829_04-03-2025_05_47_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20974829 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974829_04-03-2025_05_47_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974845, 'pht': 3726}}" where mtr_portfolio_id = 20974829 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20974829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186148, 0.07911300923739897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20974829_04-03-2025_05_47_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20974834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20974835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20974836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20974838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20974839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20974840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20974841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20974842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20974843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20974844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20974845, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20976058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631314, 'mtr_portfolio_id': 20976058, 'created_at': datetime.datetime(2025, 3, 4, 5, 48), 'result': '0.07559378070931111', 'result_long': None, 'result_double': None}] Qualite : 0.07559378070931111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20976058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976058_04-03-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20976058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976058_04-03-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976070, 'pht': 3726}}" where mtr_portfolio_id = 20976058 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20976058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186149, 0.07559378070931111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976058_04-03-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976070, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20976515 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631315, 'mtr_portfolio_id': 20976515, 'created_at': datetime.datetime(2025, 3, 4, 5, 48, 30), 'result': '0.10666548793579779', 'result_long': None, 'result_double': None}] Qualite : 0.10666548793579779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20976515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976515_04-03-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20976515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976515_04-03-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976530, 'pht': 3726}}" where mtr_portfolio_id = 20976515 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20976515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186150, 0.10666548793579779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976515_04-03-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20976525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976530, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20976807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631316, 'mtr_portfolio_id': 20976807, 'created_at': datetime.datetime(2025, 3, 4, 5, 49, 2), 'result': '0.08652495257731134', 'result_long': None, 'result_double': None}] Qualite : 0.08652495257731134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20976807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976807_04-03-2025_05_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20976807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976807_04-03-2025_05_49_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20976810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976821, 'pht': 3726}}" where mtr_portfolio_id = 20976807 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20976807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186151, 0.08652495257731134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20976807_04-03-2025_05_49_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20976810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20976811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20976812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20976813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20976814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20976815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20976816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20976817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20976818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20976819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20976820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20976821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20977087 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631317, 'mtr_portfolio_id': 20977087, 'created_at': datetime.datetime(2025, 3, 4, 5, 49, 2), 'result': '0.06690798015056224', 'result_long': None, 'result_double': None}] Qualite : 0.06690798015056224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20977087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977087_04-03-2025_05_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20977087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977087_04-03-2025_05_49_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977100, 'pht': 3726}}" where mtr_portfolio_id = 20977087 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20977087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186152, 0.06690798015056224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977087_04-03-2025_05_49_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977100, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20977626 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631318, 'mtr_portfolio_id': 20977626, 'created_at': datetime.datetime(2025, 3, 4, 5, 49, 34), 'result': '0.07372093113528276', 'result_long': None, 'result_double': None}] Qualite : 0.07372093113528276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20977626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977626_04-03-2025_05_49_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20977626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977626_04-03-2025_05_49_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977640, 'pht': 3726}}" where mtr_portfolio_id = 20977626 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20977626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186153, 0.07372093113528276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20977626_04-03-2025_05_49_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20977630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20977631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20977632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20977633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20977634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20977636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20977637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20977638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20977639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20977640, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20978006 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631319, 'mtr_portfolio_id': 20978006, 'created_at': datetime.datetime(2025, 3, 4, 5, 49, 59), 'result': '0.08140561455181844', 'result_long': None, 'result_double': None}] Qualite : 0.08140561455181844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20978006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978006_04-03-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20978006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978006_04-03-2025_05_50_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20978010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978019, 'pht': 3726}}" where mtr_portfolio_id = 20978006 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20978006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186154, 0.08140561455181844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978006_04-03-2025_05_50_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20978010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978017, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978019, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20978650 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631320, 'mtr_portfolio_id': 20978650, 'created_at': datetime.datetime(2025, 3, 4, 5, 50, 29), 'result': '0.088432981814051', 'result_long': None, 'result_double': None}] Qualite : 0.088432981814051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20978650 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978650_04-03-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20978650 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978650_04-03-2025_05_50_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20978653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978664, 'pht': 3726}}" where mtr_portfolio_id = 20978650 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20978650 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186155, 0.088432981814051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20978650_04-03-2025_05_50_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20978653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20978654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20978655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20978656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20978657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20978658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20978659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20978660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20978661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20978662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20978663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20978664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20979220 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631321, 'mtr_portfolio_id': 20979220, 'created_at': datetime.datetime(2025, 3, 4, 5, 50, 59), 'result': '0.081181126782068', 'result_long': None, 'result_double': None}] Qualite : 0.081181126782068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20979220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979220_04-03-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20979220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979220_04-03-2025_05_51_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979269, 'pht': 3726}}" where mtr_portfolio_id = 20979220 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20979220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186156, 0.081181126782068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979220_04-03-2025_05_51_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20979676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631322, 'mtr_portfolio_id': 20979676, 'created_at': datetime.datetime(2025, 3, 4, 5, 51, 29), 'result': '0.08488273049793', 'result_long': None, 'result_double': None}] Qualite : 0.08488273049793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20979676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979676_04-03-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20979676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979676_04-03-2025_05_51_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979714, 'pht': 3726}}" where mtr_portfolio_id = 20979676 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20979676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186157, 0.08488273049793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20979676_04-03-2025_05_51_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20979703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20979704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20979705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20979706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20979707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20979708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20979709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20979710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20979711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20979712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20979713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20979714, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20980311 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2631323, 'mtr_portfolio_id': 20980311, 'created_at': datetime.datetime(2025, 3, 4, 5, 52), 'result': '0.07160753824558574', 'result_long': None, 'result_double': None}] Qualite : 0.07160753824558574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20980311 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_04-03-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20980311 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_04-03-2025_05_52_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980386, 'pht': 3726}}" where mtr_portfolio_id = 20980311 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20980311 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186158, 0.07160753824558574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980311_04-03-2025_05_52_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980386, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20980858 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629706, 'mtr_portfolio_id': 20980858, 'created_at': datetime.datetime(2025, 3, 3, 15, 48, 58), 'result': '0.0915386185828911', 'result_long': None, 'result_double': None}] Qualite : 0.0915386185828911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20980858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980858_03-03-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20980858 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980858_03-03-2025_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980872, 'pht': 3726}}" where mtr_portfolio_id = 20980858 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20980858 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186159, 0.0915386185828911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20980858_03-03-2025_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20980861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20980862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20980863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20980864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20980865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20980866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20980867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20980868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20980869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20980870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20980871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20980872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20981321 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629742, 'mtr_portfolio_id': 20981321, 'created_at': datetime.datetime(2025, 3, 3, 16, 2, 58), 'result': '0.08870205105641564', 'result_long': None, 'result_double': None}] Qualite : 0.08870205105641564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20981321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981321_03-03-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20981321 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981321_03-03-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20981351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20981355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20981358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981362, 'pht': 3726}}" where mtr_portfolio_id = 20981321 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20981321 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186160, 0.08870205105641564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981321_03-03-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20981351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20981355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20981358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20981988 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629801, 'mtr_portfolio_id': 20981988, 'created_at': datetime.datetime(2025, 3, 3, 16, 19), 'result': '0.09634269055842802', 'result_long': None, 'result_double': None}] Qualite : 0.09634269055842802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20981988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981988_03-03-2025_16_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20981988 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981988_03-03-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982002, 'pht': 3726}}" where mtr_portfolio_id = 20981988 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20981988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186161, 0.09634269055842802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20981988_03-03-2025_16_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20981991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20981992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20981993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20981994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20981995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20981996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20981997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20981998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20981999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20982201 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629822, 'mtr_portfolio_id': 20982201, 'created_at': datetime.datetime(2025, 3, 3, 16, 32, 58), 'result': '0.07702628148387156', 'result_long': None, 'result_double': None}] Qualite : 0.07702628148387156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20982201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20982201_03-03-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20982201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20982201_03-03-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20982251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20982254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20982255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20982256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20982257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20982259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20982260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20982261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20982262, 'pht': 3726}}" where mtr_portfolio_id = 20982201 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20982201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186162, 0.07702628148387156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20982201_03-03-2025_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20982251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20982252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20982253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20982254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20982255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20982256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20982257, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20982258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20982259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20982260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20982261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20982262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20983052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629864, 'mtr_portfolio_id': 20983052, 'created_at': datetime.datetime(2025, 3, 3, 16, 48, 28), 'result': '0.08338843090317972', 'result_long': None, 'result_double': None}] Qualite : 0.08338843090317972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20983052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983052_03-03-2025_16_48_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20983052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983052_03-03-2025_16_48_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983114, 'pht': 3726}}" where mtr_portfolio_id = 20983052 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20983052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186163, 0.08338843090317972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983052_03-03-2025_16_48_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983106, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983114, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20983803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629902, 'mtr_portfolio_id': 20983803, 'created_at': datetime.datetime(2025, 3, 3, 17, 3), 'result': '0.07000998584327799', 'result_long': None, 'result_double': None}] Qualite : 0.07000998584327799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20983803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983803_03-03-2025_17_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20983803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983803_03-03-2025_17_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983817, 'pht': 3726}}" where mtr_portfolio_id = 20983803 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20983803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186164, 0.07000998584327799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20983803_03-03-2025_17_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20983806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20983807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20983808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20983809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20983810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20983811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20983812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20983813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20983814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20983815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20983816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20983817, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20984411 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629962, 'mtr_portfolio_id': 20984411, 'created_at': datetime.datetime(2025, 3, 3, 17, 18, 58), 'result': '0.08428888685402029', 'result_long': None, 'result_double': None}] Qualite : 0.08428888685402029 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20984411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984411_03-03-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20984411 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984411_03-03-2025_17_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984425, 'pht': 3726}}" where mtr_portfolio_id = 20984411 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20984411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186165, 0.08428888685402029, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984411_03-03-2025_17_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20984700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2629989, 'mtr_portfolio_id': 20984700, 'created_at': datetime.datetime(2025, 3, 3, 18, 3), 'result': '0.07436729197493754', 'result_long': None, 'result_double': None}] Qualite : 0.07436729197493754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20984700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984700_03-03-2025_18_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20984700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984700_03-03-2025_18_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984790, 'pht': 3726}}" where mtr_portfolio_id = 20984700 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20984700 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186166, 0.07436729197493754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20984700_03-03-2025_18_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20984779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20984780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20984781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20984782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20984783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20984784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20984785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20984786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20984787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20984788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20984789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20984790, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20986044 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630102, 'mtr_portfolio_id': 20986044, 'created_at': datetime.datetime(2025, 3, 3, 18, 18, 58), 'result': '0.11375549327867752', 'result_long': None, 'result_double': None}] Qualite : 0.11375549327867752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20986044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986044_03-03-2025_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20986044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986044_03-03-2025_18_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986058, 'pht': 3726}}" where mtr_portfolio_id = 20986044 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20986044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186167, 0.11375549327867752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986044_03-03-2025_18_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986058, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20986474 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630133, 'mtr_portfolio_id': 20986474, 'created_at': datetime.datetime(2025, 3, 3, 18, 32, 57), 'result': '0.10235095238348706', 'result_long': None, 'result_double': None}] Qualite : 0.10235095238348706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20986474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986474_03-03-2025_18_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20986474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986474_03-03-2025_18_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986487, 'pht': 3726}}" where mtr_portfolio_id = 20986474 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20986474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186168, 0.10235095238348706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20986474_03-03-2025_18_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20986476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20986477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20986478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20986479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20986480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20986481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20986482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20986483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20986484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20986485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20986486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20986487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20987003 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630175, 'mtr_portfolio_id': 20987003, 'created_at': datetime.datetime(2025, 3, 3, 18, 48, 57), 'result': '0.06581388734402092', 'result_long': None, 'result_double': None}] Qualite : 0.06581388734402092 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20987003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987003_03-03-2025_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20987003 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987003_03-03-2025_18_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20987006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987017, 'pht': 3726}}" where mtr_portfolio_id = 20987003 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20987003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186169, 0.06581388734402092, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987003_03-03-2025_18_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20987006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987017, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20987472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630206, 'mtr_portfolio_id': 20987472, 'created_at': datetime.datetime(2025, 3, 3, 19, 3), 'result': '0.09470820648957376', 'result_long': None, 'result_double': None}] Qualite : 0.09470820648957376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20987472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987472_03-03-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20987472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987472_03-03-2025_19_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20987520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987527, 'pht': 3726}}" where mtr_portfolio_id = 20987472 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20987472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186170, 0.09470820648957376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20987472_03-03-2025_19_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20987516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20987517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20987518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20987519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20987520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20987521, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20987522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20987523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20987524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20987525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20987526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20987527, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20988119 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630257, 'mtr_portfolio_id': 20988119, 'created_at': datetime.datetime(2025, 3, 3, 19, 18, 58), 'result': '0.07103409973223107', 'result_long': None, 'result_double': None}] Qualite : 0.07103409973223107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20988119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988119_03-03-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20988119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988119_03-03-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988193, 'pht': 3726}}" where mtr_portfolio_id = 20988119 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20988119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186171, 0.07103409973223107, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988119_03-03-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988193, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20988613 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630288, 'mtr_portfolio_id': 20988613, 'created_at': datetime.datetime(2025, 3, 3, 19, 33), 'result': '0.07971415676808818', 'result_long': None, 'result_double': None}] Qualite : 0.07971415676808818 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20988613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988613_03-03-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20988613 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988613_03-03-2025_19_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988627, 'pht': 3726}}" where mtr_portfolio_id = 20988613 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20988613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186172, 0.07971415676808818, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20988613_03-03-2025_19_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20988616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20988617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20988618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20988619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20988620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20988621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20988622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20988623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20988624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20988625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20988626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20988627, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20989064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630331, 'mtr_portfolio_id': 20989064, 'created_at': datetime.datetime(2025, 3, 3, 19, 48, 57), 'result': '0.08738803319697101', 'result_long': None, 'result_double': None}] Qualite : 0.08738803319697101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20989064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989064_03-03-2025_19_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20989064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989064_03-03-2025_19_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989078, 'pht': 3726}}" where mtr_portfolio_id = 20989064 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20989064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186173, 0.08738803319697101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989064_03-03-2025_19_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989078, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20989548 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630367, 'mtr_portfolio_id': 20989548, 'created_at': datetime.datetime(2025, 3, 3, 20, 2, 59), 'result': '0.09049298749239297', 'result_long': None, 'result_double': None}] Qualite : 0.09049298749239297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20989548 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989548_03-03-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20989548 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989548_03-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989589, 'pht': 3726}}" where mtr_portfolio_id = 20989548 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20989548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186174, 0.09049298749239297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20989548_03-03-2025_20_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20989578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20989579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20989580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20989581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20989582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20989583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20989584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20989585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20989586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20989587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20989588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20989589, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20990317 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630415, 'mtr_portfolio_id': 20990317, 'created_at': datetime.datetime(2025, 3, 3, 20, 18, 58), 'result': '0.07164252609311128', 'result_long': None, 'result_double': None}] Qualite : 0.07164252609311128 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20990317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990317_03-03-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20990317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990317_03-03-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990354, 'pht': 3726}}" where mtr_portfolio_id = 20990317 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20990317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186175, 0.07164252609311128, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990317_03-03-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990354, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20990909 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630450, 'mtr_portfolio_id': 20990909, 'created_at': datetime.datetime(2025, 3, 3, 20, 32, 30), 'result': '0.07162443114301377', 'result_long': None, 'result_double': None}] Qualite : 0.07162443114301377 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20990909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990909_03-03-2025_20_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20990909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990909_03-03-2025_20_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990952, 'pht': 3726}}" where mtr_portfolio_id = 20990909 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20990909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186176, 0.07162443114301377, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20990909_03-03-2025_20_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20990941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20990942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20990943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20990944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20990945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20990946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20990947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20990948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20990949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20990950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20990951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20990952, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20991546 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630495, 'mtr_portfolio_id': 20991546, 'created_at': datetime.datetime(2025, 3, 3, 21, 6, 29), 'result': '0.07562956002035343', 'result_long': None, 'result_double': None}] Qualite : 0.07562956002035343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20991546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20991546_03-03-2025_21_06_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20991546 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20991546_03-03-2025_21_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20991576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20991577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20991578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20991579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20991580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20991581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20991582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20991583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20991584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20991585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20991586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20991587, 'pht': 3726}}" where mtr_portfolio_id = 20991546 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20991546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186177, 0.07562956002035343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20991546_03-03-2025_21_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20991576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20991577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20991578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20991579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20991580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20991581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20991582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20991583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20991584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20991585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20991586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20991587, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20992705 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630588, 'mtr_portfolio_id': 20992705, 'created_at': datetime.datetime(2025, 3, 3, 21, 19, 1), 'result': '0.05266484115808631', 'result_long': None, 'result_double': None}] Qualite : 0.05266484115808631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20992705 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20992705_03-03-2025_21_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20992705 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20992705_03-03-2025_21_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20992749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20992750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20992751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20992752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20992753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20992754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20992755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20992756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20992757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20992758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20992759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20992760, 'pht': 3726}}" where mtr_portfolio_id = 20992705 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20992705 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186178, 0.05266484115808631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20992705_03-03-2025_21_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20992749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20992750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20992751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20992752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20992753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20992754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20992755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20992756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20992757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20992758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20992759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20992760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20994599 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2630828, 'mtr_portfolio_id': 20994599, 'created_at': datetime.datetime(2025, 3, 3, 23, 32, 59), 'result': '0.19586530500412477', 'result_long': None, 'result_double': None}] Qualite : 0.19586530500412477 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20994599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20994599_03-03-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20994599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20994599_03-03-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20994600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20994601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20994602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20994603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20994604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20994605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20994606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20994607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20994608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20994609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20994610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20994611, 'pht': 3726}}" where mtr_portfolio_id = 20994599 and dashboard_run_id = 1644248 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20994599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9186179, 0.19586530500412477, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20994599_03-03-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20994600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20994601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20994602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20994603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20994604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20994605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20994606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20994607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20994608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20994609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20994610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20994611, '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 (20960307,20960513,20960900,20961064,20961514,20961943,20962435,20962794,20963307,20963628,20964476,20965022,20965512,20966655,20966718,20967368,20967705,20968187,20968779,20969496,20970176,20970772,20971287,20971841,20972467,20973314,20974054,20974829,20976058,20976515,20976807,20977087,20977626,20978006,20978650,20979220,20979676,20980311,20980858,20981321,20981988,20982201,20983052,20983803,20984411,20984700,20986044,20986474,20987003,20987472,20988119,20988613,20989064,20989548,20990317,20990909,20991546,20992705,20994599) result : ((1340578858,), (1340578861,), (1340578880,), (1340578882,), (1340578885,), (1340578888,), (1340578892,), (1340578895,), (1340578907,), (1340578909,), (1340578911,), (1340578930,), (1340578932,), (1340578957,), (1340578961,), (1340578967,), (1340578983,), (1340579766,), (1340579748,), (1340579750,), (1340579901,), (1340579902,), (1340579904,), (1340579905,), (1340579924,), (1340579926,), (1340579947,), (1340579949,), (1340579956,), (1340579964,), (1340579992,), (1340579994,), (1340579996,), (1340579997,), (1340580016,), (1340580018,), (1340580020,), (1340580021,), (1340580034,), (1340580039,), (1340580053,), (1340580056,), (1340580057,), (1340580058,), (1340580077,), (1340580079,), (1340580082,), (1340580120,), (1340580123,), (1340580126,), (1340580127,), (1340580130,), (1340580133,), (1340580149,), (1340580153,), (1340580154,), (1340580158,), (1340580192,), (1340580194,), (1340580196,), (1340580197,), (1340580201,), (1340580205,), (1340580218,), (1340580221,), (1340580227,), (1340580230,), (1340580254,), (1340580263,), (1340580268,), (1340580269,), (1340580273,), (1340580277,), (1340580763,), (1340580832,), (1340580906,), (1340580981,), (1340581021,), (1340581066,), (1340581068,), (1340581070,), (1340581071,), (1340581075,), (1340581079,), (1340581101,), (1340581092,), (1340581095,), (1340581380,), (1340581381,), (1340581386,), (1340581403,), (1340581404,), (1340581405,), (1340581406,), (1340581410,), (1340581416,), (1340581429,), (1340581430,), (1340581432,), (1340581433,), (1340581438,), (1340581456,), (1340581457,), (1340581459,), (1340581460,), (1340581465,), (1340581636,), (1340581625,), (1340581626,), (1340581627,), (1340581628,), (1340581633,), (1340581652,), (1340581658,), (1340581664,), (1340581693,), (1340581694,), (1340581716,), (1340581717,), (1340581724,), (1340581729,), (1340581734,), (1340581751,), (1340581752,), (1340581753,), (1340581754,), (1340581777,), (1340581778,), (1340581779,), (1340581780,), (1340581791,), (1340581797,), (1340581819,), (1340581830,), (1340581836,), (1340581838,), (1340581856,), (1340581858,), (1340581860,), (1340581862,), (1340581866,), (1340581877,), (1340581904,), (1340581906,), (1340581908,), (1340581909,), (1340581913,), (1340581932,), (1340581934,), (1340581937,), (1340581938,), (1340581942,), (1340581976,), (1340581987,), (1340581993,), (1340581994,), (1340581998,), (1340582002,), (1340582019,), (1340582021,), (1340582024,), (1340582025,), (1340582066,), (1340582070,), (1340582073,), (1340582074,), (1340582077,), (1340582079,), (1340582126,), (1340582137,), (1340582142,), (1340582147,), (1340582149,), (1340582152,), (1340582154,), (1340582155,), (1340582157,), (1340582184,), (1340582168,), (1340582172,), (1340582175,), (1340582180,), (1340582486,), (1340582511,), (1340582514,), (1340582547,), (1340582567,), (1340582571,), (1340582572,), (1340582574,), (1340582580,), (1340582586,), (1340582609,), (1340582622,), (1340582627,), (1340582629,), (1340582635,), (1340582658,), (1340582659,), (1340582661,), (1340582663,), (1340582713,), (1340582714,), (1340582717,), (1340582719,), (1340582724,), (1340582741,), (1340582744,), (1340582745,), (1340582750,), (1340582781,), (1340582794,), (1340582801,), (1340582805,), (1340582809,), (1340582813,), (1340582828,), (1340582831,), (1340582834,), (1340582839,), (1340582853,), (1340582883,), (1340582885,), (1340582887,), (1340582890,), (1340582894,), (1340582912,), (1340582914,), (1340582915,), (1340582917,), (1340582923,), (1340582954,), (1340582956,), (1340582958,), (1340582962,), (1340583004,), (1340583005,), (1340583007,), (1340583009,), (1340583014,), (1340583021,), (1340583049,), (1340583053,), (1340583055,), (1340583057,), (1340583062,), (1340583080,), (1340583081,), (1340583084,), (1340583087,), (1340583093,), (1340583097,), (1340583139,), (1340583133,), (1340583135,), (1340583138,), (1340583163,), (1340583164,), (1340583167,), (1340583169,), (1340583174,), (1340583635,), (1340583697,), (1340583699,), (1340583830,), (1340583832,), (1340583834,), (1340583836,), (1340583844,), (1340583884,), (1340583893,), (1340583894,), (1340583920,), (1340583923,), (1340583925,), (1340583930,), (1340583936,), (1340583940,), (1340583969,), (1340583972,), (1340583974,), (1340583976,), (1340583999,), (1340584000,), (1340584002,), (1340584004,), (1340584010,), (1340584016,), (1340584036,), (1340584047,), (1340584055,), (1340584057,), (1340584082,), (1340584084,), (1340584085,), (1340584087,), (1340584093,), (1340584135,), (1340584136,), (1340584139,), (1340584143,), (1340584165,), (1340584167,), (1340584168,), (1340584173,), (1340584179,), (1340584207,), (1340584208,), (1340584210,), (1340584212,), (1340584218,), (1340584224,), (1340584254,), (1340584256,), (1340584259,), (1340584261,), (1340584265,), (1340584315,), (1340584319,), (1340584325,), (1340584329,), (1340584333,), (1340584376,), (1340584348,), (1340584352,), (1340584358,), (1340584360,), (1340584365,), (1340584415,), (1340584419,), (1340584423,), (1340584437,), (1340584448,), (1340584484,), (1340584488,), (1340584504,), (1340584511,), (1340584580,), (1340584582,), (1340584587,), (1340584591,), (1340584595,), (1340584612,), (1340584615,), (1340584620,), (1340584623,), (1340584627,), (1340584660,), (1340584662,), (1340584666,), (1340584669,), (1340584695,), (1340584697,), (1340584700,), (1340584702,), (1340584707,), (1340584712,), (1340584746,), (1340584748,), (1340584751,), (1340584753,), (1340584758,), (1340584777,), (1340584781,), (1340584782,), (1340584784,), (1340584789,), (1340584793,), (1340584826,), (1340584833,), (1340584837,), (1340584839,), (1340584859,), (1340584912,), (1340584915,), (1340584918,), (1340584920,), (1340584925,), (1340584945,), (1340584948,), (1340584951,), (1340584953,), (1340584958,), (1340584963,), (1340584985,), (1340584987,), (1340584989,), (1340584991,), (1340584997,), (1340585019,), (1340585021,), (1340585025,), (1340585027,), (1340585081,), (1340585069,), (1340585071,), (1340585073,), (1340585075,), (1340585103,), (1340585106,), (1340585116,), (1340585118,), (1340585123,), (1340585176,), (1340585178,), (1340585181,), (1340585183,), (1340585188,), (1340585232,), (1340585257,), (1340585269,), (1340585274,), (1340585278,), (1340585325,), (1340585327,), (1340585330,), (1340585338,), (1340585347,), (1340585366,), (1340585368,), (1340585371,), (1340585373,), (1340585378,), (1340585413,), (1340585424,), (1340585429,), (1340585431,), (1340585436,), (1340585450,), (1340585455,), (1340585459,), (1340585465,), (1340585470,), (1340585500,), (1340585504,), (1340585506,), (1340585510,), (1340585513,), (1340585517,), (1340585533,), (1340585537,), (1340585538,), (1340585540,), (1340585545,), (1340585584,), (1340585590,), (1340585592,), (1340585594,), (1340585599,), (1340585619,), (1340585621,), (1340585624,), (1340585626,), (1340585630,), (1340585633,), (1340585689,), (1340585691,), (1340585694,), (1340585696,), (1340585753,), (1340585760,), (1340585773,), (1340585780,), (1340585783,), (1340585787,), (1340585789,), (1340585792,), (1340585796,), (1340585800,), (1340585830,), (1340585817,), (1340585821,), (1340585824,), (1340585857,), (1340585860,), (1340585865,), (1340585868,), (1340585873,), (1340585878,), (1340585897,), (1340586041,), (1340586196,), (1340586413,), (1340586422,), (1340586442,), (1340586452,), (1340586458,), (1340586463,), (1340586492,), (1340586494,), (1340586497,), (1340586499,), (1340586554,), (1340586556,), (1340586560,), (1340586563,), (1340586569,), (1340586588,), (1340586636,), (1340586640,), (1340586657,), (1340586717,), (1340586723,), (1340586729,), (1340586732,), (1340586737,), (1340586743,), (1340586769,), (1340586773,), (1340586777,), (1340586792,), (1340586799,), (1340586822,), (1340586828,), (1340586834,), (1340586839,), (1340586845,), (1340586855,), (1340586889,), (1340586892,), (1340586899,), (1340586911,), (1340586917,), (1340586922,), (1340586929,), (1340586934,), (1340586943,), (1340587045,), (1340587049,), (1340587057,), (1340587060,), (1340587061,), (1340587065,), (1340587069,), (1340587076,), (1340587159,), (1340587177,), (1340587182,), (1340587188,), (1340587194,), (1340587198,), (1340587203,), (1340587258,), (1340587286,), (1340586878,), (1340586881,), (1340586885,), (1340586957,), (1340586960,), (1340586964,), (1340586967,), (1340586969,), (1340586974,), (1340586988,), (1340586998,), (1340587010,), (1340587029,), (1340587129,), (1340587143,), (1340587147,), (1340587151,), (1340587153,), (1340587234,), (1340587242,), (1340587247,), (1340587252,), (1340587255,), (1340587305,), (1340587317,), (1340587323,), (1340587328,), (1340587332,), (1340587575,), (1340587686,), (1340587697,), (1340587702,), (1340587706,), (1340587769,), (1340587772,), (1340587776,), (1340587778,), (1340587783,), (1340587788,), (1340587838,), (1340587843,), (1340587847,), (1340587849,), (1340587901,), (1340587906,), (1340587910,), (1340587914,), (1340587919,), (1340587924,), (1340587986,), (1340587988,), (1340587993,), (1340587996,), (1340588051,), (1340588053,), (1340588058,), (1340588061,), (1340588066,), (1340588071,), (1340588110,), (1340588123,), (1340588129,), (1340588131,), (1340588136,), (1340588172,), (1340588175,), (1340588182,), (1340588185,), (1340588193,), (1340588249,), (1340588251,), (1340588259,), (1340588263,), (1340588269,), (1340588274,), (1340588321,), (1340588298,), (1340588300,), (1340588305,), (1340588308,), (1340588380,), (1340588383,), (1340588386,), (1340588388,), (1340588394,), (1340588443,), (1340588453,), (1340588457,), (1340588460,), (1340588532,), (1340588548,), (1340588560,), (1340588564,), (1340588571,), (1340588579,), (1340588629,), (1340588635,), (1340588640,), (1340588643,), (1340588708,), (1340588712,), (1340588719,), (1340588726,), (1340588741,), (1340588749,), (1340588794,), (1340588801,), (1340588812,), (1340588821,), (1340588900,), (1340588904,), (1340588909,), (1340588913,), (1340588920,), (1340588925,), (1340588956,), (1340588960,), (1340588966,), (1340588971,), (1340588977,), (1340589027,), (1340589036,), (1340589052,), (1340589059,), (1340589066,), (1340589071,), (1340589104,), (1340589108,), (1340589115,), (1340589118,), (1340589163,), (1340589170,), (1340589177,), (1340589183,), (1340589199,), (1340589209,), (1340589244,), (1340589250,), (1340589257,), (1340589261,), (1340589301,), (1340589305,), (1340589311,), (1340589323,), (1340589337,), (1340589345,), (1340589379,), (1340589384,), (1340589390,), (1340589394,), (1340589492,), (1340589436,), (1340589443,), (1340589458,), (1340589478,), (1340589483,), (1340589533,), (1340589540,), (1340589545,), (1340589552,), (1340589556,), (1340589614,), (1340589618,), (1340589625,), (1340589672,), (1340589675,), (1340589679,), (1340589682,), (1340589701,), (1340589765,), (1340589779,), (1340589783,), (1340589786,), (1340589846,), (1340589850,), (1340589855,), (1340589858,), (1340589862,), (1340589922,), (1340589927,), (1340589931,), (1340589936,), (1340589942,), (1340589985,), (1340589991,), (1340590052,), (1340590061,), (1340590067,), (1340590073,), (1340590117,), (1340590121,), (1340590125,), (1340590130,), (1340590137,), (1340590142,), (1340590183,), (1340590185,), (1340590190,), (1340590194,), (1340590234,), (1340590236,), (1340590239,), (1340590242,), (1340590248,), (1340590255,), (1340590297,), (1340590300,), (1340590304,), (1340590308,), (1340590769,), (1340590857,), (1340590862,), (1340590867,), (1340590897,), (1340591142,), (1340591147,), (1340591154,), (1340591178,), (1340591187,), (1340591189,), (1340591129,), (1340591135,), (1340591140,), (1340591217,), (1340591222,), (1340591228,), (1340591233,), (1340591237,), (1340591240,), (1340591291,), (1340591297,), (1340591303,), (1340591307,), (1340591398,), (1340591402,), (1340591407,), (1340591411,), (1340591423,), (1340591496,), (1340591500,), (1340591505,), (1340591508,), (1340591548,), (1340591551,), (1340591558,), (1340591561,), (1340591576,), (1340591582,), (1340591762,), (1340591842,), (1340591950,), (1340591972,), (1340591978,), (1340592017,), (1340592028,), (1340592043,), (1340592061,), (1340592067,), (1340592072,), (1340592094,), (1340592097,), (1340592102,), (1340592105,), (1340592170,), (1340592179,), (1340592187,), (1340592190,), (1340592194,), (1340592226,), (1340592229,), (1340592234,), (1340592238,), (1340592242,), (1340592310,), (1340592377,), (1340592380,), (1340592453,), (1340592495,), (1340592740,), (1340596464,), (1340596466,), (1340596472,), (1340596475,), (1340596540,), (1340596545,), (1340596555,), (1340596613,), (1340596616,), (1340596619,), (1340596623,), (1340596630,), (1340596635,), (1340596665,), (1340596669,), (1340596674,), (1340596679,), (1340596684,), (1340596689,), (1340596732,), (1340596735,), (1340596781,), (1340596839,), (1340596846,), (1340596853,), (1340596860,), (1340596866,), (1340596870,), (1340596921,), (1340596898,), (1340596903,), (1340596910,), (1340596916,), (1340596952,), (1340596956,), (1340596961,), (1340596966,), (1340596973,), (1340597301,), (1340597305,), (1340597311,), (1340597361,), (1340597374,), (1340597378,), (1340597546,), (1340597550,), (1340597557,), (1340597562,), (1340597570,), (1340597577,), (1340597632,), (1340597637,), (1340597642,), (1340597647,), (1340597685,), (1340597690,), (1340597694,), (1340597704,), (1340598027,), (1340598031,), (1340598036,), (1340598053,), (1340598060,), (1340598066,), (1340598111,), (1340598116,), (1340598122,), (1340598127,), (1340598133,), (1340598142,), (1340598182,), (1340598186,), (1340598192,), (1340598205,), (1340598213,), (1340598263,), (1340598272,), (1340598328,), (1340598336,), (1340598343,), (1340598345,), (1340598359,), (1340598364,), (1340598388,), (1340598394,), (1340598400,), (1340598576,), (1340598580,), (1340598584,), (1340598591,), (1340598613,), (1340598623,), (1340598662,), (1340598667,), (1340598671,), (1340598677,), (1340598684,), (1340598688,), (1340598746,), (1340598750,), (1340598778,), (1340598887,), (1340598861,), (1340598865,), (1340598871,), (1340598874,), (1340598881,), (1340599001,), (1340599005,), (1340599012,), (1340599014,), (1340599020,), (1340599059,), (1340599063,), (1340599070,), (1340599080,), (1340599121,), (1340599124,), (1340599132,), (1340599142,), (1340599158,), (1340599166,), (1340599366,), (1340599372,), (1340599380,), (1340599428,), (1340599431,), (1340599440,), (1340599446,), (1340599451,), (1340599456,), (1340599492,), (1340599497,), (1340599503,), (1340599510,), (1340599548,), (1340599709,), (1340600081,), (1340600084,), (1340600154,), (1340600135,), (1340600138,), (1340600142,), (1340600147,), (1340600339,), (1340600341,), (1340600346,), (1340600349,), (1340600423,), (1340600426,), (1340600432,), (1340600470,), (1340600476,), (1340600506,), (1340600508,), (1340600513,), (1340600518,), (1340600525,), (1340600529,), (1340600564,), (1340600567,), (1340600573,), (1340600578,), (1340600584,), (1340600588,), (1340600627,), (1340600636,), (1340600643,), (1340600743,), (1340600753,), (1340600757,), (1340600766,), (1340600774,), (1340600787,), (1340600857,), (1340600886,), (1340600888,), (1340600941,), (1340600946,), (1340600954,), (1340600957,), (1340600963,), (1340600996,), (1340600998,), (1340601003,), (1340601018,), (1340601023,), (1340601028,), (1340601064,), (1340601074,), (1340601080,), (1340601083,), (1340601120,), (1340601127,), (1340601133,), (1340601135,), (1340601140,), (1340601143,), (1340601302,), (1340601340,), (1340601345,), (1340601360,), (1340601368,), (1340601374,), (1340601442,), (1340601451,), (1340601459,), (1340601466,), (1340601484,), (1340601488,), (1340601492,), (1340601494,), (1340601500,), (1340601532,), (1340601521,), (1340601528,), (1340601580,), (1340601586,), (1340601592,), (1340601608,), (1340601617,), (1340601621,), (1340601666,), (1340601671,), (1340601677,), (1340601681,), (1340601769,), (1340601773,), (1340601780,), (1340601786,), (1340601791,), (1340601795,), (1340601817,), (1340601821,), (1340601870,), (1340602116,), (1340602485,), (1340602516,), (1340602525,), (1340602531,), (1340602546,), (1340602549,), (1340602708,), (1340602715,), (1340602718,), (1340602723,), (1340602729,), (1340602775,), (1340602786,), (1340602800,), (1340602808,), (1340602883,), (1340602891,), (1340602895,), (1340602899,), (1340602905,), (1340602910,), (1340602963,), (1340602969,), (1340602975,), (1340603029,), (1340603034,), (1340603152,), (1340603156,), (1340603189,), (1340603193,), (1340603199,), (1340603209,), (1340603248,), (1340603253,), (1340603258,), (1340603265,), (1340603292,), (1340603296,), (1340603304,), (1340603312,), (1340603317,), (1340603322,), (1340603368,), (1340603373,), (1340603379,), (1340603441,), (1340603445,), (1340603448,), (1340603450,), (1340603453,), (1340603455,), (1340603494,), (1340603474,), (1340603480,), (1340603484,), (1340603665,), (1340603672,), (1340603676,), (1340603680,), (1340603692,), (1340603699,), (1340603727,), (1340603733,), (1340603738,), (1340603741,), (1340603794,), (1340603800,), (1340603805,), (1340603834,), (1340603841,), (1340603847,), (1340603937,), (1340603942,), (1340603950,), (1340603954,), (1340603960,), (1340604097,), (1340604104,), (1340604111,), (1340604125,), (1340604308,), (1340604313,), (1340604321,), (1340604324,), (1340604329,), (1340604336,), (1340604716,), (1340604736,), (1340604751,), (1340604799,), (1340604861,), (1340604868,), (1340604872,), (1340604876,), (1340604882,), (1340604887,), (1340604926,), (1340604930,), (1340604942,), (1340604951,), (1340604958,), (1340605025,), (1340605034,), (1340605039,), (1340605044,), (1340605050,), (1340605056,), (1340605081,), (1340605088,), (1340605091,), (1340605100,), (1340605172,), (1340605177,), (1340605185,), (1340605189,), (1340605243,), (1340605310,), (1340605327,), (1340605333,), (1340605353,), (1340605362,), (1340605371,), (1340605548,), (1340605551,), (1340605576,), (1340605583,), (1340605670,), (1340605640,), (1340605643,), (1340605651,), (1340605659,), (1340605665,), (1340605692,), (1340605695,), (1340605701,), (1340605705,), (1340605742,), (1340605746,), (1340605749,), (1340605753,), (1340605763,), (1340605768,), (1340605800,), (1340605804,), (1340605814,), (1340605829,), (1340605838,), (1340605885,), (1340605890,), (1340605896,), (1340605901,), (1340605906,), (1340605911,), (1340605958,), (1340605963,), (1340605975,), (1340605980,), (1340606035,), (1340606045,), (1340606051,), (1340606055,), (1340606061,), (1340606065,), (1340606087,), (1340606102,), (1340606108,), (1340606115,), (1340606119,), (1340606157,), (1340606179,), (1340606193,), (1340606201,), (1340606226,), (1340606235,), (1340606245,), (1340606252,), (1340606258,), (1340606261,), (1340606284,), (1340606292,), (1340606295,), (1340606301,), (1340606349,), (1340606352,), (1340606357,), (1340606365,), (1340606372,), (1340606377,), (1340606401,), (1340606404,), (1340606409,), (1340606426,), (1340606437,), (1340606472,), (1340606477,), (1340606486,), (1340606487,), (1340606492,), (1340606537,), (1340606542,), (1340606546,), (1340606549,), (1340606555,), (1340606667,), (1340606642,), (1340606653,), (1340606657,), (1340606739,), (1340606783,), (1340606786,), (1340606791,), (1340606796,), (1340606801,), (1340606882,), (1340606888,), (1340606898,), (1340606900,), (1340606905,), (1340606958,), (1340606961,), (1340606968,), (1340606976,), (1340606981,), (1340606986,), (1340607030,), (1340607034,), (1340607038,), (1340607074,), (1340607077,), (1340607082,), (1340607086,), (1340607091,), (1340607097,), (1340607131,), (1340607140,), (1340607145,), (1340607148,), (1340607154,), (1340607217,), (1340607243,), (1340607249,), (1340607267,), (1340607273,), (1340607333,), (1340607394,), (1340607399,), (1340607401,), (1340607442,), (1340607445,), (1340607450,), (1340607588,), (1340607652,), (1340607656,), (1340607657,), (1340607663,), (1340607668,), (1340607672,), (1340607696,), (1340607699,), (1340607705,), (1340607730,), (1340607838,), (1340607872,), (1340607875,), (1340607878,), (1340607913,), (1340607919,), (1340607982,), (1340607989,), (1340608000,), (1340608009,), (1340608018,), (1340608066,), (1340608045,), (1340608052,), (1340608059,), (1340608214,), (1340608220,), (1340608247,), (1340608264,), (1340608276,), (1340608335,), (1340608340,), (1340608554,), (1340608846,), (1340609087,), (1340609136,), (1340609145,), (1340609148,), (1340609164,), (1340609181,), (1340609188,), (1340609501,), (1340609509,), (1340609519,), (1340609521,), (1340609525,), (1340609570,), (1340609574,), (1340609578,), (1340609590,), (1340609639,), (1340609645,), (1340609649,), (1340609654,), (1340609658,), (1340609664,), (1340609684,), (1340609688,), (1340609694,), (1340609697,), (1340609702,), (1340609753,), (1340609756,), (1340609761,), (1340609763,), (1340609768,), (1340609820,), (1340609822,), (1340609827,), (1340609829,), (1340609833,), (1340609911,), (1340609915,), (1340609917,), (1340609922,), (1340609926,), (1340609955,), (1340609958,), (1340609961,), (1340609972,), (1340609980,), (1340610014,), (1340610021,), (1340610029,), (1340610031,), (1340610044,), (1340610079,), (1340610083,), (1340610088,), (1340610090,), (1340610095,), (1340610139,), (1340610143,), (1340610147,), (1340610162,), (1340610167,), (1340610208,), (1340610190,), (1340610195,), (1340610199,), (1340610202,), (1340610415,), (1340610419,), (1340610422,), (1340610432,), (1340610447,), (1340610452,), (1340610490,), (1340610492,), (1340610496,), (1340610501,), (1340610777,), (1340610781,), (1340610784,), (1340610786,), (1340610822,), (1340610825,), (1340610828,), (1340610832,), (1340610836,), (1340610843,), (1340610868,), (1340610871,), (1340610874,), (1340610909,), (1340610913,), (1340610917,), (1340610922,), (1340610925,), (1340610929,), (1340611010,), (1340611016,), (1340611022,), (1340611029,), (1340611092,), (1340611095,), (1340611098,), (1340611101,), (1340611105,), (1340611130,), (1340611132,), (1340611137,), (1340611141,), (1340611146,), (1340611189,), (1340611192,), (1340611195,), (1340611199,), (1340611222,), (1340611232,), (1340611248,), (1340611269,), (1340611304,), (1340611309,), (1340611332,), (1340611335,), (1340611340,), (1340611343,), (1340611371,), (1340611374,), (1340611377,), (1340611526,), (1340611537,), (1340611542,), (1340611569,), (1340611573,), (1340611577,), (1340611579,), (1340611723,), (1340611678,), (1340611684,), (1340611688,), (1340611694,), (1340611717,), (1340611786,), (1340611789,), (1340611800,), (1340611812,), (1340611817,), (1340611893,), (1340611899,), (1340611902,), (1340611905,), (1340611955,), (1340611957,), (1340611960,), (1340611963,), (1340611970,), (1340611993,), (1340611996,), (1340611998,), (1340612002,), (1340612006,), (1340612010,), (1340612031,), (1340612033,), (1340612036,), (1340612038,), (1340612042,), (1340612078,), (1340612090,), (1340612100,), (1340612110,), (1340612176,), (1340612181,), (1340612184,), (1340612190,), (1340612196,), (1340612208,), (1340612250,), (1340612259,), (1340612266,), (1340612272,), (1340612309,), (1340612311,), (1340612314,), (1340612316,), (1340612322,), (1340612329,), (1340612352,), (1340612355,), (1340612358,), (1340612363,), (1340612421,), (1340612424,), (1340612426,), (1340612429,), (1340612437,), (1340612502,), (1340612504,), (1340612515,), (1340612518,), (1340612529,), (1340612591,), (1340612602,), (1340612606,), (1340612616,), (1340612632,), (1340612670,), (1340612672,), (1340612675,), (1340612677,), (1340612956,), (1340612758,), (1340612759,), (1340612772,), (1340612775,), (1340612788,), (1340613218,), (1340613273,), (1340613300,), (1340613302,), (1340613411,), (1340613414,), (1340613417,), (1340613421,), (1340613429,), (1340613440,), (1340613481,), (1340613483,), (1340613486,), (1340613489,), (1340613551,), (1340613558,), (1340613563,), (1340613566,), (1340613601,), (1340613606,), (1340613609,), (1340613615,), (1340613621,), (1340613627,), (1340613653,), (1340613656,), (1340613660,), (1340613664,), (1340613727,), (1340613734,), (1340613740,), (1340613745,), (1340613750,), (1340613756,), (1340613793,), (1340613806,), (1340613814,), (1340613850,), (1340613853,), (1340613859,), (1340613863,), (1340613875,), (1340613913,), (1340613918,), (1340613932,), (1340613949,), (1340613958,), (1340613972,), (1340614155,), (1340614165,), (1340614186,), (1340614193,), (1340614199,), (1340614204,), (1340614378,), (1340614399,), (1340614412,), (1340614421,), (1340614637,), (1340614649,), (1340614658,), (1340614666,), (1340614738,), (1340614724,), (1340614727,), (1340614733,), (1340614784,), (1340614787,), (1340614789,), (1340614802,), (1340614814,), (1340614822,), (1340614963,), (1340614967,), (1340614969,), (1340614976,), (1340615033,), (1340615037,), (1340615075,), (1340615104,), (1340615110,), (1340615143,), (1340615151,), (1340615162,), (1340615172,), (1340615177,), (1340615217,), (1340615221,), (1340615226,), (1340615230,), (1340615236,), (1340615264,), (1340615268,), (1340615270,), (1340615275,), (1340615281,), (1340615287,), (1340615337,), (1340615353,), (1340615365,), (1340615374,), (1340615394,), (1340615441,), (1340615445,), (1340615451,), (1340615458,), (1340615467,), (1340615503,), (1340615509,), (1340615517,), (1340615523,), (1340615549,), (1340615557,), (1340615604,), (1340615607,), (1340615610,), (1340615615,), (1340615622,), (1340615678,), (1340615685,), (1340615695,), (1340615705,), (1340615709,), (1340615731,), (1340615734,), (1340615737,), (1340615742,), (1340615744,), (1340615754,), (1340615795,), (1340615799,), (1340615806,), (1340615818,), (1340615835,), (1340615880,), (1340615883,), (1340615888,), (1340615891,), (1340615982,), (1340615952,), (1340615956,), (1340615968,), (1340615972,), (1340615978,), (1340616168,), (1340616171,), (1340616175,), (1340616179,), (1340616186,), (1340616242,), (1340616256,), (1340616264,), (1340616272,), (1340616310,), (1340616320,), (1340616322,), (1340616334,), (1340616350,), (1340616358,), (1340616390,), (1340616400,), (1340616408,), (1340616418,), (1340616431,), (1340616463,), (1340616469,), (1340616475,), (1340616527,), (1340616540,), (1340616608,), (1340616619,), (1340616623,), (1340616627,), (1340616633,), (1340616638,), (1340616661,), (1340616663,), (1340616668,), (1340616674,), (1340616733,), (1340616739,), (1340616744,), (1340616748,), (1340616762,), (1340616805,), (1340616808,), (1340616813,), (1340616817,), (1340616826,), (1340616874,), (1340616886,), (1340616895,), (1340616899,), (1340616938,), (1340616943,), (1340616945,), (1340616950,), (1340616956,), (1340617023,), (1340617026,), (1340617029,), (1340617033,), (1340617039,), (1340617043,), (1340617106,), (1340617112,), (1340617119,), (1340617129,), (1340617310,), (1340617313,), (1340617316,), (1340617321,), (1340617327,), (1340617417,), (1340617357,), (1340617360,), (1340617364,), (1340617745,), (1340617754,), (1340617763,), (1340617770,), (1340617775,), (1340617801,), (1340617805,), (1340617811,), (1340617831,), (1340617837,), (1340617841,), (1340617870,), (1340617886,), (1340617892,), (1340617900,), (1340617903,), (1340617907,), (1340617929,), (1340617940,), (1340617947,), (1340617952,), (1340617961,), (1340618016,), (1340618094,), (1340618168,), (1340618171,), (1340618178,), (1340618211,), (1340618218,), (1340618220,), (1340618223,), (1340618302,), (1340618331,), (1340618357,), (1340618371,), (1340618383,), (1340618401,), (1340618458,), (1340618460,), (1340618464,), (1340618470,), (1340618474,), (1340618565,), (1340618576,), (1340618585,), (1340618588,), (1340618593,), (1340618638,), (1340618650,), (1340618659,), (1340618989,), (1340620789,), (1340621136,), (1340621154,), (1340621164,), (1340621174,), (1340621310,), (1340621313,), (1340621369,), (1340621404,), (1340621458,), (1340621465,), (1340621539,), (1340621544,), (1340621551,), (1340621553,), (1340621588,), (1340621591,), (1340621648,), (1340621707,), (1340621710,), (1340621757,), (1340621810,), (1340621812,), (1340622102,), (1340622170,), (1340622176,), (1340622187,), (1340622197,), (1340622693,), (1340622746,), (1340622886,), (1340622897,), (1340622900,), (1340622903,), (1340622991,), (1340622996,), (1340622998,), (1340623002,), (1340623006,), (1340623172,), (1340623174,), (1340623177,), (1340623181,), (1340623259,), (1340623468,), (1340624186,), (1340624237,), (1340624613,), (1340624615,), (1340624619,), (1340624759,), (1340624894,), (1340624936,), (1340624939,), (1340624945,), (1340625125,), (1340625130,), (1340625135,), (1340625139,), (1340625142,), (1340625148,), (1340625170,), (1340625173,), (1340625177,), (1340625178,), (1340625282,), (1340625339,), (1340625348,), (1340626249,), (1340626253,), (1340626256,), (1340626259,), (1340626286,), (1340626507,), (1340626486,), (1340626490,), (1340626493,), (1340626495,), (1340626501,), (1340626532,), (1340626535,), (1340626538,), (1340626542,), (1340626597,), (1340626601,), (1340626604,), (1340626608,), (1340626614,), (1340626646,), (1340626649,), (1340626651,), (1340626657,), (1340626662,), (1340626669,), (1340626889,), (1340626891,), (1340626899,), (1340626903,), (1340626938,), (1340626940,), (1340626944,), (1340626946,), (1340626951,), (1340626972,), (1340626975,), (1340626979,), (1340626982,), (1340627039,), (1340627043,), (1340627047,), (1340627051,), (1340627102,), (1340627107,), (1340627112,), (1340627113,), (1340627128,), (1340627165,), (1340627182,), (1340627193,), (1340627198,), (1340627203,), (1340627210,), (1340627243,), (1340627249,), (1340627253,), (1340627277,), (1340627332,), (1340627339,), (1340627342,), (1340627347,), (1340627352,), (1340627356,), (1340627539,), (1340627543,), (1340627546,), (1340627547,), (1340627551,), (1340627604,), (1340627625,), (1340627877,), (1340627872,), (1340627910,), (1340627917,), (1340627922,), (1340627926,), (1340627931,), (1340627951,), (1340627958,), (1340627964,), (1340627972,), (1340627979,), (1340628026,), (1340628031,), (1340628034,), (1340628038,), (1340628043,), (1340628071,), (1340628076,), (1340628079,), (1340628082,), (1340628088,), (1340628092,), (1340628134,), (1340628140,), (1340628145,), (1340628147,), (1340628176,), (1340628181,), (1340628186,), (1340628189,), (1340628196,), (1340628258,), (1340628265,), (1340628267,), (1340628271,), (1340628305,), (1340628310,), (1340628321,), (1340628341,), (1340628344,), (1340628380,), (1340628383,), (1340628388,), (1340628390,), (1340628394,), (1340628427,), (1340628431,), (1340628434,), (1340628443,), (1340628454,), (1340628461,), (1340628506,), (1340628510,), (1340628514,), (1340628554,), (1340628565,), (1340628576,), (1340628579,), (1340628585,), (1340628590,), (1340628661,), (1340628638,), (1340628643,), (1340628648,), (1340628654,), (1340628658,), (1340628699,), (1340628704,), (1340628717,), (1340628727,), (1340628770,), (1340628775,), (1340628780,), (1340628783,), (1340628787,), (1340628792,), (1340629343,), (1340629347,), (1340629351,), (1340629397,), (1340629580,), (1340629588,), (1340629591,), (1340629596,), (1340629603,), (1340629610,), (1340629636,), (1340629640,), (1340629646,), (1340629649,), (1340629655,), (1340629775,), (1340629871,), (1340629896,), (1340629909,), (1340629921,), (1340629928,), (1340630164,), (1340630167,), (1340630173,), (1340630248,), (1340630252,), (1340630256,), (1340630261,), (1340630267,), (1340630273,), (1340630300,), (1340630303,), (1340630310,), (1340630317,), (1340630370,), (1340630373,), (1340630375,), (1340630379,), (1340630385,), (1340630390,), (1340630414,), (1340630418,), (1340630423,), (1340630427,), (1340630469,), (1340630474,), (1340630477,), (1340630481,), (1340630487,), (1340630532,), (1340630536,), (1340630541,), (1340630544,), (1340630550,), (1340630556,), (1340630596,), (1340630604,), (1340630610,), (1340630615,), (1340630734,), (1340630710,), (1340630714,), (1340630721,), (1340630726,), (1340630731,), (1340630795,), (1340630801,), (1340630805,), (1340630814,), (1340630897,), (1340630902,), (1340630906,), (1340630909,), (1340630914,), (1340630919,), (1340630977,), (1340630985,), (1340630990,), (1340631585,), (1340631592,), (1340631597,), (1340631601,), (1340631606,), (1340631609,), (1340631848,), (1340631853,), (1340631858,), (1340631951,), (1340632161,), (1340632167,), (1340632172,), (1340632177,), (1340632181,), (1340632239,), (1340632255,), (1340632273,), (1340632276,), (1340632281,), (1340632297,), (1340632332,), (1340632338,), (1340632344,), (1340632348,), (1340632409,), (1340632417,), (1340632424,), (1340632429,), (1340632480,), (1340632487,), (1340632496,), (1340632501,), (1340632515,), (1340632553,), (1340632560,), (1340632581,), (1340632625,), (1340632632,), (1340632652,), (1340632659,), (1340632666,), (1340632701,), (1340632705,), (1340632711,), (1340632717,), (1340632732,), (1340632735,), (1340632758,), (1340632765,), (1340632769,), (1340632775,), (1340632814,), (1340632807,), (1340632884,), (1340632899,), (1340632905,), (1340632908,), (1340632914,), (1340633391,), (1340633397,), (1340633400,), (1340633714,), (1340633761,), (1340633765,), (1340633770,), (1340633806,), (1340633812,), (1340633818,), (1340633821,), (1340633866,), (1340633872,), (1340633877,), (1340633947,), (1340633952,), (1340633955,), (1340633956,), (1340633960,), (1340633964,), (1340634001,), (1340634006,), (1340634010,), (1340634016,), (1340634059,), (1340634071,), (1340634079,), (1340634084,), (1340634088,), (1340634092,), (1340634125,), (1340634132,), (1340634135,), (1340634139,), (1340634143,), (1340634208,), (1340634216,), (1340634232,), (1340634239,), (1340634250,), (1340634255,), (1340634260,), (1340634296,), (1340634285,), (1340634291,), (1340634526,), (1340634532,), (1340634537,), (1340634556,), (1340634608,), (1340634611,), (1340634619,), (1340634635,), (1340634701,), (1340634710,), (1340634718,), (1340634721,), (1340634728,), (1340634768,), (1340634781,), (1340634794,), (1340634812,), (1340634851,), (1340634855,), (1340634858,), (1340634862,), (1340634867,), (1340634906,), (1340634910,), (1340634917,), (1340634920,), (1340634991,), (1340635012,), (1340635016,), (1340635063,), (1340635067,), (1340635076,), (1340635081,), (1340635132,), (1340635138,), (1340635143,), (1340635146,), (1340635151,), (1340635155,), (1340635182,), (1340635186,), (1340635192,), (1340635196,), (1340635200,), (1340635207,), (1340635247,), (1340635255,), (1340635259,), (1340635291,), (1340635296,), (1340635305,), (1340635310,), (1340635361,), (1340635367,), (1340635370,), (1340635373,), (1340635426,), (1340635430,), (1340635436,), (1340635442,), (1340635566,), (1340635551,), (1340635561,), (1340636009,), (1340636016,), (1340636018,), (1340636045,), (1340636201,), (1340636210,), (1340636212,), (1340636220,), (1340636233,), (1340636239,), (1340636296,), (1340636307,), (1340636315,), (1340636318,), (1340636363,), (1340636365,), (1340636368,), (1340636371,), (1340636376,), (1340636382,), (1340636426,), (1340636428,), (1340636434,), (1340636505,), (1340636525,), (1340636629,), (1340636630,), (1340636632,), (1340636637,), (1340636668,), (1340636669,), (1340636672,), (1340636675,), (1340636722,), (1340636730,), (1340636736,), (1340636792,), (1340637316,), (1340637280,), (1340637290,), (1340637303,), (1340637306,), (1340637311,), (1340637355,), (1340637360,), (1340637366,), (1340637368,), (1340637372,), (1340637375,), (1340637400,), (1340637404,), (1340637407,), (1340637408,), (1340637413,), (1340637418,), (1340637439,), (1340637444,), (1340637449,), (1340637452,), (1340637878,), (1340637881,), (1340637892,), (1340637901,), (1340638052,), (1340638156,), (1340638161,), (1340638163,), (1340638168,), (1340638446,), (1340638462,), (1340638469,), (1340638508,), (1340638512,), (1340638516,), (1340638519,), (1340638577,), (1340638590,), (1340638598,), (1340638603,), (1340638608,), (1340638613,), (1340638638,), (1340638642,), (1340638648,), (1340638654,), (1340638658,), (1340638695,), (1340638699,), (1340638703,), (1340638705,), (1340638712,), (1340638761,), (1340638768,), (1340638772,), (1340638775,), (1340638828,), (1340638832,), (1340638835,), (1340638839,), (1340638876,), (1340638878,), (1340638883,), (1340639118,), (1340639045,), (1340639062,), (1340639065,), (1340639113,), (1340639532,), (1340639544,), (1340639559,), (1340639568,), (1340639573,), (1340639581,), (1340639609,), (1340639611,), (1340639616,), (1340639654,), (1340639658,), (1340639660,), (1340639664,), (1340639670,), (1340639675,), (1340639741,), (1340639754,), (1340639762,), (1340639767,), (1340639802,), (1340639818,), (1340639822,), (1340639825,), (1340639830,), (1340639835,), (1340639883,), (1340639887,), (1340639888,), (1340639892,), (1340639899,), (1340639926,), (1340639930,), (1340639935,), (1340639939,), (1340639945,), (1340639950,), (1340639981,), (1340639991,), (1340639998,), (1340640002,), (1340640008,), (1340640013,), (1340640041,), (1340640046,), (1340640051,), (1340640111,), (1340640128,), (1340640136,), (1340640141,), (1340640146,), (1340640150,), (1340640172,), (1340640175,), (1340640182,), (1340640243,), (1340640246,), (1340640251,), (1340640254,), (1340640259,), (1340640264,), (1340640323,), (1340640330,), (1340640337,), (1340640343,), (1340640405,), (1340640401,), (1340640607,), (1340640822,), (1340641590,), (1340641593,), (1340641648,), (1340641653,), (1340641658,), (1340641663,), (1340641667,), (1340641672,), (1340641701,), (1340641709,), (1340641713,), (1340641744,), (1340641749,), (1340641754,), (1340641807,), (1340641811,), (1340641816,), (1340641820,), (1340641824,), (1340641827,), (1340641856,), (1340641861,), (1340641866,), (1340641869,), (1340641922,), (1340641925,), (1340641931,), (1340641935,), (1340641941,), (1340641943,), (1340641970,), (1340641973,), (1340641979,), (1340641982,), (1340642039,), (1340642021,), (1340642026,), (1340642030,), (1340642034,), (1340642379,), (1340642404,), (1340642416,), (1340642420,), (1340642427,), (1340642432,), (1340642476,), (1340642482,), (1340642495,), (1340642500,), (1340642505,), (1340642564,), (1340642576,), (1340642579,), (1340642585,), (1340642591,), (1340642603,), (1340642629,), (1340642668,), (1340642920,), (1340643243,), (1340643252,), (1340643351,), (1340643355,), (1340643403,), (1340643458,), (1340643551,), (1340643609,), (1340643624,), (1340643631,), (1340643812,), (1340643816,), (1340643821,), (1340643826,), (1340643875,), (1340643877,), (1340643881,), (1340643884,), (1340643890,), (1340643895,), (1340643922,), (1340643926,), (1340643928,), (1340643934,), (1340643937,), (1340643986,), (1340643989,), (1340644005,), (1340644094,), (1340644101,), (1340644213,), (1340644218,), (1340644220,), (1340644224,), (1340644267,), (1340644271,), (1340644275,), (1340644278,), (1340644283,), (1340644287,), (1340644333,), (1340644335,), (1340644339,), (1340644345,), (1340644392,), (1340644396,), (1340644400,), (1340644404,), (1340644412,), (1340644418,), (1340644593,), (1340644487,), (1340644491,), (1340644514,), (1340644587,), (1340644752,), (1340644753,), (1340644755,), (1340644757,), (1340644763,), (1340644769,), (1340644804,), (1340644806,), (1340644808,), (1340644819,), (1340644891,), (1340644893,), (1340644897,), (1340644905,), (1340644917,), (1340644924,), (1340644967,), (1340644973,), (1340644986,), (1340644991,), (1340645026,), (1340645029,), (1340645031,), (1340645033,), (1340645050,), (1340645059,), (1340645290,), (1340645293,), (1340645305,), (1340645497,), (1340645500,), (1340645511,), (1340645520,), (1340645558,), (1340645560,), (1340645563,), (1340645567,), (1340645571,), (1340645607,), (1340645617,), (1340645629,), (1340645640,), (1340645676,), (1340645678,), (1340645682,), (1340645685,), (1340645690,), (1340645695,), (1340645933,), (1340645962,), (1340645976,), (1340645986,), (1340646108,), (1340646112,), (1340646114,), (1340646118,), (1340646125,), (1340646130,), (1340646165,), (1340646175,), (1340646179,), (1340646181,), (1340646188,), (1340646192,), (1340646213,), (1340646217,), (1340646222,), (1340646225,), (1340646232,), (1340646393,), (1340646379,), (1340646384,), (1340646443,), (1340646447,), (1340646450,), (1340646459,), (1340646473,), (1340646523,), (1340646526,), (1340646528,), (1340646530,), (1340646541,), (1340646586,), (1340646590,), (1340646595,), (1340646598,), (1340646610,), (1340646623,), (1340646681,), (1340646685,), (1340646689,), (1340646721,), (1340646725,), (1340646772,), (1340646820,), (1340646824,), (1340646875,), (1340646880,), (1340646884,), (1340646887,), (1340646892,), (1340646932,), (1340646939,), (1340646943,), (1340646958,), (1340646986,), (1340646991,), (1340646998,), (1340647001,), (1340647006,), (1340647010,), (1340647030,), (1340647035,), (1340647038,), (1340647043,), (1340647053,), (1340647083,), (1340647097,), (1340647099,), (1340647102,), (1340647107,), (1340647169,), (1340647175,), (1340647184,), (1340647191,), (1340647376,), (1340647351,), (1340647520,), (1340647525,), (1340647531,), (1340647534,), (1340647544,), (1340647566,), (1340647612,), (1340647615,), (1340647620,), (1340647623,), (1340647691,), (1340647703,), (1340647707,), (1340647712,), (1340647717,), (1340647722,), (1340647762,), (1340647766,), (1340647771,), (1340647773,), (1340647777,), (1340647781,), (1340647805,), (1340647810,), (1340647813,), (1340647815,), (1340647877,), (1340647888,), (1340647896,), (1340647904,), (1340647909,), (1340647940,), (1340647945,), (1340647949,), (1340647952,), (1340647958,), (1340648006,), (1340648012,), (1340648017,), (1340648025,), (1340648030,), (1340648070,), (1340648082,), (1340648085,), (1340648295,), (1340648301,), (1340648500,), (1340648346,), (1340648349,), (1340648353,), (1340648359,), (1340648495,), (1340648676,), (1340648681,), (1340648683,), (1340648689,), (1340648769,), (1340648773,), (1340648792,), (1340648804,), (1340648813,), (1340648844,), (1340648847,), (1340648854,), (1340648863,), (1340648874,), (1340648918,), (1340648923,), (1340648928,), (1340648935,), (1340648947,), (1340648952,), (1340648982,), (1340648985,), (1340648989,), (1340648995,), (1340649064,), (1340649070,), (1340649073,), (1340649075,), (1340649084,), (1340649095,), (1340649156,), (1340649161,), (1340649174,), (1340649178,), (1340649185,), (1340649248,), (1340649252,), (1340649256,), (1340649292,), (1340649314,), (1340649326,), (1340649416,), (1340649424,), (1340649430,), (1340649434,), (1340649567,), (1340649573,), (1340649577,), (1340649582,), (1340649586,), (1340649588,), (1340649610,), (1340649615,), (1340649621,), (1340649668,), (1340649673,), (1340649684,), (1340649694,), (1340649699,), (1340653679,), (1340653674,), (1340654425,), (1340654484,), (1340654509,), (1340654522,), (1340654524,), (1340654817,), (1340654822,), (1340654826,), (1340654871,), (1340654909,), (1340654912,), (1340654914,), (1340654918,), (1340654972,), (1340654975,), (1340654978,), (1340654980,), (1340654985,), (1340654989,), (1340655010,), (1340655015,), (1340655018,), (1340655020,), (1340655025,), (1340655045,), (1340655085,), (1340655089,), (1340655092,), (1340655095,), (1340655127,), (1340655132,), (1340655139,), (1340655145,), (1340655160,), (1340655165,), (1340655194,), (1340655198,), (1340655200,), (1340655205,), (1340656383,), (1340657382,), (1340657377,), (1340657557,), (1340657560,), (1340657563,), (1340657570,), (1340657575,), (1340657579,), (1340657614,), (1340657617,), (1340657621,), (1340657654,), (1340657657,), (1340657695,), (1340657697,), (1340657705,), (1340657718,), (1340657730,), (1340657825,), (1340657840,), (1340657851,), (1340657872,), (1340657896,), (1340657901,), (1340658048,), (1340658091,), (1340658096,), (1340658100,), (1340658104,), (1340658108,), (1340658126,), (1340658130,), (1340658134,), (1340658143,), (1340658157,), (1340658170,), (1340658192,), (1340658207,), (1340658219,), (1340658223,), (1340658255,), (1340658315,), (1340658698,), (1340658735,), (1340658739,), (1340658857,), (1340658862,), (1340658866,), (1340658908,), (1340658916,), (1340658920,), (1340658927,), (1340658933,), (1340658937,), (1340659144,), (1340658969,), (1340659056,), (1340659099,), (1340659247,), (1340659253,), (1340659554,), (1340659557,), (1340659846,), (1340659892,), (1340659899,), (1340659900,), (1340659935,), (1340659938,), (1340659941,), (1340659947,), (1340659975,), (1340659982,), (1340660020,), (1340660024,), (1340660027,), (1340660031,), (1340660077,), (1340660079,), (1340660084,), (1340660125,), (1340660128,), (1340660131,), (1340660134,), (1340660171,), (1340660177,), (1340660181,), (1340660195,), (1340660199,), (1340660244,), (1340660246,), (1340660251,), (1340660254,), (1340660260,), (1340660559,), (1340660564,), (1340660573,), (1340660755,), (1340660767,), (1340660771,), (1340660775,), (1340660779,), (1340660782,), (1340660811,), (1340660815,), (1340660821,), (1340660829,), (1340660836,), (1340661084,), (1340660996,), (1340661021,), (1340661026,), (1340661078,), (1340661273,), (1340661277,), (1340661327,), (1340661332,), (1340661362,), (1340661367,), (1340661459,), (1340661463,), (1340661466,), (1340661504,), (1340661515,), (1340661521,), (1340661526,), (1340661530,), (1340661557,), (1340661562,), (1340661567,), (1340661573,), (1340661581,), (1340661605,), (1340661609,), (1340661614,), (1340661662,), (1340661671,), (1340661674,), (1340661680,), (1340661741,), (1340661828,), (1340661919,), (1340662006,), (1340662211,), (1340662268,), (1340662282,), (1340662297,), (1340662489,), (1340662494,), (1340662502,), (1340662564,), (1340662569,), (1340662574,), (1340662605,), (1340662674,), (1340662678,), (1340662767,), (1340662771,), (1340662775,), (1340662780,), (1340662828,), (1340662834,), (1340662836,), (1340662841,), (1340662888,), (1340662896,), (1340662903,), (1340662910,), (1340662921,), (1340662923,), (1340662925,), (1340662927,), (1340662974,), (1340662961,), (1340662965,), (1340662970,), (1340663038,), (1340663042,), (1340663051,), (1340663063,), (1340663088,), (1340663098,), (1340663432,), (1340663436,), (1340663440,), (1340663443,), (1340663484,), (1340663488,), (1340663491,), (1340663496,), (1340663531,), (1340663535,), (1340663539,), (1340663544,), (1340663550,), (1340663590,), (1340663600,), (1340663605,), (1340663612,), (1340663640,), (1340663645,), (1340663651,), (1340663699,), (1340663718,), (1340663726,), (1340663763,), (1340663766,), (1340663770,), (1340663775,), (1340663787,), (1340663805,), (1340663823,), (1340663827,), (1340663830,), (1340663837,), (1340663844,), (1340663850,), (1340663883,), (1340663886,), (1340663889,), (1340663893,), (1340663899,), (1340663905,), (1340663941,), (1340663944,), (1340663948,), (1340663954,), (1340663981,), (1340663985,), (1340663989,), (1340663993,), (1340663998,), (1340664002,), (1340664053,), (1340664057,), (1340664060,), (1340664064,), (1340664096,), (1340664100,), (1340664102,), (1340664106,), (1340664111,), (1340664348,), (1340664287,), (1340664291,), (1340664321,), (1340664323,), (1340664329,), (1340664368,), (1340664373,), (1340664376,), (1340664380,), (1340664443,), (1340664447,), (1340664451,), (1340664456,), (1340664460,), (1340664464,), (1340664486,), (1340664491,), (1340664533,), (1340664538,), (1340664541,), (1340664543,), (1340664548,), (1340664772,), (1340664991,), (1340664996,), (1340665023,), (1340665028,), (1340665033,), (1340665038,), (1340665055,), (1340665098,), (1340665103,), (1340665107,), (1340665112,), (1340665116,), (1340665159,), (1340665163,), (1340665167,), (1340665352,), (1340665368,), (1340665371,), (1340665373,), (1340665378,), (1340665560,), (1340665534,), (1340665543,), (1340665545,), (1340665551,), (1340665555,), (1340665597,), (1340665602,), (1340665605,), (1340665609,), (1340665612,), (1340665675,), (1340665679,), (1340665693,), (1340665696,), (1340665705,), (1340665714,), (1340665737,), (1340665754,), (1340665760,), (1340665763,), (1340665769,), (1340665772,), (1340665793,), (1340665799,), (1340665805,), (1340665810,), (1340665840,), (1340665858,), (1340665863,), (1340665869,), (1340665876,), (1340665895,), (1340665899,), (1340665905,), (1340665911,), (1340665916,), (1340666617,), (1340666629,), (1340666761,), (1340666921,), (1340666924,), (1340666928,), (1340667173,), (1340667176,), (1340667181,), (1340667184,), (1340667188,), (1340667280,), (1340667422,), (1340667425,), (1340667430,), (1340667434,), (1340667439,), (1340667471,), (1340667475,), (1340667478,), (1340667482,), (1340667487,), (1340667541,), (1340667545,), (1340667548,), (1340667554,), (1340667560,), (1340667567,), (1340667595,), (1340667597,), (1340667600,), (1340667605,), (1340667647,), (1340667651,), (1340667654,), (1340667658,), (1340667787,), (1340667692,), (1340667698,), (1340667735,), (1340667926,), (1340667935,), (1340667941,), (1340667950,), (1340667961,), (1340668033,), (1340668432,), (1340668435,), (1340668445,), (1340668574,), (1340668584,), (1340668588,), (1340668592,), (1340668626,), (1340668630,), (1340668636,), (1340668649,), (1340668653,), (1340668659,), (1340668700,), (1340668705,), (1340668712,), (1340668719,), (1340668758,), (1340668821,), (1340668954,), (1340668958,), (1340668962,), (1340669003,), (1340669030,), (1340669036,), (1340669047,), (1340669050,), (1340669074,), (1340669077,), (1340669080,), (1340669085,), (1340669132,), (1340669135,), (1340669138,), (1340669140,), (1340669149,), (1340669184,), (1340669187,), (1340669190,), (1340669248,), (1340669250,), (1340669252,), (1340669255,), (1340669314,), (1340669316,), (1340669318,), (1340669383,), (1340669458,), (1340669521,), (1340669910,), (1340669941,), (1340670044,), (1340670085,), (1340670090,), (1340670139,), (1340670122,), (1340670127,), (1340670131,), (1340670134,), (1340670282,), (1340670300,), (1340670373,), (1340670378,), (1340670802,), (1340670833,), (1340670837,), (1340670866,), (1340670900,), (1340670904,), (1340670909,), (1340670950,), (1340670955,), (1340670958,), (1340671004,), (1340671009,), (1340671013,), (1340671016,), (1340671020,), (1340671092,), (1340671194,), (1340671201,), (1340671206,), (1340671211,), (1340671246,), (1340671250,), (1340671253,), (1340671265,), (1340671317,), (1340671320,), (1340671377,), (1340671381,), (1340671384,), (1340671386,), (1340671391,), (1340671415,), (1340671420,), (1340671469,), (1340671488,), (1340671498,), (1340671500,), (1340671553,), (1340671565,), (1340671570,), (1340671575,), (1340671577,), (1340671580,), (1340671598,), (1340671603,), (1340671605,), (1340671688,), (1340671696,), (1340671798,), (1340671728,), (1340671732,), (1340671735,), (1340671745,), (1340672167,), (1340672170,), (1340672172,), (1340672177,), (1340672181,), (1340672185,), (1340672223,), (1340672234,), (1340672235,), (1340672285,), (1340672297,), (1340672309,), (1340672313,), (1340672319,), (1340672384,), (1340672392,), (1340672405,), (1340672416,), (1340672423,), (1340672429,), (1340672466,), (1340672470,), (1340672477,), (1340672490,), (1340672501,), (1340672539,), (1340672553,), (1340672566,), (1340672600,), (1340672605,), (1340672608,), (1340672610,), (1340672615,), (1340672654,), (1340672662,), (1340672666,), (1340672669,), (1340672673,), (1340672678,), (1340672701,), (1340672705,), (1340672710,), (1340672753,), (1340672758,), (1340672762,), (1340672767,), (1340672772,), (1340672792,), (1340672797,), (1340672801,), (1340672804,), (1340672837,), (1340672841,), (1340672845,), (1340672857,), (1340672888,), (1340672893,), (1340672897,), (1340672950,), (1340672963,), (1340672967,), (1340672971,), (1340672974,), (1340673207,), (1340673114,), (1340673144,), (1340673161,), (1340673164,), (1340673264,), (1340673268,), (1340673271,), (1340673273,), (1340673277,), (1340673327,), (1340673333,), (1340673342,), (1340673391,), (1340673402,), (1340673405,), (1340673407,), (1340673411,), (1340673472,), (1340673480,), (1340673484,), (1340673488,), (1340673494,), (1340673539,), (1340673543,), (1340673546,), (1340673549,), (1340673554,), (1340673588,), (1340673598,), (1340673608,), (1340673694,), (1340673697,), (1340673706,), (1340673710,), (1340673715,), (1340673736,), (1340673748,), (1340673752,), (1340673759,), (1340673797,), (1340673801,), (1340673805,), (1340673810,), (1340673835,), (1340673841,), (1340673846,), (1340676114,), (1340676408,), (1340676413,), (1340676578,), (1340676659,), (1340676746,), (1340677048,), (1340677083,), (1340677086,), (1340677092,), (1340677120,), (1340677126,), (1340677130,), (1340677357,), (1340694633,), (1340695689,), (1340695785,), (1340695878,), (1340696125,), (1340697207,), (1340697213,), (1340698355,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03032025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20980311]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] map_info['map_portfolio_photo'] : {20980311: [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551]} final : True mtd_id 4302 list_pids : [1340637316, 1340636792, 1340636736, 1340636730, 1340636722, 1340636675, 1340636672, 1340636669, 1340636668, 1340636637, 1340636632, 1340636630, 1340636629, 1340636525, 1340636505, 1340636434, 1340636428, 1340636426, 1340636382, 1340636376, 1340636371, 1340636368, 1340636365, 1340636363, 1340636318, 1340636315, 1340636307, 1340636296, 1340636239, 1340636233, 1340636220, 1340636212, 1340636210, 1340636201, 1340636045, 1340636018, 1340636016, 1340636009, 1340635561, 1340635551] Looping around the photos to save general results len do output : 1 /20980311Didn'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, '2631323') ('4302', '20980311', '1340637316', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636792', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636736', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636730', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636722', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636675', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636672', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636669', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636668', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636637', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636632', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636630', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636629', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636525', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636505', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636434', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636428', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636426', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636382', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636376', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636371', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636368', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636365', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636363', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636318', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636315', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636307', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636296', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636239', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636233', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636220', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636212', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636210', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636201', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636045', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636018', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636016', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340636009', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635561', None, None, None, None, None, '2631323') ('4302', None, None, None, None, None, None, None, '2631323') ('4302', '20980311', '1340635551', None, None, None, None, None, '2631323') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '20980311', 'None', None, None, None, None, '2631323'), ('4302', '20980311', '1340637316', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636792', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636736', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636730', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636722', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636675', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636672', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636669', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636668', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636637', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636632', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636630', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636629', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636525', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636505', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636434', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636428', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636426', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636382', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636376', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636371', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636368', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636365', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636363', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636318', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636315', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636307', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636296', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636239', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636233', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636220', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636212', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636210', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636201', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636045', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636018', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636016', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340636009', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340635561', None, None, None, None, None, '2631323'), ('4302', '20980311', '1340635551', None, None, None, None, None, '2631323')] time used for this insertion : 0.02210712432861328 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.3804848194122314 time spend to save output : 0.022492170333862305 total time spend for step 5 : 4.402976989746094 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 (2631323) 3.16user 2.40system 0:24.01elapsed 23%CPU (0avgtext+0avgdata 169128maxresident)k 248inputs+35576outputs (6major+89415minor)pagefaults 0swaps