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 : 1455648 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 (2667352) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2667352) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404760 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2667352'] with mtr_portfolio_ids : ['21404760'] and first list_photo_ids : [] new path : /proc/1455648/ Name: python3 Umask: 0002 State: R (running) Tgid: 1455648 Ngid: 0 Pid: 1455648 PPid: 1455647 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1455648 NSpid: 1455648 NSpgid: 1453415 NSsid: 1453415 VmPeak: 1106836 kB VmSize: 1106836 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97532 kB VmRSS: 97532 kB RssAnon: 59748 kB RssFile: 37784 kB RssShmem: 0 kB VmData: 865588 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 624 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/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: 54 nonvoluntary_ctxt_switches: 86 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1455648', 'Ngid': '0', 'Pid': '1455648', 'PPid': '1455647', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1455648', 'NSpid': '1455648', 'NSpgid': '1453415', 'NSsid': '1453415', 'VmPeak': '1106836 kB', 'VmSize': '1106836 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97532 kB', 'VmRSS': '97532 kB', 'RssAnon': '59748 kB', 'RssFile': '37784 kB', 'RssShmem': '0 kB', 'VmData': '865588 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '624 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/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': '54', 'nonvoluntary_ctxt_switches': '86'} ('datou_batch_current', '1455648', '1106836', '0', '1106836', '865588', '97532', b'', 'marlene', '2667352') 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 (21404760) 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 (2667352 ) ) 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 (21404760) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343739831, 'portfolio_id': 21404760}, {'photo_id': 1343739780, 'portfolio_id': 21404760}, {'photo_id': 1343739779, 'portfolio_id': 21404760}, {'photo_id': 1343739775, 'portfolio_id': 21404760}, {'photo_id': 1343739769, 'portfolio_id': 21404760}, {'photo_id': 1343739762, 'portfolio_id': 21404760}, {'photo_id': 1343739728, 'portfolio_id': 21404760}, {'photo_id': 1343739726, 'portfolio_id': 21404760}, {'photo_id': 1343739721, 'portfolio_id': 21404760}, {'photo_id': 1343739718, 'portfolio_id': 21404760}, {'photo_id': 1343739712, 'portfolio_id': 21404760}, {'photo_id': 1343739707, 'portfolio_id': 21404760}, {'photo_id': 1343739666, 'portfolio_id': 21404760}, {'photo_id': 1343739658, 'portfolio_id': 21404760}, {'photo_id': 1343739653, 'portfolio_id': 21404760}, {'photo_id': 1343739612, 'portfolio_id': 21404760}, {'photo_id': 1343739607, 'portfolio_id': 21404760}, {'photo_id': 1343739601, 'portfolio_id': 21404760}, {'photo_id': 1343739569, 'portfolio_id': 21404760}, {'photo_id': 1343739567, 'portfolio_id': 21404760}, {'photo_id': 1343739563, 'portfolio_id': 21404760}, {'photo_id': 1343739559, 'portfolio_id': 21404760}, {'photo_id': 1343739554, 'portfolio_id': 21404760}, {'photo_id': 1343739525, 'portfolio_id': 21404760}, {'photo_id': 1343739523, 'portfolio_id': 21404760}, {'photo_id': 1343739517, 'portfolio_id': 21404760}, {'photo_id': 1343739512, 'portfolio_id': 21404760}, {'photo_id': 1343739504, 'portfolio_id': 21404760}, {'photo_id': 1343739421, 'portfolio_id': 21404760}, {'photo_id': 1343739416, 'portfolio_id': 21404760}, {'photo_id': 1343739318, 'portfolio_id': 21404760}, {'photo_id': 1343739223, 'portfolio_id': 21404760}, {'photo_id': 1343739178, 'portfolio_id': 21404760}, {'photo_id': 1343739144, 'portfolio_id': 21404760}, {'photo_id': 1343739141, 'portfolio_id': 21404760}, {'photo_id': 1343739137, 'portfolio_id': 21404760}, {'photo_id': 1343739132, 'portfolio_id': 21404760}, {'photo_id': 1343739098, 'portfolio_id': 21404760}, {'photo_id': 1343739093, 'portfolio_id': 21404760}] map_portfolio_id_photo_id: {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} ##### 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.014826536178588867 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Mar 14 01:03:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404760) 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 : 21404760 get user id for portfolio 21404760 get sub ptf for main ptf 21404760, type 3726 and hashtags ['Teint_Dans_La_Masse', 'Carton_brun', 'papier', 'Carton_gris', 'mal_croppe', 'environnement', 'cartonnette', 'kraft', 'metal', 'plastique', 'flou', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404760 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) 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`=21404760 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[21404760, 21404877, 3726, 0.5, 2107752385, 979], [21404760, 21404878, 3726, 0.5, 2107753024, 979], [21404760, 21404879, 3726, 0.5, 492668766, 979], [21404760, 21404880, 3726, 0.5, 2107753020, 979], [21404760, 21404881, 3726, 0.5, 2107755527, 979], [21404760, 21404882, 3726, 0.5, 493012381, 979], [21404760, 21404883, 3726, 0.5, 702398920, 979], [21404760, 21404884, 3726, 0.5, 493202403, 979], [21404760, 21404885, 3726, 0.5, 492628673, 979], [21404760, 21404886, 3726, 0.5, 492725882, 979], [21404760, 21404887, 3726, 0.5, 492777938, 979], [21404760, 21404888, 3726, 0.5, 2107752406, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404760 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) 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`=21404760 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21404760, 'sub_port_id': 21404877, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978510, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'Carton_brun': {'main_port_id': 21404760, 'sub_port_id': 21404878, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978511, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'papier': {'main_port_id': 21404760, 'sub_port_id': 21404879, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978512, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'Carton_gris': {'main_port_id': 21404760, 'sub_port_id': 21404880, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978513, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'mal_croppe': {'main_port_id': 21404760, 'sub_port_id': 21404881, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978514, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'environnement': {'main_port_id': 21404760, 'sub_port_id': 21404882, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978515, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'cartonnette': {'main_port_id': 21404760, 'sub_port_id': 21404883, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978516, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'kraft': {'main_port_id': 21404760, 'sub_port_id': 21404884, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978517, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'metal': {'main_port_id': 21404760, 'sub_port_id': 21404885, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978518, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'plastique': {'main_port_id': 21404760, 'sub_port_id': 21404886, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978519, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'flou': {'main_port_id': 21404760, 'sub_port_id': 21404887, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978520, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}, 'autre_refus': {'main_port_id': 21404760, 'sub_port_id': 21404888, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978521, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 3, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21404877 , 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=21404760 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 (21404877) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404878 , 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=21404760 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 (21404878) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404879 , 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=21404760 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 (21404879) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404880 , 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=21404760 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 (21404880) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404881 , 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=21404760 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 (21404881) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404882 , 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=21404760 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 (21404882) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404883 , 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=21404760 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 (21404883) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404884 , 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=21404760 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 (21404884) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404885 , 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=21404760 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 (21404885) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404886 , 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=21404760 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 (21404886) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404887 , 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=21404760 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 (21404887) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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 21404888 , 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=21404760 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 (21404888) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21404760) result : ((1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,)) 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`=21404760 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) 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`=21404760 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__13032025_12_00_14_010200_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[21404760, 21404889, 4417, 0.5, 2107752385, 979], [21404760, 21404890, 4417, 0.5, 2107753024, 979], [21404760, 21404891, 4417, 0.5, 492668766, 979], [21404760, 21404892, 4417, 0.5, 2107753020, 979], [21404760, 21404893, 4417, 0.5, 2107755527, 979], [21404760, 21404894, 4417, 0.5, 493012381, 979], [21404760, 21404895, 4417, 0.5, 702398920, 979], [21404760, 21404896, 4417, 0.5, 493202403, 979], [21404760, 21404897, 4417, 0.5, 492628673, 979], [21404760, 21404898, 4417, 0.5, 492725882, 979], [21404760, 21404899, 4417, 0.5, 492777938, 979], [21404760, 21404900, 4417, 0.5, 2107752406, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21404760 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) 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`=21404760 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','papier','Carton_gris','mal_croppe','environnement','cartonnette','kraft','metal','plastique','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21404760, 'sub_port_id': 21404889, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978522, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'Carton_brun': {'main_port_id': 21404760, 'sub_port_id': 21404890, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978523, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'papier': {'main_port_id': 21404760, 'sub_port_id': 21404891, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978524, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'Carton_gris': {'main_port_id': 21404760, 'sub_port_id': 21404892, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978525, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'mal_croppe': {'main_port_id': 21404760, 'sub_port_id': 21404893, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978526, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'environnement': {'main_port_id': 21404760, 'sub_port_id': 21404894, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978527, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'cartonnette': {'main_port_id': 21404760, 'sub_port_id': 21404895, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978528, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'kraft': {'main_port_id': 21404760, 'sub_port_id': 21404896, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978529, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'metal': {'main_port_id': 21404760, 'sub_port_id': 21404897, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978530, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'plastique': {'main_port_id': 21404760, 'sub_port_id': 21404898, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978531, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'flou': {'main_port_id': 21404760, 'sub_port_id': 21404899, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978532, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}, 'autre_refus': {'main_port_id': 21404760, 'sub_port_id': 21404900, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13978533, 'last_updated_at': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 14, 1, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 14, 1, 4, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404889,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404877 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404890,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404878 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404891,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404879 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404892,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404880 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404893,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404881 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404894,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404882 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404895,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404883 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404896,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404897,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404885 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404898,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404886 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404899,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404887 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21404900,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21404888 lien utilise dans velours : https://www.fotonower.com/velours/21404889,21404890,21404891,21404892,21404893,21404894,21404895,21404896,21404897,21404898,21404899,21404900?tags=Teint_Dans_La_Masse,Carton_brun,papier,Carton_gris,mal_croppe,environnement,cartonnette,kraft,metal,plastique,flou,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404760]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : False mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] Looping around the photos to save general results len do output : 1 /21404760. 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, '2667352') ('4302', '21404760', '1343739831', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739780', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739779', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739775', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739769', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739762', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739728', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739726', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739721', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739718', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739712', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739707', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739666', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739658', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739653', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739612', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739607', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739601', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739569', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739567', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739563', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739559', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739554', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739525', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739523', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739517', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739512', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739504', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739421', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739416', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739318', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739223', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739178', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739144', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739141', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739137', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739132', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739098', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739093', None, None, None, None, None, '2667352') 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', None, '21404760', "{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}", None, None, None, None, '2667352'), ('4302', '21404760', '1343739831', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739780', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739779', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739775', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739769', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739762', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739728', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739726', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739721', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739718', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739712', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739707', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739666', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739658', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739653', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739612', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739607', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739601', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739569', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739567', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739563', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739559', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739554', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739525', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739523', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739517', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739512', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739504', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739421', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739416', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739318', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739223', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739178', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739144', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739141', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739137', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739132', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739098', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739093', None, None, None, None, None, '2667352')] time used for this insertion : 0.020926237106323242 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.019232988357544 time spend to save output : 0.021330833435058594 total time spend for step 1 : 2.0405638217926025 step2:final Fri Mar 14 01:04:01 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 (21404760) 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 21404760 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343739098,1343739093,1343739144,1343739141,1343739137,1343739132,1343739178,1343739223,1343739318,1343739421,1343739416,1343739525,1343739523,1343739517,1343739512,1343739504,1343739569,1343739567,1343739563,1343739559,1343739554,1343739612,1343739607,1343739601,1343739666,1343739658,1343739653,1343739728,1343739726,1343739721,1343739718,1343739712,1343739707,1343739780,1343739779,1343739775,1343739769,1343739762,1343739831); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404760]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} new output for save of step final : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : False mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] Looping around the photos to save general results len do output : 39 /1343739831.Didn't retrieve data . /1343739780.Didn't retrieve data . /1343739779.Didn't retrieve data . /1343739775.Didn't retrieve data . /1343739769.Didn't retrieve data . /1343739762.Didn't retrieve data . /1343739728.Didn't retrieve data . /1343739726.Didn't retrieve data . /1343739721.Didn't retrieve data . /1343739718.Didn't retrieve data . /1343739712.Didn't retrieve data . /1343739707.Didn't retrieve data . /1343739666.Didn't retrieve data . /1343739658.Didn't retrieve data . /1343739653.Didn't retrieve data . /1343739612.Didn't retrieve data . /1343739607.Didn't retrieve data . /1343739601.Didn't retrieve data . /1343739569.Didn't retrieve data . /1343739567.Didn't retrieve data . /1343739563.Didn't retrieve data . /1343739559.Didn't retrieve data . /1343739554.Didn't retrieve data . /1343739525.Didn't retrieve data . /1343739523.Didn't retrieve data . /1343739517.Didn't retrieve data . /1343739512.Didn't retrieve data . /1343739504.Didn't retrieve data . /1343739421.Didn't retrieve data . /1343739416.Didn't retrieve data . /1343739318.Didn't retrieve data . /1343739223.Didn't retrieve data . /1343739178.Didn't retrieve data . /1343739144.Didn't retrieve data . /1343739141.Didn't retrieve data . /1343739137.Didn't retrieve data . /1343739132.Didn't retrieve data . /1343739098.Didn't retrieve data . /1343739093.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, '2667352') ('4302', '21404760', '1343739831', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739780', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739779', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739775', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739769', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739762', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739728', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739726', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739721', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739718', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739712', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739707', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739666', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739658', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739653', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739612', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739607', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739601', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739569', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739567', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739563', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739559', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739554', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739525', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739523', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739517', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739512', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739504', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739421', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739416', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739318', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739223', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739178', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739144', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739141', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739137', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739132', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739098', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739093', None, None, None, None, None, '2667352') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 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', '21404760', '1343739831', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739780', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739779', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739775', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739769', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739762', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739728', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739726', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739721', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739718', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739712', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739707', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739666', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739658', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739653', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739612', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739607', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739601', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739569', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739567', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739563', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739559', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739554', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739525', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739523', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739517', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739512', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739504', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739421', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739416', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739318', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739223', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739178', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739144', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739141', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739137', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739132', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739098', '0.0', None, None, None, None, '2667352'), ('4302', '21404760', '1343739093', '0.0', None, None, None, None, '2667352')] time used for this insertion : 0.0222170352935791 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.014814615249633789 time spend to save output : 0.02372121810913086 total time spend for step 2 : 0.03853583335876465 step3:velours_tree Fri Mar 14 01:04:01 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 : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} input_args_next_step : {21404760: ()} output_args : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} args : 21404760 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 : ({'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404760) 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([21404760]) 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.27648019790649414 time spend to save output : 5.984306335449219e-05 total time spend for step 3 : 0.27654004096984863 step4:send_mail_cod Fri Mar 14 01:04:01 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 : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} input_args_next_step : {1343739831: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739831 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739780 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739779 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739775 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739769 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739762 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739728 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739726 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739721 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739718 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739712 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739707 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739666 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739658 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739653 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739612 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739607 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739601 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739569 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739567 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739563 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739559 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739554 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739525 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739523 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739517 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739512 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739504 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739421 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739416 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739318 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739223 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739178 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739144 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739141 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739137 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739132 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739098 depend.output_id : 0 input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ()} output_args : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',)} args : 1343739093 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 : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} input_args_next_step : {1343739831: ('0.0',), 1343739780: ('0.0',), 1343739779: ('0.0',), 1343739775: ('0.0',), 1343739769: ('0.0',), 1343739762: ('0.0',), 1343739728: ('0.0',), 1343739726: ('0.0',), 1343739721: ('0.0',), 1343739718: ('0.0',), 1343739712: ('0.0',), 1343739707: ('0.0',), 1343739666: ('0.0',), 1343739658: ('0.0',), 1343739653: ('0.0',), 1343739612: ('0.0',), 1343739607: ('0.0',), 1343739601: ('0.0',), 1343739569: ('0.0',), 1343739567: ('0.0',), 1343739563: ('0.0',), 1343739559: ('0.0',), 1343739554: ('0.0',), 1343739525: ('0.0',), 1343739523: ('0.0',), 1343739517: ('0.0',), 1343739512: ('0.0',), 1343739504: ('0.0',), 1343739421: ('0.0',), 1343739416: ('0.0',), 1343739318: ('0.0',), 1343739223: ('0.0',), 1343739178: ('0.0',), 1343739144: ('0.0',), 1343739141: ('0.0',), 1343739137: ('0.0',), 1343739132: ('0.0',), 1343739098: ('0.0',), 1343739093: ('0.0',), 21404760: ()} output_args : {21404760: [{'Teint_Dans_La_Masse': 21404877, 'Carton_brun': 21404878, 'papier': 21404879, 'Carton_gris': 21404880, 'mal_croppe': 21404881, 'environnement': 21404882, 'cartonnette': 21404883, 'kraft': 21404884, 'metal': 21404885, 'plastique': 21404886, 'flou': 21404887, 'autre_refus': 21404888}]} args : 21404760 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 :40, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404760) 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 (1343739831,1343739780,1343739779,1343739775,1343739769,1343739762,1343739728,1343739726,1343739721,1343739718,1343739712,1343739707,1343739666,1343739658,1343739653,1343739612,1343739607,1343739601,1343739569,1343739567,1343739563,1343739559,1343739554,1343739525,1343739523,1343739517,1343739512,1343739504,1343739421,1343739416,1343739318,1343739223,1343739178,1343739144,1343739141,1343739137,1343739132,1343739098,1343739093) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343739093 begin to download photo : 1343739318 begin to download photo : 1343739554 begin to download photo : 1343739653 begin to download photo : 1343739728 download finish for photo 1343739653 begin to download photo : 1343739658 download finish for photo 1343739554 begin to download photo : 1343739559 download finish for photo 1343739093 begin to download photo : 1343739098 download finish for photo 1343739728 begin to download photo : 1343739762 download finish for photo 1343739318 begin to download photo : 1343739416 download finish for photo 1343739098 begin to download photo : 1343739132 download finish for photo 1343739762 begin to download photo : 1343739769 download finish for photo 1343739559 begin to download photo : 1343739563 download finish for photo 1343739658 begin to download photo : 1343739666 download finish for photo 1343739132 begin to download photo : 1343739137 download finish for photo 1343739416 begin to download photo : 1343739421 download finish for photo 1343739666 begin to download photo : 1343739707 download finish for photo 1343739769 begin to download photo : 1343739775 download finish for photo 1343739563 begin to download photo : 1343739567 download finish for photo 1343739137 begin to download photo : 1343739141 download finish for photo 1343739567 begin to download photo : 1343739569 download finish for photo 1343739421 begin to download photo : 1343739504 download finish for photo 1343739707 begin to download photo : 1343739712 download finish for photo 1343739141 begin to download photo : 1343739144 download finish for photo 1343739775 begin to download photo : 1343739779 download finish for photo 1343739504 begin to download photo : 1343739512 download finish for photo 1343739569 begin to download photo : 1343739601 download finish for photo 1343739144 begin to download photo : 1343739178 download finish for photo 1343739712 begin to download photo : 1343739718 download finish for photo 1343739779 begin to download photo : 1343739780 download finish for photo 1343739601 begin to download photo : 1343739607 download finish for photo 1343739512 begin to download photo : 1343739517 download finish for photo 1343739178 begin to download photo : 1343739223 download finish for photo 1343739718 begin to download photo : 1343739721 download finish for photo 1343739607 begin to download photo : 1343739612 download finish for photo 1343739223 download finish for photo 1343739780 begin to download photo : 1343739831 download finish for photo 1343739517 begin to download photo : 1343739523 download finish for photo 1343739721 begin to download photo : 1343739726 download finish for photo 1343739612 download finish for photo 1343739523 begin to download photo : 1343739525 download finish for photo 1343739831 download finish for photo 1343739726 download finish for photo 1343739525 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette214048811741910642/ imagette214048831741910642/ imagette214048841741910642/ imagette214048851741910642/ imagette214048861741910642/ imagette214048871741910642/ imagette214048881741910642/ imagette214048771741910642/ imagette214048781741910642/ imagette214048801741910642/ length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P21404760_14-03-2025_01_04_02.pdf 21404881 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=21404881 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048811741910642 21404883 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=21404883 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048831741910642 21404884 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=21404884 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048841741910642 21404885 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=21404885 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048851741910642 21404886 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=21404886 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048861741910642 21404887 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=21404887 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048871741910642 21404888 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=21404888 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048881741910642 21404877 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=21404877 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048771741910642 21404878 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=21404878 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048781741910642 21404880 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=21404880 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette214048801741910642 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21404760 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21404889,21404890,21404891,21404892,21404893,21404894,21404895,21404896,21404897,21404898,21404899,21404900?tags=Teint_Dans_La_Masse,Carton_brun,papier,Carton_gris,mal_croppe,environnement,cartonnette,kraft,metal,plastique,flou,autre_refus your option no_mail is active, we will not send the real mail to your client args[1343739831] : ('0.0',) no score found for photo 1343739831 We are sending mail with results at report@fotonower.com args[1343739780] : ('0.0',) no score found for photo 1343739780 We are sending mail with results at report@fotonower.com args[1343739779] : ('0.0',) no score found for photo 1343739779 We are sending mail with results at report@fotonower.com args[1343739775] : ('0.0',) no score found for photo 1343739775 We are sending mail with results at report@fotonower.com args[1343739769] : ('0.0',) no score found for photo 1343739769 We are sending mail with results at report@fotonower.com args[1343739762] : ('0.0',) no score found for photo 1343739762 We are sending mail with results at report@fotonower.com args[1343739728] : ('0.0',) no score found for photo 1343739728 We are sending mail with results at report@fotonower.com args[1343739726] : ('0.0',) no score found for photo 1343739726 We are sending mail with results at report@fotonower.com args[1343739721] : ('0.0',) no score found for photo 1343739721 We are sending mail with results at report@fotonower.com args[1343739718] : ('0.0',) no score found for photo 1343739718 We are sending mail with results at report@fotonower.com args[1343739712] : ('0.0',) no score found for photo 1343739712 We are sending mail with results at report@fotonower.com args[1343739707] : ('0.0',) no score found for photo 1343739707 We are sending mail with results at report@fotonower.com args[1343739666] : ('0.0',) no score found for photo 1343739666 We are sending mail with results at report@fotonower.com args[1343739658] : ('0.0',) no score found for photo 1343739658 We are sending mail with results at report@fotonower.com args[1343739653] : ('0.0',) no score found for photo 1343739653 We are sending mail with results at report@fotonower.com args[1343739612] : ('0.0',) no score found for photo 1343739612 We are sending mail with results at report@fotonower.com args[1343739607] : ('0.0',) no score found for photo 1343739607 We are sending mail with results at report@fotonower.com args[1343739601] : ('0.0',) no score found for photo 1343739601 We are sending mail with results at report@fotonower.com args[1343739569] : ('0.0',) no score found for photo 1343739569 We are sending mail with results at report@fotonower.com args[1343739567] : ('0.0',) no score found for photo 1343739567 We are sending mail with results at report@fotonower.com args[1343739563] : ('0.0',) no score found for photo 1343739563 We are sending mail with results at report@fotonower.com args[1343739559] : ('0.0',) no score found for photo 1343739559 We are sending mail with results at report@fotonower.com args[1343739554] : ('0.0',) no score found for photo 1343739554 We are sending mail with results at report@fotonower.com args[1343739525] : ('0.0',) no score found for photo 1343739525 We are sending mail with results at report@fotonower.com args[1343739523] : ('0.0',) no score found for photo 1343739523 We are sending mail with results at report@fotonower.com args[1343739517] : ('0.0',) no score found for photo 1343739517 We are sending mail with results at report@fotonower.com args[1343739512] : ('0.0',) no score found for photo 1343739512 We are sending mail with results at report@fotonower.com args[1343739504] : ('0.0',) no score found for photo 1343739504 We are sending mail with results at report@fotonower.com args[1343739421] : ('0.0',) no score found for photo 1343739421 We are sending mail with results at report@fotonower.com args[1343739416] : ('0.0',) no score found for photo 1343739416 We are sending mail with results at report@fotonower.com args[1343739318] : ('0.0',) no score found for photo 1343739318 We are sending mail with results at report@fotonower.com args[1343739223] : ('0.0',) no score found for photo 1343739223 We are sending mail with results at report@fotonower.com args[1343739178] : ('0.0',) no score found for photo 1343739178 We are sending mail with results at report@fotonower.com args[1343739144] : ('0.0',) no score found for photo 1343739144 We are sending mail with results at report@fotonower.com args[1343739141] : ('0.0',) no score found for photo 1343739141 We are sending mail with results at report@fotonower.com args[1343739137] : ('0.0',) no score found for photo 1343739137 We are sending mail with results at report@fotonower.com args[1343739132] : ('0.0',) no score found for photo 1343739132 We are sending mail with results at report@fotonower.com args[1343739098] : ('0.0',) no score found for photo 1343739098 We are sending mail with results at report@fotonower.com args[1343739093] : ('0.0',) no score found for photo 1343739093 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=21404760 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_P21404760_14-03-2025_01_04_02.pdf results_Auto_P21404760_14-03-2025_01_04_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_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','21404760','results_Auto_P21404760_14-03-2025_01_04_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_02.pdf','pdf','','0.29','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404760]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : False mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] 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, '2667352') ('4302', '21404760', '1343739831', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739780', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739779', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739775', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739769', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739762', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739728', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739726', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739721', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739718', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739712', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739707', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739666', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739658', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739653', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739612', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739607', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739601', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739569', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739567', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739563', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739559', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739554', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739525', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739523', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739517', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739512', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739504', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739421', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739416', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739318', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739223', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739178', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739144', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739141', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739137', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739132', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739098', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739093', None, None, None, None, None, '2667352') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21404760', '1343739831', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739780', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739779', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739775', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739769', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739762', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739728', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739726', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739721', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739718', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739712', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739707', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739666', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739658', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739653', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739612', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739607', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739601', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739569', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739567', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739563', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739559', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739554', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739525', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739523', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739517', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739512', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739504', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739421', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739416', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739318', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739223', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739178', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739144', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739141', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739137', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739132', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739098', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739093', None, None, None, None, None, '2667352')] time used for this insertion : 0.018443584442138672 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.394069194793701 time spend to save output : 0.01887822151184082 total time spend for step 4 : 3.412947416305542 step5:split_time_score Fri Mar 14 01:04:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21404760'] 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 : [('21404760',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21404760) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343739093: {'path': 'temp/1741910641_1455648_1343739093_b68e8bb522786f8c3a00354f12adc2f5.jpg', 'extension': 'jpg'}, 1343739098: {'path': 'temp/1741910641_1455648_1343739098_3c676b2baf09e52ae0a952cd15969caf.jpg', 'extension': 'jpg'}, 1343739132: {'path': 'temp/1741910641_1455648_1343739132_d722081e46fe8db571511d25a58e86a8.jpg', 'extension': 'jpg'}, 1343739137: {'path': 'temp/1741910641_1455648_1343739137_282c544a14ea0c41ce7e39d15894612f.jpg', 'extension': 'jpg'}, 1343739141: {'path': 'temp/1741910641_1455648_1343739141_c5ca7dfbd35c067bbaaf49b38b8dc2e2.jpg', 'extension': 'jpg'}, 1343739144: {'path': 'temp/1741910641_1455648_1343739144_d4df57e37770304a887a759cdf3087ff.jpg', 'extension': 'jpg'}, 1343739178: {'path': 'temp/1741910641_1455648_1343739178_1831fcb41d56bfea0491d2a70a1f65a3.jpg', 'extension': 'jpg'}, 1343739223: {'path': 'temp/1741910641_1455648_1343739223_424ad7272da0f72a55c798e2dcdf2a5b.jpg', 'extension': 'jpg'}, 1343739554: {'path': 'temp/1741910641_1455648_1343739554_437bace1c747eb17d5a99b5d9bc31a82.jpg', 'extension': 'jpg'}, 1343739559: {'path': 'temp/1741910641_1455648_1343739559_ce8d3222fab71417c17608d65cf90183.jpg', 'extension': 'jpg'}, 1343739563: {'path': 'temp/1741910641_1455648_1343739563_bc71f72211cf0cb6a830c8e16110cd83.jpg', 'extension': 'jpg'}, 1343739567: {'path': 'temp/1741910641_1455648_1343739567_384e0ca484110501d1304045a4e22d04.jpg', 'extension': 'jpg'}, 1343739569: {'path': 'temp/1741910641_1455648_1343739569_d82accebac5453556871a3b9afb76547.jpg', 'extension': 'jpg'}, 1343739601: {'path': 'temp/1741910641_1455648_1343739601_df498a10b76075fffdf1c8edcc10db40.jpg', 'extension': 'jpg'}, 1343739607: {'path': 'temp/1741910641_1455648_1343739607_7d3b9fb07c29e09159860a4242c1e571.jpg', 'extension': 'jpg'}, 1343739612: {'path': 'temp/1741910641_1455648_1343739612_b7ac826be4c212b189960f481fadb66d.jpg', 'extension': 'jpg'}, 1343739728: {'path': 'temp/1741910641_1455648_1343739728_e3417d5dc597a98e0bbf3277277cf307.jpg', 'extension': 'jpg'}, 1343739762: {'path': 'temp/1741910641_1455648_1343739762_591475b2bbd7b4ef970c3b09ee4e3908.jpg', 'extension': 'jpg'}, 1343739769: {'path': 'temp/1741910641_1455648_1343739769_78188fb8a389a90b34abb45345b4a548.jpg', 'extension': 'jpg'}, 1343739775: {'path': 'temp/1741910641_1455648_1343739775_0a96c68597280aa1ba96096d734ef342.jpg', 'extension': 'jpg'}, 1343739779: {'path': 'temp/1741910641_1455648_1343739779_f603e1c2a4ffb6f6428e8e52eafe1e56.jpg', 'extension': 'jpg'}, 1343739780: {'path': 'temp/1741910641_1455648_1343739780_08a7c86f835ddbba5c6dae6949a9d665.jpg', 'extension': 'jpg'}, 1343739831: {'path': 'temp/1741910641_1455648_1343739831_faf699f5e48e78da73af706d59ed7cb4.jpg', 'extension': 'jpg'}, 1343739653: {'path': 'temp/1741910641_1455648_1343739653_6f2bf59a07e0b454722ba39de57bd89a.jpg', 'extension': 'jpg'}, 1343739658: {'path': 'temp/1741910641_1455648_1343739658_bf8d546198eb640a2e735a8b805e30d5.jpg', 'extension': 'jpg'}, 1343739666: {'path': 'temp/1741910641_1455648_1343739666_436219e30d92b78f7105e8f88060ca04.jpg', 'extension': 'jpg'}, 1343739707: {'path': 'temp/1741910641_1455648_1343739707_9def325c5b1b6a1a784ad8a11ababb4e.jpg', 'extension': 'jpg'}, 1343739712: {'path': 'temp/1741910641_1455648_1343739712_c27ebb8909c5f206f13f77020f3ffc45.jpg', 'extension': 'jpg'}, 1343739718: {'path': 'temp/1741910641_1455648_1343739718_b2b65115311d2ab9b3c546c0fc912a9a.jpg', 'extension': 'jpg'}, 1343739721: {'path': 'temp/1741910641_1455648_1343739721_b5570bbd819c43ecf81b9ef8a2f0bdc0.jpg', 'extension': 'jpg'}, 1343739726: {'path': 'temp/1741910641_1455648_1343739726_0a28e06c9b5d0cd5f402eb1e03cf84da.jpg', 'extension': 'jpg'}, 1343739318: {'path': 'temp/1741910641_1455648_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95.jpg', 'extension': 'jpg'}, 1343739416: {'path': 'temp/1741910641_1455648_1343739416_c11e68c212bf34de68c013337fb79e87.jpg', 'extension': 'jpg'}, 1343739421: {'path': 'temp/1741910641_1455648_1343739421_b1eff3f312a3efde1ecc355955fc3709.jpg', 'extension': 'jpg'}, 1343739504: {'path': 'temp/1741910641_1455648_1343739504_7b549c53d0783219bfd6a954f4ed43b6.jpg', 'extension': 'jpg'}, 1343739512: {'path': 'temp/1741910641_1455648_1343739512_503487c56704972953ffa0df069583a2.jpg', 'extension': 'jpg'}, 1343739517: {'path': 'temp/1741910641_1455648_1343739517_70f9dc278e8746f22eccf0611a41ae92.jpg', 'extension': 'jpg'}, 1343739523: {'path': 'temp/1741910641_1455648_1343739523_52f25d093f51d6df1496cfe79a9dbada.jpg', 'extension': 'jpg'}, 1343739525: {'path': 'temp/1741910641_1455648_1343739525_192242a825e252250fda0c1cc86085aa.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 = 21404760; (('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 = 21404760 group by h (('12', 39),) 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=21404760 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 (21404760) 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 (21404760) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13032025 21404760 Nombre de photos uploadées : 39 / 23040 (0%) 13032025 21404760 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 13032025 21404760 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1343739098, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/3c676b2baf09e52ae0a952cd15969caf.jpg', 'username': None, 'uploaded_at': 1741863703, 'text': 'image_13032025_12_00_14_10200.jpg'}, {'photo_id': 1343739093, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/b68e8bb522786f8c3a00354f12adc2f5.jpg', 'username': None, 'uploaded_at': 1741863703, 'text': 'image_13032025_12_00_24_10140.jpg'}, {'photo_id': 1343739144, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/d4df57e37770304a887a759cdf3087ff.jpg', 'username': None, 'uploaded_at': 1741863763, 'text': 'image_13032025_12_00_35_10141.jpg'}, {'photo_id': 1343739141, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/13/c5ca7dfbd35c067bbaaf49b38b8dc2e2.jpg', 'username': None, 'uploaded_at': 1741863763, 'text': 'image_13032025_12_01_24_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016238689422607422 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21404760, '2025-03-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1664531,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02431654930114746 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= 1664531 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21372357, 'dashboard_result_id': 9431015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_13-03-2025_06_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21372764, 'dashboard_result_id': 9431016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_13-03-2025_06_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21373172, 'dashboard_result_id': 9431017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_13-03-2025_07_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21373693, 'dashboard_result_id': 9431018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_13-03-2025_07_23_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21374101, 'dashboard_result_id': 9431019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_13-03-2025_07_33_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21374849, 'dashboard_result_id': 9431020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_13-03-2025_07_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21375494, 'dashboard_result_id': 9431021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_13-03-2025_08_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21376239, 'dashboard_result_id': 9431022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_13-03-2025_08_20_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21376738, 'dashboard_result_id': 9431023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_13-03-2025_08_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404712, 'dashboard_result_id': 9431024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404713, 'dashboard_result_id': 9431025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404714, 'dashboard_result_id': 9431026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404733, 'dashboard_result_id': 9431027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404734, 'dashboard_result_id': 9431028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404753, 'dashboard_result_id': 9431029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404754, 'dashboard_result_id': 9431031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404755, 'dashboard_result_id': 9431034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404756, 'dashboard_result_id': 9431037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404757, 'dashboard_result_id': 9431041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404758, 'dashboard_result_id': 9431044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404759, 'dashboard_result_id': 9431047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_14-03-2025_01_03_31.pdf'}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404760, 'dashboard_result_id': 9431050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404761, 'dashboard_result_id': 9431053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf'}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404762, 'dashboard_result_id': 9431057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_01_02_33.pdf'}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21404763, 'dashboard_result_id': 9431060, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_01_02_35.pdf'}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21377710, 'dashboard_result_id': 9431061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_13-03-2025_15_27_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21377716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21377717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21377718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21377719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21377720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21377721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21377722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21377723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21377724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21377725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21377726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21377727, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21383050, 'dashboard_result_id': 9431062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21384820, 'dashboard_result_id': 9431063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21385552, 'dashboard_result_id': 9431064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21386481, 'dashboard_result_id': 9431065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21388894, 'dashboard_result_id': 9431066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21388973, 'dashboard_result_id': 9431067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21389291, 'dashboard_result_id': 9431068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21390308, 'dashboard_result_id': 9431069, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21391251, 'dashboard_result_id': 9431070, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21392334, 'dashboard_result_id': 9431072, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21393678, 'dashboard_result_id': 9431073, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21394780, 'dashboard_result_id': 9431074, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21395431, 'dashboard_result_id': 9431075, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21396174, 'dashboard_result_id': 9431076, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21397287, 'dashboard_result_id': 9431077, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21398040, 'dashboard_result_id': 9431078, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21400996, 'dashboard_result_id': 9431079, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21401669, 'dashboard_result_id': 9431080, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}"}, {'dashboat_entry_day': 1664531, 'dashboard_run_id': 1674756, 'mtr_portfolio_id': 21402278, 'dashboard_result_id': 9431081, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, '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 = 21372357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665086, 'mtr_portfolio_id': 21372357, 'created_at': datetime.datetime(2025, 3, 13, 6, 31, 6), 'result': '0.11229118769661359', 'result_long': None, 'result_double': None}] Qualite : 0.11229118769661359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21372357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_13-03-2025_06_31_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21372357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_13-03-2025_06_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}" where mtr_portfolio_id = 21372357 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21372357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431015, 0.11229118769661359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372357_13-03-2025_06_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372372, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21372764 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665162, 'mtr_portfolio_id': 21372764, 'created_at': datetime.datetime(2025, 3, 13, 6, 48, 57), 'result': '0.08908572601049075', 'result_long': None, 'result_double': None}] Qualite : 0.08908572601049075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21372764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_13-03-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21372764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_13-03-2025_06_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}" where mtr_portfolio_id = 21372764 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21372764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431016, 0.08908572601049075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21372764_13-03-2025_06_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21372765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21372766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21372767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21372768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21372769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21372770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21372771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21372772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21372773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21372774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21372775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21372776, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21373172 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665193, 'mtr_portfolio_id': 21373172, 'created_at': datetime.datetime(2025, 3, 13, 7, 2, 56), 'result': '0.08285900933499872', 'result_long': None, 'result_double': None}] Qualite : 0.08285900933499872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21373172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_13-03-2025_07_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21373172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_13-03-2025_07_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}" where mtr_portfolio_id = 21373172 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21373172 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431017, 0.08285900933499872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373172_13-03-2025_07_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21373693 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665278, 'mtr_portfolio_id': 21373693, 'created_at': datetime.datetime(2025, 3, 13, 7, 23), 'result': '0.07507337278538906', 'result_long': None, 'result_double': None}] Qualite : 0.07507337278538906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21373693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_13-03-2025_07_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21373693 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_13-03-2025_07_23_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}" where mtr_portfolio_id = 21373693 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21373693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431018, 0.07507337278538906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21373693_13-03-2025_07_23_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21373694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21373695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21373696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21373697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21373698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21373699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21373700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21373701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21373702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21373703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21373704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21373705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21374101 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665301, 'mtr_portfolio_id': 21374101, 'created_at': datetime.datetime(2025, 3, 13, 7, 33, 1), 'result': '0.09676494173508228', 'result_long': None, 'result_double': None}] Qualite : 0.09676494173508228 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21374101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_13-03-2025_07_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21374101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_13-03-2025_07_33_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}" where mtr_portfolio_id = 21374101 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21374101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431019, 0.09676494173508228, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374101_13-03-2025_07_33_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374129, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21374849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665356, 'mtr_portfolio_id': 21374849, 'created_at': datetime.datetime(2025, 3, 13, 7, 48, 59), 'result': '0.09820636408989156', 'result_long': None, 'result_double': None}] Qualite : 0.09820636408989156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21374849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_13-03-2025_07_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21374849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_13-03-2025_07_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}" where mtr_portfolio_id = 21374849 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21374849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431020, 0.09820636408989156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21374849_13-03-2025_07_48_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21374874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21374875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21374876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21374877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21374878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21374879, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21374880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21374881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21374882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21374883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21374884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21374885, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21375494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665389, 'mtr_portfolio_id': 21375494, 'created_at': datetime.datetime(2025, 3, 13, 8, 4, 1), 'result': '0.09361468886797848', 'result_long': None, 'result_double': None}] Qualite : 0.09361468886797848 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21375494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_13-03-2025_08_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21375494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_13-03-2025_08_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}" where mtr_portfolio_id = 21375494 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21375494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431021, 0.09361468886797848, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21375494_13-03-2025_08_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21375497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21375498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21375499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21375500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21375503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21375504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21375505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21375506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21375507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21375508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21376239 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665467, 'mtr_portfolio_id': 21376239, 'created_at': datetime.datetime(2025, 3, 13, 8, 20, 1), 'result': '0.09699580029443165', 'result_long': None, 'result_double': None}] Qualite : 0.09699580029443165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21376239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_13-03-2025_08_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_13-03-2025_08_20_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}" where mtr_portfolio_id = 21376239 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21376239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431022, 0.09699580029443165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376239_13-03-2025_08_20_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21376259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376268, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21376738 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2665500, 'mtr_portfolio_id': 21376738, 'created_at': datetime.datetime(2025, 3, 13, 8, 32, 58), 'result': '0.08754507332249967', 'result_long': None, 'result_double': None}] Qualite : 0.08754507332249967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21376738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_13-03-2025_08_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376738 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_13-03-2025_08_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}" where mtr_portfolio_id = 21376738 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21376738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431023, 0.08754507332249967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376738_13-03-2025_08_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21376830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21376831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21376832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21376833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21376834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21376835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21376836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21376837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21376838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21376839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21376840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21376841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404712 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404712 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404712%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404712 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404713 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404713 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404713%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404713 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404714 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404714 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404714 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404714%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404714 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404714 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404733 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404733 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404733%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404733 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404734 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404734 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404734%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404734 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404753 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404753 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404753%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404753 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404754 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404754 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404754 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404754%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404754 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404754 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404755 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404755 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404755%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404755 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404756 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404756 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404756%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404756 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404757 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404757 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404757%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404757 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404758 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404758 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21404758%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21404758 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404759 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_14-03-2025_01_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404759_14-03-2025_01_03_31.pdf'}" where mtr_portfolio_id = 21404759 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404760 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404760 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404760_14-03-2025_01_04_02.pdf'}" where mtr_portfolio_id = 21404760 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404761 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404761_14-03-2025_01_03_04.pdf'}" where mtr_portfolio_id = 21404761 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404762 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404762 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_01_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404762_14-03-2025_01_02_33.pdf'}" where mtr_portfolio_id = 21404762 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21404763 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21404763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21404763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_01_02_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21404763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21404763_14-03-2025_01_02_35.pdf'}" where mtr_portfolio_id = 21404763 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21377710 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21377710 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21377710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_13-03-2025_15_27_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21377710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21377710_13-03-2025_15_27_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21377716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21377717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21377718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21377719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21377720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21377721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21377722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21377723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21377724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21377725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21377726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21377727, 'pht': 3726}}" where mtr_portfolio_id = 21377710 and dashboard_run_id = 1674756 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21383050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666005, 'mtr_portfolio_id': 21383050, 'created_at': datetime.datetime(2025, 3, 13, 17, 40, 31), 'result': '0.11272339751041038', 'result_long': None, 'result_double': None}] Qualite : 0.11272339751041038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21383050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}" where mtr_portfolio_id = 21383050 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21383050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431062, 0.11272339751041038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383050_13-03-2025_17_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21383078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21383079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21383080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21383081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21383082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21383083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21383084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21383085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21383086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21383087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21383088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21383089, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21384820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666147, 'mtr_portfolio_id': 21384820, 'created_at': datetime.datetime(2025, 3, 13, 18, 20, 29), 'result': '0.07530706275071289', 'result_long': None, 'result_double': None}] Qualite : 0.07530706275071289 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21384820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21384820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}" where mtr_portfolio_id = 21384820 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21384820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431063, 0.07530706275071289, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21384820_13-03-2025_18_20_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21384897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21384898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21384899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21384900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21384901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21384902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21384903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21384904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21384905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21384906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21384907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21384908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21385552 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666170, 'mtr_portfolio_id': 21385552, 'created_at': datetime.datetime(2025, 3, 13, 18, 33), 'result': '0.07305697944282322', 'result_long': None, 'result_double': None}] Qualite : 0.07305697944282322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21385552 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385552 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}" where mtr_portfolio_id = 21385552 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21385552 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431064, 0.07305697944282322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385552_13-03-2025_18_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21385565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21385566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21385567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21385568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21385569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21385570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21385571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21385572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21385573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21385574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21385575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21385576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21386481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666228, 'mtr_portfolio_id': 21386481, 'created_at': datetime.datetime(2025, 3, 13, 18, 49, 2), 'result': '0.06621641674394611', 'result_long': None, 'result_double': None}] Qualite : 0.06621641674394611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21386481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21386481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}" where mtr_portfolio_id = 21386481 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21386481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431065, 0.06621641674394611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21386481_13-03-2025_18_49_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21386482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21386483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21386484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21386485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21386486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21386487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21386488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21386489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21386490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21386491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21386492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21386493, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21388894 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666345, 'mtr_portfolio_id': 21388894, 'created_at': datetime.datetime(2025, 3, 13, 19, 27, 1), 'result': '0.13065490081635678', 'result_long': None, 'result_double': None}] Qualite : 0.13065490081635678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21388894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21388894 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}" where mtr_portfolio_id = 21388894 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21388894 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431066, 0.13065490081635678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388894_13-03-2025_19_27_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21388895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21388896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21388902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21388904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21388905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21388973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666350, 'mtr_portfolio_id': 21388973, 'created_at': datetime.datetime(2025, 3, 13, 19, 35, 1), 'result': '0.06562034709139793', 'result_long': None, 'result_double': None}] Qualite : 0.06562034709139793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21388973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21388973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}" where mtr_portfolio_id = 21388973 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21388973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431067, 0.06562034709139793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21388973_13-03-2025_19_35_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21388993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21388994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21388995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21388996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21388997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21388998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21388999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389004, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21389291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666390, 'mtr_portfolio_id': 21389291, 'created_at': datetime.datetime(2025, 3, 13, 19, 48, 31), 'result': '0.08831646096892938', 'result_long': None, 'result_double': None}] Qualite : 0.08831646096892938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21389291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21389291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}" where mtr_portfolio_id = 21389291 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21389291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431068, 0.08831646096892938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21389291_13-03-2025_19_48_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21389353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21389354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21389355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21389356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21389357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21389358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21389359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21389360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21389361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21389362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21389363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21389364, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21390308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666470, 'mtr_portfolio_id': 21390308, 'created_at': datetime.datetime(2025, 3, 13, 20, 3, 57), 'result': '0.08588763514383527', 'result_long': None, 'result_double': None}] Qualite : 0.08588763514383527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21390308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}" where mtr_portfolio_id = 21390308 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431069, 0.08588763514383527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390308_13-03-2025_20_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21390351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21390352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21390353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21390354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21390355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21390356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21390357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21390358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21390359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21390360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21390361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21390362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21391251 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666523, 'mtr_portfolio_id': 21391251, 'created_at': datetime.datetime(2025, 3, 13, 20, 19), 'result': '0.07361632084326168', 'result_long': None, 'result_double': None}] Qualite : 0.07361632084326168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21391251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21391251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}" where mtr_portfolio_id = 21391251 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21391251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431070, 0.07361632084326168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21391251_13-03-2025_20_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21391270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21391271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21391272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21391273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21391274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21391275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21391276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21391277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21391278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21391279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21391280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21391281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21392334 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666569, 'mtr_portfolio_id': 21392334, 'created_at': datetime.datetime(2025, 3, 13, 20, 38, 1), 'result': '0.08351774005555894', 'result_long': None, 'result_double': None}] Qualite : 0.08351774005555894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21392334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}" where mtr_portfolio_id = 21392334 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21392334 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431072, 0.08351774005555894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392334_13-03-2025_20_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21392502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21392503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21392505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21392506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21392507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21392508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21392509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21392510, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21392511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21392512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21392513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21392514, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21393678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666651, 'mtr_portfolio_id': 21393678, 'created_at': datetime.datetime(2025, 3, 13, 21, 5, 59), 'result': '0.06108328275433152', 'result_long': None, 'result_double': None}] Qualite : 0.06108328275433152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21393678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21393678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}" where mtr_portfolio_id = 21393678 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21393678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431073, 0.06108328275433152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21393678_13-03-2025_21_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21393697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21393698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21393699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21393700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21393701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21393702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21393703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21393704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21393705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21393706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21393707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21393708, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21394780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666734, 'mtr_portfolio_id': 21394780, 'created_at': datetime.datetime(2025, 3, 13, 21, 17, 31), 'result': '0.0655586001911245', 'result_long': None, 'result_double': None}] Qualite : 0.0655586001911245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21394780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21394780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}" where mtr_portfolio_id = 21394780 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21394780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431074, 0.0655586001911245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21394780_13-03-2025_21_17_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21394831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21394832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21394833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21394834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21394835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21394836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21394837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21394838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21394839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21394840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21394841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21394842, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21395431 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666751, 'mtr_portfolio_id': 21395431, 'created_at': datetime.datetime(2025, 3, 13, 21, 34, 30), 'result': '0.07310246597403268', 'result_long': None, 'result_double': None}] Qualite : 0.07310246597403268 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21395431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21395431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}" where mtr_portfolio_id = 21395431 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21395431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431075, 0.07310246597403268, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395431_13-03-2025_21_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21395437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21395438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21395439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21395440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21395441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21395442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21395443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21395444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21395445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21395446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21395447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21395448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21396174 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666797, 'mtr_portfolio_id': 21396174, 'created_at': datetime.datetime(2025, 3, 13, 21, 48, 1), 'result': '0.07672616095167956', 'result_long': None, 'result_double': None}] Qualite : 0.07672616095167956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21396174 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21396174 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}" where mtr_portfolio_id = 21396174 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21396174 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431076, 0.07672616095167956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21396174_13-03-2025_21_48_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21396181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21396182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21396184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21396185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21396187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21396188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21396189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21396190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21396192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21396193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21396194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21396195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21397287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666874, 'mtr_portfolio_id': 21397287, 'created_at': datetime.datetime(2025, 3, 13, 22, 4, 59), 'result': '0.0798408357707004', 'result_long': None, 'result_double': None}] Qualite : 0.0798408357707004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21397287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}" where mtr_portfolio_id = 21397287 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21397287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431077, 0.0798408357707004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397287_13-03-2025_22_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21397291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21397292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21397293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21397294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21397295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21397296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21397297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21397298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21397299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21397300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21397301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21397302, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21398040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2666982, 'mtr_portfolio_id': 21398040, 'created_at': datetime.datetime(2025, 3, 13, 22, 51), 'result': '0.09105159642696223', 'result_long': None, 'result_double': None}] Qualite : 0.09105159642696223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21398040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21398040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}" where mtr_portfolio_id = 21398040 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21398040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431078, 0.09105159642696223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21398040_13-03-2025_22_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21398121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21398122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21398123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21398124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21398125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21398126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21398127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21398128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21398129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21398130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21398131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21398133, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21400996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667141, 'mtr_portfolio_id': 21400996, 'created_at': datetime.datetime(2025, 3, 13, 23, 4, 30), 'result': '0.17467052348354237', 'result_long': None, 'result_double': None}] Qualite : 0.17467052348354237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21400996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}" where mtr_portfolio_id = 21400996 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431079, 0.17467052348354237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400996_13-03-2025_23_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21400997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21400998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21400999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21401669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667163, 'mtr_portfolio_id': 21401669, 'created_at': datetime.datetime(2025, 3, 13, 23, 17, 33), 'result': '0.10495362949316643', 'result_long': None, 'result_double': None}] Qualite : 0.10495362949316643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21401669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21401669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}" where mtr_portfolio_id = 21401669 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21401669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431080, 0.10495362949316643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21401669_13-03-2025_23_17_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21401694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21401695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21401696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21401697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21401698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21401699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21401700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21401701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21401702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21401703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21401704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21401705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21402278 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2667190, 'mtr_portfolio_id': 21402278, 'created_at': datetime.datetime(2025, 3, 13, 23, 35, 58), 'result': '0.12521998225209086', 'result_long': None, 'result_double': None}] Qualite : 0.12521998225209086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21402278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21402278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, 'pht': 3726}}" where mtr_portfolio_id = 21402278 and dashboard_run_id = 1674756 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21402278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9431081, 0.12521998225209086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21402278_13-03-2025_23_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21402279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21402280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21402281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21402282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21402283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21402284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21402285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21402286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21402287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21402288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21402289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21402290, '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 (21372357,21372764,21373172,21373693,21374101,21374849,21375494,21376239,21376738,21404712,21404713,21404714,21404733,21404734,21404753,21404754,21404755,21404756,21404757,21404758,21404759,21404760,21404761,21404762,21404763,21377710,21383050,21384820,21385552,21386481,21388894,21388973,21389291,21390308,21391251,21392334,21393678,21394780,21395431,21396174,21397287,21398040,21400996,21401669,21402278) result : ((1343708816,), (1343708820,), (1343708824,), (1343708850,), (1343708853,), (1343708886,), (1343708889,), (1343708891,), (1343708894,), (1343708907,), (1343708921,), (1343708925,), (1343708931,), (1343708934,), (1343708935,), (1343708950,), (1343708956,), (1343708963,), (1343708968,), (1343708971,), (1343708972,), (1343708990,), (1343709000,), (1343709022,), (1343709031,), (1343709036,), (1343709037,), (1343709057,), (1343709062,), (1343709068,), (1343709073,), (1343709075,), (1343709077,), (1343709097,), (1343709103,), (1343709131,), (1343709137,), (1343709142,), (1343709147,), (1343709164,), (1343712361,), (1343712425,), (1343712430,), (1343712436,), (1343712457,), (1343712464,), (1343712466,), (1343712471,), (1343712475,), (1343712479,), (1343712495,), (1343712498,), (1343712501,), (1343712504,), (1343712529,), (1343712534,), (1343712537,), (1343712541,), (1343712544,), (1343712546,), (1343712570,), (1343712573,), (1343712576,), (1343712607,), (1343712611,), (1343712613,), (1343712645,), (1343712650,), (1343712654,), (1343712657,), (1343712685,), (1343712690,), (1343712695,), (1343712700,), (1343712704,), (1343712728,), (1343712732,), (1343712736,), (1343712739,), (1343712740,), (1343712741,), (1343712771,), (1343712774,), (1343712778,), (1343712780,), (1343712782,), (1343712785,), (1343712816,), (1343712820,), (1343712825,), (1343712829,), (1343712831,), (1343712832,), (1343712854,), (1343712859,), (1343712863,), (1343712868,), (1343712869,), (1343712870,), (1343712892,), (1343712897,), (1343712902,), (1343712906,), (1343712907,), (1343712908,), (1343712930,), (1343712936,), (1343712941,), (1343712946,), (1343712947,), (1343712948,), (1343712972,), (1343712976,), (1343712980,), (1343712985,), (1343712989,), (1343713031,), (1343713007,), (1343713013,), (1343713017,), (1343713025,), (1343713029,), (1343713058,), (1343713062,), (1343713069,), (1343713071,), (1343713074,), (1343713077,), (1343713094,), (1343713100,), (1343713105,), (1343713112,), (1343713116,), (1343713117,), (1343713141,), (1343713146,), (1343713152,), (1343713155,), (1343713157,), (1343713161,), (1343713183,), (1343713190,), (1343713194,), (1343713196,), (1343713200,), (1343713205,), (1343713227,), (1343713231,), (1343713235,), (1343713238,), (1343713239,), (1343713241,), (1343713262,), (1343713264,), (1343713268,), (1343713272,), (1343713278,), (1343713284,), (1343713304,), (1343713309,), (1343713313,), (1343713318,), (1343713320,), (1343713344,), (1343713377,), (1343713381,), (1343713384,), (1343713386,), (1343713389,), (1343713420,), (1343713422,), (1343713425,), (1343713427,), (1343713432,), (1343713436,), (1343713513,), (1343713540,), (1343713556,), (1343713569,), (1343713590,), (1343713605,), (1343713688,), (1343713691,), (1343713694,), (1343713696,), (1343713697,), (1343713698,), (1343714266,), (1343714303,), (1343714335,), (1343714398,), (1343714433,), (1343714482,), (1343714954,), (1343714858,), (1343714896,), (1343714916,), (1343714931,), (1343715142,), (1343715174,), (1343715195,), (1343715207,), (1343715248,), (1343715273,), (1343715434,), (1343715444,), (1343715467,), (1343715483,), (1343715488,), (1343715506,), (1343715591,), (1343715595,), (1343715599,), (1343715602,), (1343715605,), (1343715606,), (1343715655,), (1343715658,), (1343715662,), (1343715663,), (1343715665,), (1343715667,), (1343715710,), (1343715713,), (1343715715,), (1343715717,), (1343715718,), (1343715719,), (1343715780,), (1343715785,), (1343715789,), (1343715793,), (1343715818,), (1343715844,), (1343715950,), (1343715955,), (1343715959,), (1343715961,), (1343715964,), (1343715968,), (1343716032,), (1343716041,), (1343716048,), (1343716064,), (1343716073,), (1343716080,), (1343716093,), (1343716095,), (1343716097,), (1343716102,), (1343716110,), (1343716121,), (1343716163,), (1343716170,), (1343716172,), (1343716179,), (1343716186,), (1343716192,), (1343716199,), (1343716240,), (1343716246,), (1343716253,), (1343716255,), (1343716261,), (1343716266,), (1343716293,), (1343716299,), (1343716331,), (1343716333,), (1343716337,), (1343716341,), (1343716352,), (1343716354,), (1343716363,), (1343716370,), (1343716376,), (1343716382,), (1343716430,), (1343716434,), (1343716447,), (1343716450,), (1343716463,), (1343716469,), (1343716145,), (1343716153,), (1343716156,), (1343716158,), (1343716160,), (1343716211,), (1343716213,), (1343716216,), (1343716219,), (1343716221,), (1343716223,), (1343716273,), (1343716282,), (1343716285,), (1343716288,), (1343716324,), (1343716330,), (1343716391,), (1343716411,), (1343716420,), (1343716426,), (1343716491,), (1343716493,), (1343716501,), (1343716505,), (1343716507,), (1343716509,), (1343716512,), (1343716513,), (1343716518,), (1343716519,), (1343716522,), (1343716524,), (1343716539,), (1343716545,), (1343716558,), (1343716579,), (1343716598,), (1343716613,), (1343716741,), (1343716746,), (1343716751,), (1343716771,), (1343716814,), (1343716849,), (1343716965,), (1343716972,), (1343716978,), (1343716984,), (1343716986,), (1343716991,), (1343717041,), (1343717049,), (1343717057,), (1343717063,), (1343717066,), (1343717225,), (1343717255,), (1343717272,), (1343717277,), (1343717280,), (1343717283,), (1343717319,), (1343717324,), (1343717329,), (1343717334,), (1343717336,), (1343717339,), (1343717394,), (1343717398,), (1343717401,), (1343717405,), (1343717408,), (1343717414,), (1343717469,), (1343717494,), (1343717516,), (1343717534,), (1343717553,), (1343717571,), (1343717774,), (1343717789,), (1343717801,), (1343717805,), (1343717809,), (1343717820,), (1343717890,), (1343717863,), (1343717870,), (1343717876,), (1343717880,), (1343717884,), (1343717956,), (1343717963,), (1343717970,), (1343717977,), (1343717978,), (1343717987,), (1343718018,), (1343718041,), (1343718050,), (1343718054,), (1343718056,), (1343718060,), (1343718201,), (1343718228,), (1343718247,), (1343718253,), (1343718271,), (1343718458,), (1343718510,), (1343718555,), (1343718585,), (1343718611,), (1343718635,), (1343718743,), (1343718750,), (1343718757,), (1343718800,), (1343718819,), (1343718826,), (1343719005,), (1343719210,), (1343719220,), (1343719226,), (1343719272,), (1343719294,), (1343719321,), (1343719345,), (1343719369,), (1343719404,), (1343719429,), (1343719555,), (1343719564,), (1343719569,), (1343719574,), (1343719619,), (1343719672,), (1343719757,), (1343719763,), (1343719767,), (1343719771,), (1343719829,), (1343719835,), (1343719840,), (1343719843,), (1343719844,), (1343719847,), (1343720088,), (1343719924,), (1343720006,), (1343720043,), (1343720066,), (1343720074,), (1343720168,), (1343720174,), (1343720180,), (1343720183,), (1343720185,), (1343720186,), (1343720216,), (1343720222,), (1343720226,), (1343720229,), (1343720230,), (1343720233,), (1343720364,), (1343720421,), (1343720438,), (1343720444,), (1343720453,), (1343720464,), (1343720502,), (1343720508,), (1343720513,), (1343720520,), (1343720522,), (1343720555,), (1343720562,), (1343720567,), (1343720571,), (1343720605,), (1343720611,), (1343720616,), (1343720625,), (1343720626,), (1343720628,), (1343720665,), (1343720670,), (1343720673,), (1343720679,), (1343720682,), (1343720687,), (1343720713,), (1343720718,), (1343720723,), (1343720761,), (1343720768,), (1343720774,), (1343720804,), (1343720808,), (1343720813,), (1343720818,), (1343720858,), (1343720863,), (1343720871,), (1343720873,), (1343720903,), (1343720912,), (1343720916,), (1343720920,), (1343721264,), (1343721289,), (1343721315,), (1343721423,), (1343721798,), (1343722466,), (1343722497,), (1343722526,), (1343722560,), (1343722947,), (1343723003,), (1343723042,), (1343723099,), (1343723352,), (1343723382,), (1343723411,), (1343723418,), (1343723422,), (1343723439,), (1343723582,), (1343723590,), (1343723631,), (1343723653,), (1343723671,), (1343723685,), (1343723757,), (1343723762,), (1343723768,), (1343723772,), (1343723776,), (1343723825,), (1343723951,), (1343724782,), (1343724833,), (1343724838,), (1343724844,), (1343724850,), (1343724853,), (1343724857,), (1343724878,), (1343724882,), (1343724889,), (1343724894,), (1343724901,), (1343724923,), (1343725205,), (1343725267,), (1343725308,), (1343725325,), (1343725369,), (1343725390,), (1343726021,), (1343726121,), (1343726159,), (1343726167,), (1343726181,), (1343726199,), (1343726242,), (1343726250,), (1343726254,), (1343726259,), (1343726275,), (1343726285,), (1343726479,), (1343726362,), (1343726387,), (1343726415,), (1343726429,), (1343726474,), (1343726559,), (1343726563,), (1343726568,), (1343726571,), (1343726576,), (1343726580,), (1343726666,), (1343726670,), (1343726678,), (1343726691,), (1343726693,), (1343726696,), (1343726725,), (1343726736,), (1343726774,), (1343726798,), (1343726802,), (1343726806,), (1343726945,), (1343726953,), (1343726977,), (1343726979,), (1343726980,), (1343727010,), (1343727015,), (1343727020,), (1343727024,), (1343727031,), (1343727037,), (1343727062,), (1343727069,), (1343727072,), (1343727079,), (1343727082,), (1343727086,), (1343727116,), (1343727128,), (1343727131,), (1343727133,), (1343727135,), (1343727138,), (1343727168,), (1343727172,), (1343727177,), (1343727918,), (1343728240,), (1343746263,), (1343746514,), (1343746520,), (1343746717,), (1343746724,), (1343746759,), (1343746766,), (1343746881,), (1343800286,), (1343800610,), (1343801463,), (1343801528,), (1343802006,), (1343802071,), (1343802285,), (1343802299,), (1343809216,), (1343822564,), (1343823151,), (1343823179,), (1343825089,), (1343825652,), (1343826049,), (1343826080,), (1343826102,), (1343826415,), (1343826445,), (1343826476,), (1343827207,), (1343827281,), (1343827407,), (1343827474,), (1343827523,), (1343827610,), (1343827737,), (1343827764,), (1343827988,), (1343828017,), (1343828053,), (1343828081,), (1343828108,), (1343828622,), (1343828632,), (1343828654,), (1343828673,), (1343828956,), (1343828991,), (1343829069,), (1343829122,), (1343829158,), (1343829364,), (1343829392,), (1343829418,), (1343829826,), (1343829752,), (1343829786,), (1343829808,), (1343830432,), (1343830445,), (1343830475,), (1343830541,), (1343830579,), (1343830830,), (1343830871,), (1343830895,), (1343830913,), (1343830935,), (1343830980,), (1343831231,), (1343831248,), (1343831259,), (1343831261,), (1343831411,), (1343831444,), (1343831480,), (1343831510,), (1343831532,), (1343831543,), (1343831684,), (1343831784,), (1343831826,), (1343831852,), (1343831878,), (1343832113,), (1343832131,), (1343832135,), (1343832137,), (1343832150,), (1343832235,), (1343832237,), (1343832242,), (1343832274,), (1343832359,), (1343832428,), (1343832433,), (1343832438,), (1343832441,), (1343832530,), (1343832556,), (1343832590,), (1343832616,), (1343833009,), (1343833061,), (1343833126,), (1343833161,), (1343833603,), (1343833606,), (1343833611,), (1343833617,), (1343834022,), (1343834083,), (1343834159,), (1343834223,), (1343834274,), (1343834525,), (1343834528,), (1343834531,), (1343834604,), (1343834618,), (1343834625,), (1343834807,), (1343834876,), (1343835878,), (1343835501,), (1343835549,), (1343835630,), (1343835720,), (1343835813,), (1343836389,), (1343836416,), (1343836435,), (1343836437,), (1343836481,), (1343836529,), (1343836741,), (1343836763,), (1343836784,), (1343836837,), (1343837581,), (1343837660,), (1343837733,), (1343837845,), (1343837913,), (1343838392,), (1343838438,), (1343838470,), (1343838509,), (1343838543,), (1343838842,), (1343838899,), (1343838977,), (1343839018,), (1343839074,), (1343839763,), (1343839828,), (1343839864,), (1343839923,), (1343839951,), (1343840196,), (1343840219,), (1343840255,), (1343840299,), (1343840830,), (1343840885,), (1343840931,), (1343840958,), (1343840981,), (1343841222,), (1343841224,), (1343841234,), (1343841243,), (1343841426,), (1343841447,), (1343841475,), (1343841537,), (1343841558,), (1343841672,), (1343841704,), (1343841733,), (1343841772,), (1343842432,), (1343842472,), (1343842502,), (1343842958,), (1343843010,), (1343843092,), (1343843145,), (1343843192,), (1343843640,), (1343843663,), (1343843673,), (1343843677,), (1343843878,), (1343843853,), (1343843859,), (1343843873,), (1343844049,), (1343844055,), (1343844061,), (1343844066,), (1343862735,), (1343864844,), (1343864893,), (1343865562,), (1343865612,), (1343865640,), (1343865995,), (1343866062,), (1343866132,), (1343866189,), (1343866284,), (1343866841,), (1343866926,), (1343866976,), (1343867086,), (1343867157,), (1343867765,), (1343867823,), (1343867865,), (1343868316,), (1343868078,), (1343868106,), (1343868166,), (1343868192,), (1343868417,), (1343868468,), (1343868496,), (1343868531,), (1343868556,), (1343868623,), (1343868807,), (1343868938,), (1343869033,), (1343869120,), (1343869570,), (1343869734,), (1343870437,), (1343870504,), (1343870979,), (1343871038,), (1343871078,), (1343871111,), (1343871899,), (1343871947,), (1343871990,), (1343872051,), (1343872146,), (1343872359,), (1343872435,), (1343872597,), (1343873602,), (1343873655,), (1343874190,), (1343874272,), (1343874294,), (1343874339,), (1343874482,), (1343874620,), (1343874664,), (1343874708,), (1343875028,), (1343875079,), (1343875127,), (1343875192,), (1343875248,), (1343875423,), (1343875445,), (1343875498,), (1343875548,), (1343875877,), (1343875911,), (1343875956,), (1343876017,), (1343876646,), (1343876707,), (1343876784,), (1343877714,), (1343877534,), (1343877586,), (1343877670,), (1343878072,), (1343878077,), (1343878081,), (1343878083,), (1343878431,), (1343878475,), (1343878502,), (1343878550,), (1343878600,), (1343878643,), (1343878980,), (1343879010,), (1343879036,), (1343879071,), (1343879087,), (1343879600,), (1343879653,), (1343879721,), (1343879772,), (1343879794,), (1343880391,), (1343880597,), (1343880741,), (1343881030,), (1343881137,), (1343881167,), (1343881193,), (1343881256,), (1343881282,), (1343881759,), (1343881811,), (1343881869,), (1343881926,), (1343882087,), (1343882340,), (1343882375,), (1343882402,), (1343882644,), (1343883159,), (1343883200,), (1343883239,), (1343883256,), (1343883263,), (1343883265,), (1343883301,), (1343883307,), (1343883330,), (1343883361,), (1343883408,), (1343883434,), (1343883752,), (1343883823,), (1343883833,), (1343883834,), (1343883996,), (1343884279,), (1343884310,), (1343884404,), (1343885465,), (1343885494,), (1343885520,), (1343885553,), (1343885574,), (1343885666,), (1343885738,), (1343885994,), (1343886750,), (1343886320,), (1343886461,), (1343886622,), (1343887307,), (1343887343,), (1343887368,), (1343887394,), (1343887399,), (1343887403,), (1343887806,), (1343887929,), (1343887976,), (1343888017,), (1343888056,), (1343888082,), (1343888617,), (1343888695,), (1343888771,), (1343889826,), (1343889911,), (1343890024,), (1343890187,), (1343890279,), (1343890419,), (1343890924,), (1343890979,), (1343891023,), (1343891128,), (1343891208,), (1343891294,), (1343891784,), (1343891978,), (1343892022,), (1343892079,), (1343892385,), (1343892454,), (1343892525,), (1343892572,), (1343892617,), (1343893335,), (1343893379,), (1343893452,), (1343893487,), (1343894007,), (1343894120,), (1343894160,), (1343894249,), (1343894322,), (1343894639,), (1343894669,), (1343894722,), (1343894780,), (1343895160,), (1343895185,), (1343895199,), (1343895303,), (1343895398,), (1343895464,), (1343895725,), (1343895841,), (1343895902,), (1343895994,), (1343896064,), (1343896691,), (1343896812,), (1343896901,), (1343897508,), (1343897553,), (1343897686,), (1343897797,), (1343897856,), (1343897919,), (1343898170,), (1343898131,), (1343898138,), (1343898143,), (1343898154,), (1343898507,), (1343898532,), (1343898603,), (1343898632,), (1343898634,), (1343899055,), (1343899075,), (1343899081,), (1343899127,), (1343899671,), (1343899702,), (1343899724,), (1343899781,), (1343899869,), (1343900145,), (1343900168,), (1343900198,), (1343900230,), (1343900557,), (1343900583,), (1343900611,), (1343900664,), (1343900725,), (1343900771,), (1343901221,), (1343901281,), (1343901305,), (1343901411,), (1343901449,), (1343901473,), (1343901748,), (1343901842,), (1343901994,), (1343906530,), (1343906474,), (1343906478,), (1343906918,), (1343906974,), (1343907137,), (1343907232,), (1343907239,), (1343907334,), (1343907742,), (1343907807,), (1343907875,), (1343908106,), (1343908510,), (1343908576,), (1343908641,), (1343909555,), (1343911126,), (1343911256,), (1343920812,), (1343920786,), (1343921088,), (1343922333,), (1343922583,), (1343922594,), (1343922607,), (1343922611,), (1343922809,), (1343923199,), (1343923224,), (1343923248,), (1343923754,), (1343923794,), (1343923825,), (1343924210,), (1343924236,), (1343924845,), (1343925029,), (1343925120,), (1343925160,), (1343925209,), (1343925660,), (1343925697,), (1343925761,), (1343925796,), (1343925815,), (1343926174,), (1343926203,), (1343926232,), (1343926246,), (1343926249,), (1343926251,), (1343926330,), (1343926356,), (1343926380,), (1343926409,), (1343926699,), (1343926739,), (1343926770,), (1343926806,), (1343926831,), (1343927450,), (1343927221,), (1343927280,), (1343927408,), (1343928086,), (1343928312,), (1343928392,), (1343928594,), (1343928685,), (1343929419,), (1343929452,), (1343929580,), (1343929906,), (1343929918,), (1343929922,), (1343929925,), (1343929943,), (1343929958,), (1343930114,), (1343930182,), (1343930186,), (1343930199,), (1343930281,), (1343930309,), (1343930719,), (1343930730,), (1343930737,), (1343930755,), (1343930756,), (1343930758,), (1343930843,), (1343930851,), (1343930882,), (1343930984,), (1343930989,), (1343930994,), (1343930998,), (1343931001,), (1343931371,), (1343931408,), (1343931433,), (1343931477,), (1343931519,), (1343931577,), (1343931900,), (1343931912,), (1343931918,), (1343932085,), (1343932110,), (1343932171,), (1343932196,), (1343932508,), (1343932518,), (1343932538,), (1343932578,), (1343932640,), (1343932839,), (1343932864,), (1343932929,), (1343932977,), (1343933179,), (1343933273,), (1343933300,), (1343933554,), (1343933575,), (1343933605,), (1343933635,), (1343933654,), (1343933674,), (1343933940,), (1343933867,), (1343933897,), (1343933912,), (1343934174,), (1343934212,), (1343934286,), (1343934328,), (1343934348,), (1343934451,), (1343934548,), (1343934645,), (1343934823,), (1343934991,), (1343935082,), (1343935110,), (1343935276,), (1343935338,), (1343935398,), (1343935507,), (1343935569,), (1343935620,), (1343935822,), (1343935869,), (1343935919,), (1343935990,), (1343936066,), (1343936110,), (1343936396,), (1343936453,), (1343936564,), (1343936843,), (1343936926,), (1343936990,), (1343937227,), (1343937327,), (1343937399,), (1343937430,), (1343937497,), (1343937594,), (1343937726,), (1343937752,), (1343937763,), (1343938078,), (1343938103,), (1343938135,), (1343938164,), (1343938183,), (1343938512,), (1343938525,), (1343938535,), (1343938544,), (1343938563,), (1343938982,), (1343939061,), (1343939127,), (1343939901,), (1343939968,), (1343940044,), (1343940103,), (1343940179,), (1343940782,), (1343940861,), (1343940916,), (1343940977,), (1343941039,), (1343941544,), (1343941616,), (1343941666,), (1343941673,), (1343941716,), (1343942012,), (1343942053,), (1343942093,), (1343942682,), (1343942719,), (1343942746,), (1343942804,), (1343942886,), (1343943872,), (1343943485,), (1343943581,), (1343943640,), (1343943728,), (1343943777,), (1343944365,), (1343944431,), (1343944512,), (1343944599,), (1343945086,), (1343945131,), (1343945167,), (1343945205,), (1343945472,), (1343945475,), (1343945488,), (1343945510,), (1343946107,), (1343946192,), (1343946257,), (1343946335,), (1343946403,), (1343946453,), (1343946773,), (1343946794,), (1343946820,), (1343946834,), (1343946858,), (1343947014,), (1343947038,), (1343947060,), (1343947091,), (1343947461,), (1343947496,), (1343947540,), (1343947593,), (1343947953,), (1343947973,), (1343947983,), (1343948008,), (1343948052,), (1343948069,), (1343948175,), (1343948179,), (1343948183,), (1343948186,), (1343948187,), (1343948297,), (1343948312,), (1343948345,), (1343948775,), (1343948799,), (1343948826,), (1343948865,), (1343948911,), (1343949098,), (1343949118,), (1343950120,), (1343950155,), (1343950245,), (1343950315,), (1343950330,), (1343950479,), (1343950487,), (1343950491,), (1343950511,), (1343950532,), (1343950552,), (1343950548,), (1343950666,), (1343950670,), (1343950674,), (1343950694,), (1343950765,), (1343950782,), (1343950786,), (1343951054,), (1343951083,), (1343951134,), (1343951193,), (1343951279,), (1343951844,), (1343951897,), (1343951968,), (1343952688,), (1343952740,), (1343952798,), (1343952859,), (1343952901,), (1343953136,), (1343953165,), (1343953211,), (1343953265,), (1343953723,), (1343953821,), (1343953839,), (1343953972,), (1343954502,), (1343954519,), (1343954524,), (1343954548,), (1343954823,), (1343954826,), (1343954830,), (1343954862,), (1343955042,), (1343955066,), (1343956961,), (1343973062,), (1343973649,), (1343975502,), (1343975959,), (1343975971,), (1343976608,), (1343977489,), (1343977516,), (1343978083,), (1343978108,), (1343978500,), (1343978463,), (1343979604,), (1343980005,), (1343980008,), (1343981517,), (1343981743,), (1343981819,), (1343983376,), (1343984392,), (1343984586,), (1343984795,), (1343984974,), (1343985559,), (1343986222,), (1343989841,), (1343989892,), (1343992400,), (1343992950,), (1343993519,), (1343728198,), (1343728210,), (1343728229,), (1343728234,), (1343728238,), (1343728265,), (1343728271,), (1343728276,), (1343728281,), (1343728284,), (1343728286,), (1343728359,), (1343728364,), (1343728369,), (1343728373,), (1343728427,), (1343728455,), (1343728594,), (1343728603,), (1343728617,), (1343728631,), (1343728634,), (1343728635,), (1343728678,), (1343728683,), (1343728689,), (1343728694,), (1343728697,), (1343728699,), (1343728725,), (1343728730,), (1343728735,), (1343728739,), (1343728741,), (1343728771,), (1343728778,), (1343728786,), (1343728792,), (1343728799,), (1343728883,), (1343728898,), (1343728984,), (1343728986,), (1343729091,), (1343729103,), (1343729268,), (1343729273,), (1343729349,), (1343729386,), (1343729427,), (1343729433,), (1343729439,), (1343729444,), (1343729449,), (1343729473,), (1343729478,), (1343729488,), (1343729493,), (1343729497,), (1343729499,), (1343729542,), (1343729519,), (1343729525,), (1343729531,), (1343729536,), (1343729540,), (1343729705,), (1343729711,), (1343729716,), (1343729720,), (1343729723,), (1343729726,), (1343729752,), (1343729758,), (1343729762,), (1343729767,), (1343729771,), (1343729774,), (1343729803,), (1343729810,), (1343729815,), (1343729818,), (1343729821,), (1343729825,), (1343729838,), (1343729855,), (1343729860,), (1343729863,), (1343729867,), (1343729870,), (1343729892,), (1343729895,), (1343729901,), (1343729906,), (1343729910,), (1343729915,), (1343729946,), (1343729953,), (1343729956,), (1343729960,), (1343729965,), (1343729971,), (1343729994,), (1343730004,), (1343730011,), (1343730017,), (1343730021,), (1343730025,), (1343730043,), (1343730048,), (1343730052,), (1343730056,), (1343730062,), (1343730069,), (1343730093,), (1343730097,), (1343730101,), (1343730104,), (1343730108,), (1343730115,), (1343730139,), (1343730142,), (1343730145,), (1343730146,), (1343730149,), (1343730155,), (1343730184,), (1343730186,), (1343730189,), (1343730190,), (1343730194,), (1343730198,), (1343730233,), (1343730236,), (1343730239,), (1343730242,), (1343730244,), (1343730310,), (1343730314,), (1343730316,), (1343730320,), (1343730322,), (1343730325,), (1343730364,), (1343731749,), (1343731752,), (1343731756,), (1343731790,), (1343731794,), (1343731798,), (1343731801,), (1343731838,), (1343731842,), (1343731845,), (1343731847,), (1343731879,), (1343731922,), (1343731928,), (1343731934,), (1343731979,), (1343731983,), (1343732023,), (1343732027,), (1343732031,), (1343732034,), (1343732073,), (1343732077,), (1343732080,), (1343732082,), (1343732118,), (1343732121,), (1343732123,), (1343732125,), (1343732126,), (1343732127,), (1343732164,), (1343732168,), (1343732171,), (1343732214,), (1343732217,), (1343732221,), (1343732224,), (1343732225,), (1343732272,), (1343732262,), (1343732265,), (1343732268,), (1343732271,), (1343732309,), (1343732314,), (1343732318,), (1343732321,), (1343732355,), (1343732358,), (1343732361,), (1343732399,), (1343732402,), (1343732406,), (1343732409,), (1343732410,), (1343732450,), (1343732454,), (1343732458,), (1343732460,), (1343732462,), (1343732463,), (1343732497,), (1343732500,), (1343732504,), (1343732540,), (1343732543,), (1343732547,), (1343732551,), (1343732554,), (1343732591,), (1343732596,), (1343732600,), (1343732603,), (1343732636,), (1343732640,), (1343732643,), (1343732646,), (1343732691,), (1343732695,), (1343732733,), (1343732737,), (1343732740,), (1343732743,), (1343732744,), (1343732746,), (1343732780,), (1343732785,), (1343732790,), (1343732795,), (1343732798,), (1343732834,), (1343732840,), (1343732845,), (1343732848,), (1343732914,), (1343732917,), (1343732920,), (1343732923,), (1343732926,), (1343732928,), (1343732942,), (1343732946,), (1343732951,), (1343732958,), (1343732966,), (1343732989,), (1343732981,), (1343732986,), (1343732988,), (1343733028,), (1343733031,), (1343733034,), (1343733037,), (1343733040,), (1343733081,), (1343733087,), (1343733091,), (1343733093,), (1343733095,), (1343733099,), (1343733131,), (1343733137,), (1343733142,), (1343733187,), (1343733193,), (1343733198,), (1343733201,), (1343733204,), (1343733207,), (1343733245,), (1343733249,), (1343733253,), (1343733255,), (1343733256,), (1343733260,), (1343733305,), (1343733310,), (1343733314,), (1343733317,), (1343733362,), (1343733365,), (1343733371,), (1343733375,), (1343733378,), (1343733381,), (1343733423,), (1343733428,), (1343733433,), (1343733437,), (1343733439,), (1343733485,), (1343733490,), (1343733495,), (1343733539,), (1343733544,), (1343733550,), (1343733556,), (1343733586,), (1343733591,), (1343733598,), (1343733603,), (1343733606,), (1343733636,), (1343733641,), (1343733648,), (1343733653,), (1343733657,), (1343733688,), (1343733698,), (1343733703,), (1343733706,), (1343733709,), (1343733740,), (1343733746,), (1343733752,), (1343733758,), (1343733762,), (1343733813,), (1343733794,), (1343733799,), (1343733805,), (1343733809,), (1343733846,), (1343733850,), (1343733856,), (1343733861,), (1343733863,), (1343733867,), (1343733896,), (1343733901,), (1343733907,), (1343733914,), (1343733949,), (1343733956,), (1343733962,), (1343733967,), (1343733969,), (1343734014,), (1343734020,), (1343734024,), (1343734029,), (1343734031,), (1343734032,), (1343734066,), (1343734072,), (1343734078,), (1343734113,), (1343734134,), (1343734137,), (1343734139,), (1343734172,), (1343734178,), (1343734184,), (1343734188,), (1343734191,), (1343734194,), (1343734230,), (1343734234,), (1343734238,), (1343734242,), (1343734243,), (1343734296,), (1343734302,), (1343734306,), (1343734309,), (1343734313,), (1343734350,), (1343734355,), (1343734359,), (1343734363,), (1343734364,), (1343734366,), (1343734404,), (1343734409,), (1343734415,), (1343734420,), (1343734422,), (1343734456,), (1343734462,), (1343734470,), (1343734508,), (1343734514,), (1343734521,), (1343734525,), (1343734566,), (1343734570,), (1343734577,), (1343734583,), (1343734585,), (1343734587,), (1343734642,), (1343734616,), (1343734632,), (1343734637,), (1343734639,), (1343734671,), (1343734675,), (1343734681,), (1343734688,), (1343734721,), (1343734726,), (1343734731,), (1343734738,), (1343734740,), (1343734772,), (1343734778,), (1343734783,), (1343734789,), (1343734791,), (1343734827,), (1343734833,), (1343734839,), (1343734845,), (1343734876,), (1343734881,), (1343734889,), (1343734894,), (1343734929,), (1343734936,), (1343734942,), (1343734946,), (1343734950,), (1343734987,), (1343734992,), (1343734998,), (1343735000,), (1343735032,), (1343735040,), (1343735081,), (1343735099,), (1343735104,), (1343735105,), (1343735108,), (1343735148,), (1343735154,), (1343735160,), (1343735163,), (1343735195,), (1343735201,), (1343735206,), (1343735212,), (1343735215,), (1343735217,), (1343735248,), (1343735254,), (1343735260,), (1343735305,), (1343735312,), (1343735318,), (1343735323,), (1343735325,), (1343735329,), (1343735363,), (1343735369,), (1343735374,), (1343735428,), (1343735416,), (1343735422,), (1343735477,), (1343735483,), (1343735488,), (1343735493,), (1343735532,), (1343735538,), (1343735546,), (1343735549,), (1343735578,), (1343735596,), (1343735601,), (1343735604,), (1343735608,), (1343735613,), (1343735651,), (1343735658,), (1343735663,), (1343735705,), (1343735709,), (1343735715,), (1343735720,), (1343735721,), (1343735722,), (1343735761,), (1343735767,), (1343735772,), (1343735777,), (1343735779,), (1343735817,), (1343735825,), (1343735829,), (1343735832,), (1343735869,), (1343735873,), (1343735878,), (1343735880,), (1343735883,), (1343735884,), (1343735932,), (1343735935,), (1343735940,), (1343735980,), (1343735984,), (1343735989,), (1343736033,), (1343736037,), (1343736041,), (1343736044,), (1343736045,), (1343736048,), (1343736085,), (1343736088,), (1343736092,), (1343736096,), (1343736097,), (1343736100,), (1343736171,), (1343736173,), (1343736178,), (1343736183,), (1343736188,), (1343736203,), (1343736205,), (1343736249,), (1343736242,), (1343736246,), (1343736293,), (1343736296,), (1343736298,), (1343736300,), (1343736301,), (1343736339,), (1343736342,), (1343736344,), (1343736346,), (1343736347,), (1343736384,), (1343736387,), (1343736391,), (1343736430,), (1343736433,), (1343736437,), (1343736440,), (1343736443,), (1343736477,), (1343736481,), (1343736484,), (1343736489,), (1343736528,), (1343736535,), (1343736539,), (1343736576,), (1343736581,), (1343736584,), (1343736587,), (1343736592,), (1343736626,), (1343736630,), (1343736633,), (1343736635,), (1343736718,), (1343736722,), (1343736766,), (1343736772,), (1343736776,), (1343736778,), (1343736780,), (1343736785,), (1343736815,), (1343736819,), (1343736857,), (1343736859,), (1343736864,), (1343736870,), (1343736876,), (1343736917,), (1343736920,), (1343736925,), (1343736928,), (1343736980,), (1343736956,), (1343736966,), (1343736971,), (1343736975,), (1343737010,), (1343737015,), (1343737049,), (1343737055,), (1343737090,), (1343737096,), (1343737103,), (1343737108,), (1343737117,), (1343737124,), (1343737143,), (1343737150,), (1343737153,), (1343737161,), (1343737165,), (1343737172,), (1343737205,), (1343737211,), (1343737214,), (1343737218,), (1343737226,), (1343737258,), (1343737264,), (1343737267,), (1343737270,), (1343737273,), (1343737276,), (1343737314,), (1343737319,), (1343737325,), (1343737366,), (1343737370,), (1343737376,), (1343737413,), (1343737419,), (1343737427,), (1343737429,), (1343737465,), (1343737470,), (1343737475,), (1343737478,), (1343737479,), (1343737511,), (1343737515,), (1343737521,), (1343737550,), (1343737556,), (1343737602,), (1343737607,), (1343737613,), (1343737616,), (1343737621,), (1343737644,), (1343737648,), (1343737655,), (1343737660,), (1343737667,), (1343737718,), (1343737697,), (1343737703,), (1343737707,), (1343737713,), (1343737746,), (1343737748,), (1343737751,), (1343737755,), (1343737794,), (1343737797,), (1343737800,), (1343737803,), (1343738101,), (1343738106,), (1343738140,), (1343738146,), (1343738152,), (1343738156,), (1343738187,), (1343738193,), (1343738200,), (1343738233,), (1343738239,), (1343738244,), (1343738249,), (1343738278,), (1343738285,), (1343738291,), (1343738328,), (1343738334,), (1343738339,), (1343738346,), (1343738389,), (1343738369,), (1343738375,), (1343738380,), (1343738387,), (1343738417,), (1343738424,), (1343738431,), (1343738464,), (1343738470,), (1343738476,), (1343738483,), (1343738508,), (1343738513,), (1343738519,), (1343738553,), (1343738560,), (1343738567,), (1343738610,), (1343738616,), (1343738621,), (1343738625,), (1343738656,), (1343738663,), (1343738669,), (1343738674,), (1343738678,), (1343738706,), (1343738714,), (1343738720,), (1343738727,), (1343738729,), (1343738760,), (1343738767,), (1343738774,), (1343738780,), (1343738812,), (1343738818,), (1343738822,), (1343738827,), (1343738861,), (1343738865,), (1343738874,), (1343738876,), (1343738879,), (1343738883,), (1343738916,), (1343738919,), (1343738922,), (1343738961,), (1343738963,), (1343738966,), (1343739036,), (1343739038,), (1343739041,), (1343739044,), (1343739048,), (1343739102,), (1343739093,), (1343739098,), (1343739132,), (1343739137,), (1343739141,), (1343739144,), (1343739178,), (1343739223,), (1343739318,), (1343739416,), (1343739421,), (1343739504,), (1343739512,), (1343739517,), (1343739523,), (1343739525,), (1343739554,), (1343739559,), (1343739563,), (1343739567,), (1343739569,), (1343739601,), (1343739607,), (1343739612,), (1343739653,), (1343739658,), (1343739666,), (1343739707,), (1343739712,), (1343739718,), (1343739721,), (1343739726,), (1343739728,), (1343739762,), (1343739769,), (1343739775,), (1343739779,), (1343739780,), (1343739831,), (1343739812,), (1343739818,), (1343739823,), (1343739829,), (1343739869,), (1343739874,), (1343739879,), (1343739883,), (1343739884,), (1343739920,), (1343739924,), (1343739928,), (1343739932,), (1343739966,), (1343739971,), (1343739976,), (1343740010,), (1343740015,), (1343740022,), (1343740023,), (1343740056,), (1343740062,), (1343740066,), (1343740072,), (1343740097,), (1343740103,), (1343740108,), (1343740113,), (1343740115,), (1343740141,), (1343740147,), (1343740153,), (1343740159,), (1343740189,), (1343740196,), (1343740201,), (1343740206,), (1343740209,), (1343740242,), (1343740248,), (1343740254,), (1343740259,), (1343740260,), (1343740261,), (1343740291,), (1343740341,), (1343740349,), (1343740355,), (1343740393,), (1343740399,), (1343740405,), (1343740410,), (1343740411,), (1343740412,), (1343740444,), (1343740451,), (1343740456,), (1343740462,), (1343740466,), (1343740468,), (1343740496,), (1343740521,), (1343740525,), (1343740528,), (1343740530,), (1343740534,), (1343740576,), (1343740563,), (1343740570,), (1343740616,), (1343740623,), (1343740629,), (1343740632,), (1343740634,), (1343740663,), (1343740670,), (1343740676,), (1343740679,), (1343740680,), (1343740681,), (1343740710,), (1343740714,), (1343740718,), (1343740761,), (1343740765,), (1343740770,), (1343740774,), (1343740776,), (1343740777,), (1343740811,), (1343740817,), (1343740821,), (1343740822,), (1343740823,), (1343740826,), (1343740860,), (1343740867,), (1343740872,), (1343740877,), (1343740913,), (1343740921,), (1343740927,), (1343740933,), (1343740935,), (1343740961,), (1343740982,), (1343740986,), (1343740988,), (1343740991,), (1343740995,), (1343741025,), (1343741032,), (1343741036,), (1343741042,), (1343741048,), (1343741079,), (1343742161,), (1343742602,), (1343742643,), (1343742683,), (1343742686,), (1343742722,), (1343742766,), (1343742770,), (1343742882,), (1343742914,), (1343742917,), (1343743032,), (1343743039,), (1343743280,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13032025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21404760]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] map_info['map_portfolio_photo'] : {21404760: [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093]} final : True mtd_id 4302 list_pids : [1343739831, 1343739780, 1343739779, 1343739775, 1343739769, 1343739762, 1343739728, 1343739726, 1343739721, 1343739718, 1343739712, 1343739707, 1343739666, 1343739658, 1343739653, 1343739612, 1343739607, 1343739601, 1343739569, 1343739567, 1343739563, 1343739559, 1343739554, 1343739525, 1343739523, 1343739517, 1343739512, 1343739504, 1343739421, 1343739416, 1343739318, 1343739223, 1343739178, 1343739144, 1343739141, 1343739137, 1343739132, 1343739098, 1343739093] Looping around the photos to save general results len do output : 1 /21404760Didn'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, '2667352') ('4302', '21404760', '1343739831', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739780', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739779', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739775', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739769', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739762', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739728', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739726', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739721', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739718', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739712', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739707', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739666', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739658', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739653', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739612', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739607', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739601', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739569', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739567', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739563', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739559', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739554', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739525', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739523', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739517', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739512', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739504', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739421', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739416', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739318', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739223', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739178', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739144', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739141', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739137', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739132', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739098', None, None, None, None, None, '2667352') ('4302', None, None, None, None, None, None, None, '2667352') ('4302', '21404760', '1343739093', None, None, None, None, None, '2667352') 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', None, '21404760', 'None', None, None, None, None, '2667352'), ('4302', '21404760', '1343739831', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739780', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739779', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739775', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739769', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739762', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739728', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739726', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739721', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739718', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739712', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739707', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739666', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739658', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739653', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739612', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739607', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739601', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739569', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739567', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739563', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739559', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739554', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739525', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739523', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739517', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739512', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739504', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739421', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739416', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739318', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739223', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739178', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739144', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739141', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739137', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739132', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739098', None, None, None, None, None, '2667352'), ('4302', '21404760', '1343739093', None, None, None, None, None, '2667352')] time used for this insertion : 0.021123409271240234 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.08500075340271 time spend to save output : 0.021485090255737305 total time spend for step 5 : 11.106485843658447 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 (2667352) 2.83user 2.48system 0:20.96elapsed 25%CPU (0avgtext+0avgdata 167000maxresident)k 680inputs+21384outputs (3major+75935minor)pagefaults 0swaps