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 : 706119 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 (2786996) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2786996) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608501 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2786996'] with mtr_portfolio_ids : ['22608501'] and first list_photo_ids : [] new path : /proc/706119/ Name: python3 Umask: 0002 State: R (running) Tgid: 706119 Ngid: 0 Pid: 706119 PPid: 706118 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 706119 NSpid: 706119 NSpgid: 705347 NSsid: 705347 VmPeak: 1074460 kB VmSize: 1074460 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98576 kB VmRSS: 98576 kB RssAnon: 60200 kB RssFile: 38376 kB RssShmem: 0 kB VmData: 833208 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 560 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: 58 nonvoluntary_ctxt_switches: 234 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '706119', 'Ngid': '0', 'Pid': '706119', 'PPid': '706118', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '706119', 'NSpid': '706119', 'NSpgid': '705347', 'NSsid': '705347', 'VmPeak': '1074460 kB', 'VmSize': '1074460 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98576 kB', 'VmRSS': '98576 kB', 'RssAnon': '60200 kB', 'RssFile': '38376 kB', 'RssShmem': '0 kB', 'VmData': '833208 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '560 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': '58', 'nonvoluntary_ctxt_switches': '234'} ('datou_batch_current', '706119', '1074460', '0', '1074460', '833208', '98576', b'', 'marlene', '2786996') 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 (22608501) 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 (2786996 ) ) 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 (22608501) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1355361049, 'portfolio_id': 22608501}, {'photo_id': 1355360424, 'portfolio_id': 22608501}, {'photo_id': 1355357171, 'portfolio_id': 22608501}, {'photo_id': 1355357137, 'portfolio_id': 22608501}, {'photo_id': 1355357071, 'portfolio_id': 22608501}, {'photo_id': 1355357044, 'portfolio_id': 22608501}, {'photo_id': 1355356678, 'portfolio_id': 22608501}, {'photo_id': 1355356656, 'portfolio_id': 22608501}, {'photo_id': 1355356648, 'portfolio_id': 22608501}, {'photo_id': 1355356453, 'portfolio_id': 22608501}, {'photo_id': 1355356422, 'portfolio_id': 22608501}, {'photo_id': 1355356417, 'portfolio_id': 22608501}, {'photo_id': 1355356408, 'portfolio_id': 22608501}, {'photo_id': 1355356379, 'portfolio_id': 22608501}, {'photo_id': 1355356239, 'portfolio_id': 22608501}, {'photo_id': 1355356200, 'portfolio_id': 22608501}, {'photo_id': 1355356144, 'portfolio_id': 22608501}, {'photo_id': 1355355555, 'portfolio_id': 22608501}, {'photo_id': 1355355350, 'portfolio_id': 22608501}, {'photo_id': 1355355084, 'portfolio_id': 22608501}, {'photo_id': 1355355054, 'portfolio_id': 22608501}, {'photo_id': 1355355032, 'portfolio_id': 22608501}, {'photo_id': 1355355011, 'portfolio_id': 22608501}, {'photo_id': 1355354983, 'portfolio_id': 22608501}, {'photo_id': 1355354370, 'portfolio_id': 22608501}, {'photo_id': 1355354318, 'portfolio_id': 22608501}, {'photo_id': 1355354265, 'portfolio_id': 22608501}, {'photo_id': 1355354208, 'portfolio_id': 22608501}, {'photo_id': 1355354154, 'portfolio_id': 22608501}, {'photo_id': 1355353411, 'portfolio_id': 22608501}, {'photo_id': 1355353362, 'portfolio_id': 22608501}, {'photo_id': 1355353336, 'portfolio_id': 22608501}, {'photo_id': 1355353306, 'portfolio_id': 22608501}, {'photo_id': 1355352992, 'portfolio_id': 22608501}, {'photo_id': 1355352896, 'portfolio_id': 22608501}, {'photo_id': 1355352843, 'portfolio_id': 22608501}, {'photo_id': 1355351972, 'portfolio_id': 22608501}, {'photo_id': 1355351891, 'portfolio_id': 22608501}] map_portfolio_id_photo_id: {22608501: [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891]} ##### 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.026011228561401367 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat May 3 05:46:29 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 (22608501) 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 : 22608501 get user id for portfolio 22608501 get sub ptf for main ptf 22608501, type 3726 and hashtags ['cartonnette', 'flou', 'Carton_brun', 'mal_croppe', 'metal', 'kraft', 'autre_refus', 'Teint_Dans_La_Masse', 'environnement', 'papier', 'plastique', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22608501 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_brun','mal_croppe','metal','kraft','autre_refus','Teint_Dans_La_Masse','environnement','papier','plastique','Carton_gris')) 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`=22608501 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_brun','mal_croppe','metal','kraft','autre_refus','Teint_Dans_La_Masse','environnement','papier','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22608501, 'sub_port_id': 22608547, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037195, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'papier': {'main_port_id': 22608501, 'sub_port_id': 22608548, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037196, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'flou': {'main_port_id': 22608501, 'sub_port_id': 22608549, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037197, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'metal': {'main_port_id': 22608501, 'sub_port_id': 22608550, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037198, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'plastique': {'main_port_id': 22608501, 'sub_port_id': 22608551, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037199, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'kraft': {'main_port_id': 22608501, 'sub_port_id': 22608552, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037200, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'Carton_gris': {'main_port_id': 22608501, 'sub_port_id': 22608553, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037201, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'environnement': {'main_port_id': 22608501, 'sub_port_id': 22608554, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037202, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'autre_refus': {'main_port_id': 22608501, 'sub_port_id': 22608555, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037203, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'mal_croppe': {'main_port_id': 22608501, 'sub_port_id': 22608556, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037204, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'Carton_brun': {'main_port_id': 22608501, 'sub_port_id': 22608557, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037205, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 22608501, 'sub_port_id': 22608558, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037206, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608547 , 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=22608501 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 (22608547) result : ((1355355190,), (1355356319,), (1355356320,), (1355356889,), (1355356891,), (1355356894,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608548 , 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=22608501 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 (22608548) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608549 , 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=22608501 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 (22608549) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608550 , 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=22608501 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 (22608550) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608551 , 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=22608501 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 (22608551) result : ((1355355203,), (1355355205,), (1355359291,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608552 , 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=22608501 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 (22608552) result : ((1355356322,), (1355359296,), (1355361543,), (1355361545,), (1355362457,), (1355362460,), (1355362463,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608553 , 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=22608501 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 (22608553) result : ((1355356318,), (1355357969,), (1355358660,), (1355361516,), (1355361517,), (1355361518,), (1355361520,), (1355362412,), (1355362415,), (1355362418,), (1355362421,), (1355362424,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608554 , 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=22608501 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 (22608554) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608555 , 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=22608501 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 (22608555) result : ((1355353854,), (1355355183,), (1355357958,), (1355358654,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608556 , 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=22608501 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 (22608556) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608557 , 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=22608501 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 (22608557) result : ((1355353875,), (1355353876,), (1355353877,), (1355355716,), (1355356903,), (1355356905,), (1355356929,), (1355356930,), (1355358667,), (1355361530,), (1355362439,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22608558 , 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=22608501 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 (22608558) result : ((1355353839,), (1355353840,), (1355353841,), (1355355176,), (1355355178,), (1355355714,), (1355356316,), (1355356317,), (1355356920,), (1355358649,), (1355360668,), (1355361490,), (1355362386,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22608501) result : ((1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,)) 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 (1355356200) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22608501 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_brun','mal_croppe','metal','kraft','autre_refus','Teint_Dans_La_Masse','environnement','papier','plastique','Carton_gris')) 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`=22608501 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','flou','Carton_brun','mal_croppe','metal','kraft','autre_refus','Teint_Dans_La_Masse','environnement','papier','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22608501, 'sub_port_id': 22608559, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037207, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'papier': {'main_port_id': 22608501, 'sub_port_id': 22608560, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037208, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'flou': {'main_port_id': 22608501, 'sub_port_id': 22608561, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037209, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'metal': {'main_port_id': 22608501, 'sub_port_id': 22608562, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037210, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'plastique': {'main_port_id': 22608501, 'sub_port_id': 22608563, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037211, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'kraft': {'main_port_id': 22608501, 'sub_port_id': 22608564, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037212, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'Carton_gris': {'main_port_id': 22608501, 'sub_port_id': 22608565, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037213, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'environnement': {'main_port_id': 22608501, 'sub_port_id': 22608566, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037214, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'autre_refus': {'main_port_id': 22608501, 'sub_port_id': 22608567, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037215, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'mal_croppe': {'main_port_id': 22608501, 'sub_port_id': 22608568, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037216, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'Carton_brun': {'main_port_id': 22608501, 'sub_port_id': 22608569, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037217, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 22608501, 'sub_port_id': 22608570, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15037218, 'last_updated_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 16, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 16, 3, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608559,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608547 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608560,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608548 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608561,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608549 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608562,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608550 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608563,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608551 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608564,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608552 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608565,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608553 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608566,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608554 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608567,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608555 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608568,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608556 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608569,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608557 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22608570,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22608558 lien utilise dans velours : https://www.fotonower.com/velours/22608559,22608560,22608561,22608562,22608563,22608564,22608565,22608566,22608567,22608568,22608569,22608570?tags=cartonnette,papier,flou,metal,plastique,kraft,Carton_gris,environnement,autre_refus,mal_croppe,Carton_brun,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22608501]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] map_info['map_portfolio_photo'] : {22608501: [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891]} final : False mtd_id 4302 list_pids : [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] Looping around the photos to save general results len do output : 1 /22608501. 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, '2786996') ('4302', '22608501', '1355361049', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355360424', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357171', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357137', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357071', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357044', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356678', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356656', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356648', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356453', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356422', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356417', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356408', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356379', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356239', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356200', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356144', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355555', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355350', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355084', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355054', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355032', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355011', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354983', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354370', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354318', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354265', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354208', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354154', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353411', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353362', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353336', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353306', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352992', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352896', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352843', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351972', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351891', None, None, None, None, None, '2786996') 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', None, '22608501', "{'cartonnette': 22608547, 'papier': 22608548, 'flou': 22608549, 'metal': 22608550, 'plastique': 22608551, 'kraft': 22608552, 'Carton_gris': 22608553, 'environnement': 22608554, 'autre_refus': 22608555, 'mal_croppe': 22608556, 'Carton_brun': 22608557, 'Teint_Dans_La_Masse': 22608558}", None, None, None, None, '2786996'), ('4302', '22608501', '1355361049', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355360424', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357171', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357137', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357071', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357044', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356678', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356656', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356648', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356453', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356422', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356417', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356408', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356379', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356239', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356200', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356144', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355555', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355350', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355084', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355054', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355032', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355011', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354983', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354370', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354318', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354265', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354208', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354154', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353411', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353362', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353336', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353306', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352992', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352896', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352843', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355351972', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355351891', None, None, None, None, None, '2786996')] time used for this insertion : 0.02262711524963379 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.48174118995666504 time spend to save output : 0.023073673248291016 total time spend for step 1 : 0.504814863204956 step2:final Sat May 3 05:46:29 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 (22608501) 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 22608501 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1355351972,1355351891,1355352992,1355352896,1355352843,1355353411,1355353362,1355353336,1355353306,1355354370,1355354318,1355354265,1355354208,1355354154,1355355084,1355355054,1355355032,1355355011,1355354983,1355355555,1355355350,1355356239,1355356200,1355356144,1355356453,1355356422,1355356417,1355356408,1355356379,1355356678,1355356656,1355356648,1355357171,1355357137,1355357071,1355357044,1355361049,1355360424); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22608501]) Inside saveOutput : final : False verbose : True original output for save of step final : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} new output for save of step final : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] map_info['map_portfolio_photo'] : {22608501: [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891]} final : False mtd_id 4302 list_pids : [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] Looping around the photos to save general results len do output : 38 /1355361049.Didn't retrieve data . /1355360424.Didn't retrieve data . /1355357171.Didn't retrieve data . /1355357137.Didn't retrieve data . /1355357071.Didn't retrieve data . /1355357044.Didn't retrieve data . /1355356678.Didn't retrieve data . /1355356656.Didn't retrieve data . /1355356648.Didn't retrieve data . /1355356453.Didn't retrieve data . /1355356422.Didn't retrieve data . /1355356417.Didn't retrieve data . /1355356408.Didn't retrieve data . /1355356379.Didn't retrieve data . /1355356239.Didn't retrieve data . /1355356200.Didn't retrieve data . /1355356144.Didn't retrieve data . /1355355555.Didn't retrieve data . /1355355350.Didn't retrieve data . /1355355084.Didn't retrieve data . /1355355054.Didn't retrieve data . /1355355032.Didn't retrieve data . /1355355011.Didn't retrieve data . /1355354983.Didn't retrieve data . /1355354370.Didn't retrieve data . /1355354318.Didn't retrieve data . /1355354265.Didn't retrieve data . /1355354208.Didn't retrieve data . /1355354154.Didn't retrieve data . /1355353411.Didn't retrieve data . /1355353362.Didn't retrieve data . /1355353336.Didn't retrieve data . /1355353306.Didn't retrieve data . /1355352992.Didn't retrieve data . /1355352896.Didn't retrieve data . /1355352843.Didn't retrieve data . /1355351972.Didn't retrieve data . /1355351891.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, '2786996') ('4302', '22608501', '1355361049', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355360424', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357171', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357137', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357071', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357044', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356678', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356656', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356648', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356453', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356422', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356417', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356408', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356379', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356239', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356200', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356144', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355555', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355350', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355084', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355054', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355032', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355011', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354983', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354370', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354318', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354265', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354208', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354154', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353411', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353362', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353336', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353306', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352992', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352896', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352843', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351972', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351891', None, None, None, None, None, '2786996') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '22608501', '1355361049', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355360424', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355357171', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355357137', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355357071', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355357044', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356678', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356656', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356648', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356453', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356422', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356417', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356408', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356379', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356239', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356200', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355356144', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355355555', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355355350', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355355084', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355355054', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355355032', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355355011', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355354983', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355354370', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355354318', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355354265', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355354208', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355354154', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355353411', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355353362', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355353336', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355353306', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355352992', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355352896', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355352843', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355351972', '0.047051359921170294', None, None, None, None, '2786996'), ('4302', '22608501', '1355351891', '0.047051359921170294', None, None, None, None, '2786996')] time used for this insertion : 0.02109503746032715 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0740506649017334 time spend to save output : 0.022817134857177734 total time spend for step 2 : 0.09686779975891113 step3:velours_tree Sat May 3 05:46:30 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 : {22608501: [{'cartonnette': 22608547, 'papier': 22608548, 'flou': 22608549, 'metal': 22608550, 'plastique': 22608551, 'kraft': 22608552, 'Carton_gris': 22608553, 'environnement': 22608554, 'autre_refus': 22608555, 'mal_croppe': 22608556, 'Carton_brun': 22608557, 'Teint_Dans_La_Masse': 22608558}]} input_args_next_step : {22608501: ()} output_args : {22608501: [{'cartonnette': 22608547, 'papier': 22608548, 'flou': 22608549, 'metal': 22608550, 'plastique': 22608551, 'kraft': 22608552, 'Carton_gris': 22608553, 'environnement': 22608554, 'autre_refus': 22608555, 'mal_croppe': 22608556, 'Carton_brun': 22608557, 'Teint_Dans_La_Masse': 22608558}]} args : 22608501 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 : ({'cartonnette': 22608547, 'papier': 22608548, 'flou': 22608549, 'metal': 22608550, 'plastique': 22608551, 'kraft': 22608552, 'Carton_gris': 22608553, 'environnement': 22608554, 'autre_refus': 22608555, 'mal_croppe': 22608556, 'Carton_brun': 22608557, 'Teint_Dans_La_Masse': 22608558},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22608501) 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([22608501]) 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.37929582595825195 time spend to save output : 4.124641418457031e-05 total time spend for step 3 : 0.3793370723724365 step4:send_mail_cod Sat May 3 05:46:30 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 : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} input_args_next_step : {1355361049: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355361049 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355360424 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355357171 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355357137 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355357071 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355357044 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356678 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356656 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356648 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356453 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356422 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356417 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356408 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356379 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356239 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356200 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355356144 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355355555 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355355350 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355355084 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355355054 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355355032 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355355011 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355354983 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355354370 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355354318 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355354265 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355354208 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355354154 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355353411 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355353362 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355353336 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355353306 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355352992 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355352896 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355352843 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355351972 depend.output_id : 0 input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ()} output_args : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',)} args : 1355351891 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 : {22608501: [{'cartonnette': 22608547, 'papier': 22608548, 'flou': 22608549, 'metal': 22608550, 'plastique': 22608551, 'kraft': 22608552, 'Carton_gris': 22608553, 'environnement': 22608554, 'autre_refus': 22608555, 'mal_croppe': 22608556, 'Carton_brun': 22608557, 'Teint_Dans_La_Masse': 22608558}]} input_args_next_step : {1355361049: ('0.047051359921170294',), 1355360424: ('0.047051359921170294',), 1355357171: ('0.047051359921170294',), 1355357137: ('0.047051359921170294',), 1355357071: ('0.047051359921170294',), 1355357044: ('0.047051359921170294',), 1355356678: ('0.047051359921170294',), 1355356656: ('0.047051359921170294',), 1355356648: ('0.047051359921170294',), 1355356453: ('0.047051359921170294',), 1355356422: ('0.047051359921170294',), 1355356417: ('0.047051359921170294',), 1355356408: ('0.047051359921170294',), 1355356379: ('0.047051359921170294',), 1355356239: ('0.047051359921170294',), 1355356200: ('0.047051359921170294',), 1355356144: ('0.047051359921170294',), 1355355555: ('0.047051359921170294',), 1355355350: ('0.047051359921170294',), 1355355084: ('0.047051359921170294',), 1355355054: ('0.047051359921170294',), 1355355032: ('0.047051359921170294',), 1355355011: ('0.047051359921170294',), 1355354983: ('0.047051359921170294',), 1355354370: ('0.047051359921170294',), 1355354318: ('0.047051359921170294',), 1355354265: ('0.047051359921170294',), 1355354208: ('0.047051359921170294',), 1355354154: ('0.047051359921170294',), 1355353411: ('0.047051359921170294',), 1355353362: ('0.047051359921170294',), 1355353336: ('0.047051359921170294',), 1355353306: ('0.047051359921170294',), 1355352992: ('0.047051359921170294',), 1355352896: ('0.047051359921170294',), 1355352843: ('0.047051359921170294',), 1355351972: ('0.047051359921170294',), 1355351891: ('0.047051359921170294',), 22608501: ()} output_args : {22608501: [{'cartonnette': 22608547, 'papier': 22608548, 'flou': 22608549, 'metal': 22608550, 'plastique': 22608551, 'kraft': 22608552, 'Carton_gris': 22608553, 'environnement': 22608554, 'autre_refus': 22608555, 'mal_croppe': 22608556, 'Carton_brun': 22608557, 'Teint_Dans_La_Masse': 22608558}]} args : 22608501 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 :39, first value : ('0.047051359921170294',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22608501) 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 (1355361049,1355360424,1355357171,1355357137,1355357071,1355357044,1355356678,1355356656,1355356648,1355356453,1355356422,1355356417,1355356408,1355356379,1355356239,1355356200,1355356144,1355355555,1355355350,1355355084,1355355054,1355355032,1355355011,1355354983,1355354370,1355354318,1355354265,1355354208,1355354154,1355353411,1355353362,1355353336,1355353306,1355352992,1355352896,1355352843,1355351972,1355351891) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1355351891 begin to download photo : 1355353411 begin to download photo : 1355355032 begin to download photo : 1355356379 begin to download photo : 1355357044 download finish for photo 1355356379 begin to download photo : 1355356408 download finish for photo 1355355032 begin to download photo : 1355355054 download finish for photo 1355351891 begin to download photo : 1355351972 download finish for photo 1355353411 begin to download photo : 1355354154 download finish for photo 1355357044 begin to download photo : 1355357071 download finish for photo 1355351972 download finish for photo 1355356408 begin to download photo : 1355352843 begin to download photo : 1355356417 download finish for photo 1355355054 begin to download photo : 1355355084 download finish for photo 1355354154 begin to download photo : 1355354208 download finish for photo 1355357071 begin to download photo : 1355357137 download finish for photo 1355352843 begin to download photo : 1355352896 download finish for photo 1355355084 begin to download photo : 1355355350 download finish for photo 1355357137 begin to download photo : 1355357171 download finish for photo 1355354208 begin to download photo : 1355354265 download finish for photo 1355352896 begin to download photo : 1355352992 download finish for photo 1355355350 begin to download photo : 1355355555 download finish for photo 1355357171 begin to download photo : 1355360424 download finish for photo 1355354265 begin to download photo : 1355354318 download finish for photo 1355352992 begin to download photo : 1355353306 download finish for photo 1355355555 begin to download photo : 1355356144 download finish for photo 1355360424 begin to download photo : 1355361049 download finish for photo 1355354318 begin to download photo : 1355354370 download finish for photo 1355353306 begin to download photo : 1355353336 download finish for photo 1355356144 begin to download photo : 1355356200 download finish for photo 1355361049 download finish for photo 1355354370 begin to download photo : 1355354983 download finish for photo 1355353336 begin to download photo : 1355353362 download finish for photo 1355356200 begin to download photo : 1355356239 download finish for photo 1355356239 download finish for photo 1355354983 begin to download photo : 1355355011 download finish for photo 1355353362 download finish for photo 1355355011 download finish for photo 1355356417 begin to download photo : 1355356422 download finish for photo 1355356422 begin to download photo : 1355356453 download finish for photo 1355356453 begin to download photo : 1355356648 download finish for photo 1355356648 begin to download photo : 1355356656 download finish for photo 1355356656 begin to download photo : 1355356678 download finish for photo 1355356678 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P22608501_03-05-2025_05_46_32.pdf 22608547 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=22608547 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355355190: '1746194712_2724011_1355354154_73f3bf93f5467c824ee1a99c00b388da_rle_crop_3780104932_0.png', 1355356319: '1746194832_2725732_1355355054_e54451c1f9fd6d823524aa69cc3f6f39_rle_crop_3780115616_0.png', 1355356320: '1746194832_2725732_1355355032_b335850592ade44862ddf68c8690bd0c_rle_crop_3780115906_0.png', 1355356889: '1746194965_666457_1355356453_202b273195c9543c986f0c70687f5915_rle_crop_3780120529_0.png', 1355356891: '1746194965_666457_1355356144_273fc75575fd75b10e57732b12c10bf2_rle_crop_3780120539_0.png', 1355356894: '1746194965_666457_1355356144_273fc75575fd75b10e57732b12c10bf2_rle_crop_3780120542_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5d1d54b773cffccd27dd18097fdae60_42806744.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b9804ded56b72e8f9aa06846bad509d_34949128.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/70835ffad0cae1f3d4f09270f2ac600b_63762866.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b14881736ff008baad33c45d214febe3_76460613.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/234597b2f2cad826488313a4dc368ddc_15850670.png change filename to text .imagette226085471746243992/ imagette226085471746243992/1746194965_666457_1355356144_273fc75575fd75b10e57732b12c10bf2_rle_crop_3780120539_0.png.png imagette226085471746243992/1746194965_666457_1355356144_273fc75575fd75b10e57732b12c10bf2_rle_crop_3780120542_0.png.png imagette226085471746243992/1746194712_2724011_1355354154_73f3bf93f5467c824ee1a99c00b388da_rle_crop_3780104932_0.png.png imagette226085471746243992/1746194832_2725732_1355355032_b335850592ade44862ddf68c8690bd0c_rle_crop_3780115906_0.png.png imagette226085471746243992/1746194832_2725732_1355355054_e54451c1f9fd6d823524aa69cc3f6f39_rle_crop_3780115616_0.png.png imagette226085471746243992/1746194965_666457_1355356453_202b273195c9543c986f0c70687f5915_rle_crop_3780120529_0.png.png imagette226085491746243993/ imagette226085501746243993/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d5ffe5b4a73c6fc444e6c58a9aae90f1_53640744.png imagette226085471746243992 22608549 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=22608549 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette226085491746243993 22608550 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=22608550 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette226085501746243993 22608551 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=22608551 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355355203: '1746194712_2724011_1355354318_9a0643b617a87b28f3aae6f590e08139_rle_crop_3780104891_0.png', 1355355205: '1746194712_2724011_1355354265_dabc4d65e7c38bb852266385a80526a8_rle_crop_3780104903_0.png', 1355359291: '1746195191_2731800_1355357071_815fac8a16ef19ed717eb18a82351cf1_rle_crop_3780130793_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b88a0b0427be4e3d5edab2556b2264d5_99096989.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20acf4e20e7e3c23c1cd7c4575997429_6085096.png change filename to text .imagette226085511746243993/ imagette226085511746243993/1746195191_2731800_1355357071_815fac8a16ef19ed717eb18a82351cf1_rle_crop_3780130793_0.png.png imagette226085511746243993/1746194712_2724011_1355354318_9a0643b617a87b28f3aae6f590e08139_rle_crop_3780104891_0.png.png imagette226085511746243993/1746194712_2724011_1355354265_dabc4d65e7c38bb852266385a80526a8_rle_crop_3780104903_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63c88013508625a8541f1daa3b793142_78362142.png imagette226085511746243993 22608552 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=22608552 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355356322: '1746194832_2725732_1355354983_b59edeec4bd127033153580c63251e80_rle_crop_3780116212_0.png', 1355359296: '1746195191_2731800_1355357044_9b227259d0b34f7e8efa9a9675e43e50_rle_crop_3780130806_0.png', 1355361543: '1746195373_2734100_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131164_0.png', 1355361545: '1746195373_2734100_1355353336_7682d667fc118089f47f314454458a66_rle_crop_3780131176_0.png', 1355362457: '1746195445_674034_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131164_0.png', 1355362460: '1746195445_674034_1355353336_7682d667fc118089f47f314454458a66_bib_crop_3780131176_0.jpg', 1355362463: '1746195445_674034_1355353336_7682d667fc118089f47f314454458a66_rle_crop_3780131400_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92630950216ce0a56ad60d6f00858ae0_39789152.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ada6f20a4a4a7ddded308d6c088b7e0d_64161907.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54a99eae39cfcc35d3b06992128d87e4_73808587.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/983e2b83c94d1511bb5607a386abe496_22937209.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54a99eae39cfcc35d3b06992128d87e4_53590894.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12672d78abb565b46ff3836d7bc84436_60134646.jpg change filename to text .imagette226085521746243993/ imagette226085521746243993/1746195191_2731800_1355357044_9b227259d0b34f7e8efa9a9675e43e50_rle_crop_3780130806_0.png.png imagette226085521746243993/1746195445_674034_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131164_0.png.png imagette226085521746243993/1746194832_2725732_1355354983_b59edeec4bd127033153580c63251e80_rle_crop_3780116212_0.png.png imagette226085521746243993/1746195373_2734100_1355353336_7682d667fc118089f47f314454458a66_rle_crop_3780131176_0.png.png imagette226085521746243993/1746195373_2734100_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131164_0.png.png imagette226085521746243993/1746195445_674034_1355353336_7682d667fc118089f47f314454458a66_rle_crop_3780131400_0.png.png imagette226085521746243993/1746195445_674034_1355353336_7682d667fc118089f47f314454458a66_bib_crop_3780131176_0.jpg.jpg wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92848d05347c3b68f9fd1c68d6a88612_24495711.png imagette226085521746243993 22608555 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=22608555 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355353854: '1746194593_2722192_1355352896_b80ea824aa6556a80ec8c7b3182f3812_rle_crop_3780096148_0.png', 1355355183: '1746194712_2724011_1355354208_25970679aefbaf60f80b8caf8cb01a90_rle_crop_3780104915_0.png', 1355357958: '1746195072_2729802_1355356656_bd4661229c7168d4ab8026b1db358fc5_rle_crop_3780129213_0.png', 1355358654: '1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129282_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1334a60afe72256fa021356d3093df67_20643445.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/435102f824fdb538919b310349d6de77_38360548.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39aee904e89435f5b4be500b99338d16_94040531.png change filename to text .imagette226085551746243994/ imagette226085551746243994/1746194712_2724011_1355354208_25970679aefbaf60f80b8caf8cb01a90_rle_crop_3780104915_0.png.png imagette226085551746243994/1746195072_2729802_1355356656_bd4661229c7168d4ab8026b1db358fc5_rle_crop_3780129213_0.png.png imagette226085551746243994/1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129282_0.png.png imagette226085551746243994/1746194593_2722192_1355352896_b80ea824aa6556a80ec8c7b3182f3812_rle_crop_3780096148_0.png.png imagette226085561746243994/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eea53a73295923d012a1cd5656d44cf0_60806444.png imagette226085551746243994 22608556 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=22608556 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette226085561746243994 22608553 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=22608553 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355356318: '1746194832_2725732_1355355011_0f12ade2540ad76c4b07d2fae2c43c87_rle_crop_3780115917_0.png', 1355357969: '1746195072_2729802_1355356648_7f61edfbdbccce4af17f7655a3d5201e_rle_crop_3780129227_0.png', 1355358660: '1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129281_0.png', 1355361516: '1746195373_2734100_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131155_0.png', 1355361517: '1746195373_2734100_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131147_0.png', 1355361518: '1746195373_2734100_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131195_0.png', 1355361520: '1746195373_2734100_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131189_0.png', 1355362412: '1746195445_674034_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131155_0.png', 1355362415: '1746195445_674034_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131147_0.png', 1355362418: '1746195445_674034_1355353306_2295f1a434e98b55b8c3cacf577c97fa_bib_crop_3780131195_0.jpg', 1355362421: '1746195445_674034_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131420_0.png', 1355362424: '1746195445_674034_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131189_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86c2d3d16eb474842505586d8cddca2f_13378400.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49307277715c7b5d3a342aa434238c84_44457381.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63f31330543e76090b63d99567c96374_6018227.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11f2ad44d94199359b44a205c1b93601_56914263.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f85d5392285a2f5d6e76cba4f66124f_54388991.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6373b42630193eec556511a06298087_44045942.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/567f03940c3d28bba23c847ccd48cfff_41743258.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11f2ad44d94199359b44a205c1b93601_36932827.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f85d5392285a2f5d6e76cba4f66124f_8430092.png change filename to text .wget -O 10.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a58a31c196d4033ce4ceec4353f82bb_8035807.jpg change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4893d81178024d863b77a7c039603ff_92119778.png change filename to text .imagette226085531746243994/ imagette226085531746243994/1746195072_2729802_1355356648_7f61edfbdbccce4af17f7655a3d5201e_rle_crop_3780129227_0.png.png imagette226085531746243994/1746195373_2734100_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131195_0.png.png imagette226085531746243994/1746195373_2734100_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131189_0.png.png imagette226085531746243994/1746195445_674034_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131155_0.png.png imagette226085531746243994/1746195373_2734100_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131155_0.png.png imagette226085531746243994/1746194832_2725732_1355355011_0f12ade2540ad76c4b07d2fae2c43c87_rle_crop_3780115917_0.png.png imagette226085531746243994/1746195373_2734100_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131147_0.png.png imagette226085531746243994/1746195445_674034_1355353306_2295f1a434e98b55b8c3cacf577c97fa_bib_crop_3780131195_0.jpg.jpg imagette226085531746243994/1746195445_674034_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131420_0.png.png imagette226085531746243994/1746195445_674034_1355354370_dec67c593a9ab58fc9d8db6e40771a8f_rle_crop_3780131147_0.png.png imagette226085531746243994/1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129281_0.png.png imagette226085531746243994/1746195445_674034_1355353306_2295f1a434e98b55b8c3cacf577c97fa_rle_crop_3780131189_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/567f03940c3d28bba23c847ccd48cfff_77173695.png imagette226085531746243994 22608557 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=22608557 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355353875: '1746194593_2722192_1355352896_b80ea824aa6556a80ec8c7b3182f3812_rle_crop_3780096149_0.png', 1355353876: '1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096169_0.png', 1355353877: '1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096168_0.png', 1355355716: '1746194771_2724797_1355353411_dd8ccd4670f47f4f8f54ef85bee0f514_rle_crop_3780105103_0.png', 1355356903: '1746194965_666457_1355356453_202b273195c9543c986f0c70687f5915_rle_crop_3780120527_0.png', 1355356905: '1746194965_666457_1355356144_273fc75575fd75b10e57732b12c10bf2_rle_crop_3780120541_0.png', 1355356929: '1746194952_2727696_1355356422_6fe78b8ee1e1fb3152b26f325db65620_rle_crop_3780120550_0.png', 1355356930: '1746194952_2727696_1355356417_70d8b8e9d4bbcb3b5418f507115b99f3_rle_crop_3780120562_0.png', 1355358667: '1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129291_0.png', 1355361530: '1746195373_2734100_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131172_0.png', 1355362439: '1746195445_674034_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131172_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02adfadde31be2bc65bb8d6c9791029e_33520763.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7596c10595bb97d040ec939b72bbd7c_90665145.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ceaa91e281313b23951421931c3b053_25564552.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ebfe4d5934dbf73b31f9f311f4f2118f_60464675.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18814f2eb40a95e026fdd58d35fd19e8_47737294.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7dfcf90262a241b342ddf6aa82231a1_49906571.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cb460f4afc6ef42c031b16a4b81cb7f_30328746.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1082d2130caa6cfe918f6f17868c5826_77529384.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/460a4aceef1152c66c83b18f2ee4b685_50313382.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba4292f5d2754af450b3d9c77c57830a_53482043.png change filename to text .imagette226085571746243998/ imagette226085571746243998/1746194965_666457_1355356144_273fc75575fd75b10e57732b12c10bf2_rle_crop_3780120541_0.png.png imagette226085571746243998/1746194952_2727696_1355356417_70d8b8e9d4bbcb3b5418f507115b99f3_rle_crop_3780120562_0.png.png imagette226085571746243998/1746194771_2724797_1355353411_dd8ccd4670f47f4f8f54ef85bee0f514_rle_crop_3780105103_0.png.png imagette226085571746243998/1746195445_674034_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131172_0.png.png imagette226085571746243998/1746194593_2722192_1355352896_b80ea824aa6556a80ec8c7b3182f3812_rle_crop_3780096149_0.png.png imagette226085571746243998/1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129291_0.png.png imagette226085571746243998/1746195373_2734100_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131172_0.png.png imagette226085571746243998/1746194952_2727696_1355356422_6fe78b8ee1e1fb3152b26f325db65620_rle_crop_3780120550_0.png.png imagette226085571746243998/1746194965_666457_1355356453_202b273195c9543c986f0c70687f5915_rle_crop_3780120527_0.png.png imagette226085571746243998/1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096168_0.png.png imagette226085571746243998/1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096169_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba4292f5d2754af450b3d9c77c57830a_87163341.png imagette226085571746243998 22608558 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=22608558 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355353839: '1746194593_2722192_1355352896_b80ea824aa6556a80ec8c7b3182f3812_rle_crop_3780096157_0.png', 1355353840: '1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096170_0.png', 1355353841: '1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096173_0.png', 1355355176: '1746194712_2724011_1355354318_9a0643b617a87b28f3aae6f590e08139_rle_crop_3780104889_0.png', 1355355178: '1746194712_2724011_1355354154_73f3bf93f5467c824ee1a99c00b388da_rle_crop_3780104931_0.png', 1355355714: '1746194771_2724797_1355353411_dd8ccd4670f47f4f8f54ef85bee0f514_rle_crop_3780105102_0.png', 1355356316: '1746194832_2725732_1355355555_75db4d17b6ff2ab41d0ab1b994647250_rle_crop_3780115605_0.png', 1355356317: '1746194832_2725732_1355355032_b335850592ade44862ddf68c8690bd0c_rle_crop_3780115909_0.png', 1355356920: '1746194952_2727696_1355356379_aa23a2d802e7dd6d568317eeb135d863_rle_crop_3780120589_0.png', 1355358649: '1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129287_0.png', 1355360668: '1746195312_2733331_1355352992_ea664db91991c7ef2795174e7c64fb0d_rle_crop_3780130967_0.png', 1355361490: '1746195373_2734100_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131171_0.png', 1355362386: '1746195445_674034_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131171_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85adb62ce33cf62369ed1b0e889883ff_57390204.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1960be0833a6caa87e02ae4e8bd1c7e3_22538096.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5347710822304676ee4e9921d0ac9f3b_45549323.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57187c7e35cd0e2209901ac30bb39a1a_49342846.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b8e0c14696ff819f76f6d085e5146fa_10869515.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f6db57717b5fc5cf973f9093bf74ea0_1572442.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/424e58a5f556cc5dc502c2793e076aa8_96033449.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a106a6165ff125ecbb707a505eb4364_36795685.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3bd40ea44476a9ae4ed61c9795bed44b_12366181.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/189e3d3e8ab9c5ae1de21c0248b28d54_44881349.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d5ebf1cfa1e500f10238e0af04005aed_17874934.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94ace33380c64f0963a8042afef7e046_14840195.png change filename to text .imagette226085581746243998/ imagette226085581746243998/1746194712_2724011_1355354318_9a0643b617a87b28f3aae6f590e08139_rle_crop_3780104889_0.png.png imagette226085581746243998/1746195131_2730735_1355356678_db6ed9befb7a20342c08e8d5c86fd95d_rle_crop_3780129287_0.png.png imagette226085581746243998/1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096173_0.png.png imagette226085581746243998/1746194593_2722192_1355352843_9f19fbfec5b3ba7854b50470db95ed8f_rle_crop_3780096170_0.png.png imagette226085581746243998/1746194952_2727696_1355356379_aa23a2d802e7dd6d568317eeb135d863_rle_crop_3780120589_0.png.png imagette226085581746243998/1746194832_2725732_1355355555_75db4d17b6ff2ab41d0ab1b994647250_rle_crop_3780115605_0.png.png imagette226085581746243998/1746194832_2725732_1355355032_b335850592ade44862ddf68c8690bd0c_rle_crop_3780115909_0.png.png imagette226085581746243998/1746195373_2734100_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131171_0.png.png imagette226085581746243998/1746195445_674034_1355353362_105ebf7cabe2d37b806462e2c89640c0_rle_crop_3780131171_0.png.png imagette226085581746243998/1746195312_2733331_1355352992_ea664db91991c7ef2795174e7c64fb0d_rle_crop_3780130967_0.png.png imagette226085581746243998/1746194593_2722192_1355352896_b80ea824aa6556a80ec8c7b3182f3812_rle_crop_3780096157_0.png.png imagette226085581746243998/1746194712_2724011_1355354154_73f3bf93f5467c824ee1a99c00b388da_rle_crop_3780104931_0.png.png imagette226085581746243998/1746194771_2724797_1355353411_dd8ccd4670f47f4f8f54ef85bee0f514_rle_crop_3780105102_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94ace33380c64f0963a8042afef7e046_24992786.png imagette226085581746243998 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22608501 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22608559,22608560,22608561,22608562,22608563,22608564,22608565,22608566,22608567,22608568,22608569,22608570?tags=cartonnette,papier,flou,metal,plastique,kraft,Carton_gris,environnement,autre_refus,mal_croppe,Carton_brun,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1355361049] : ('0.047051359921170294',) no score found for photo 1355361049 We are sending mail with results at report@fotonower.com args[1355360424] : ('0.047051359921170294',) no score found for photo 1355360424 We are sending mail with results at report@fotonower.com args[1355357171] : ('0.047051359921170294',) no score found for photo 1355357171 We are sending mail with results at report@fotonower.com args[1355357137] : ('0.047051359921170294',) no score found for photo 1355357137 We are sending mail with results at report@fotonower.com args[1355357071] : ('0.047051359921170294',) no score found for photo 1355357071 We are sending mail with results at report@fotonower.com args[1355357044] : ('0.047051359921170294',) no score found for photo 1355357044 We are sending mail with results at report@fotonower.com args[1355356678] : ('0.047051359921170294',) no score found for photo 1355356678 We are sending mail with results at report@fotonower.com args[1355356656] : ('0.047051359921170294',) no score found for photo 1355356656 We are sending mail with results at report@fotonower.com args[1355356648] : ('0.047051359921170294',) no score found for photo 1355356648 We are sending mail with results at report@fotonower.com args[1355356453] : ('0.047051359921170294',) no score found for photo 1355356453 We are sending mail with results at report@fotonower.com args[1355356422] : ('0.047051359921170294',) no score found for photo 1355356422 We are sending mail with results at report@fotonower.com args[1355356417] : ('0.047051359921170294',) no score found for photo 1355356417 We are sending mail with results at report@fotonower.com args[1355356408] : ('0.047051359921170294',) no score found for photo 1355356408 We are sending mail with results at report@fotonower.com args[1355356379] : ('0.047051359921170294',) no score found for photo 1355356379 We are sending mail with results at report@fotonower.com args[1355356239] : ('0.047051359921170294',) no score found for photo 1355356239 We are sending mail with results at report@fotonower.com args[1355356200] : ('0.047051359921170294',) no score found for photo 1355356200 We are sending mail with results at report@fotonower.com args[1355356144] : ('0.047051359921170294',) no score found for photo 1355356144 We are sending mail with results at report@fotonower.com args[1355355555] : ('0.047051359921170294',) no score found for photo 1355355555 We are sending mail with results at report@fotonower.com args[1355355350] : ('0.047051359921170294',) no score found for photo 1355355350 We are sending mail with results at report@fotonower.com args[1355355084] : ('0.047051359921170294',) no score found for photo 1355355084 We are sending mail with results at report@fotonower.com args[1355355054] : ('0.047051359921170294',) no score found for photo 1355355054 We are sending mail with results at report@fotonower.com args[1355355032] : ('0.047051359921170294',) no score found for photo 1355355032 We are sending mail with results at report@fotonower.com args[1355355011] : ('0.047051359921170294',) no score found for photo 1355355011 We are sending mail with results at report@fotonower.com args[1355354983] : ('0.047051359921170294',) no score found for photo 1355354983 We are sending mail with results at report@fotonower.com args[1355354370] : ('0.047051359921170294',) no score found for photo 1355354370 We are sending mail with results at report@fotonower.com args[1355354318] : ('0.047051359921170294',) no score found for photo 1355354318 We are sending mail with results at report@fotonower.com args[1355354265] : ('0.047051359921170294',) no score found for photo 1355354265 We are sending mail with results at report@fotonower.com args[1355354208] : ('0.047051359921170294',) no score found for photo 1355354208 We are sending mail with results at report@fotonower.com args[1355354154] : ('0.047051359921170294',) no score found for photo 1355354154 We are sending mail with results at report@fotonower.com args[1355353411] : ('0.047051359921170294',) no score found for photo 1355353411 We are sending mail with results at report@fotonower.com args[1355353362] : ('0.047051359921170294',) no score found for photo 1355353362 We are sending mail with results at report@fotonower.com args[1355353336] : ('0.047051359921170294',) no score found for photo 1355353336 We are sending mail with results at report@fotonower.com args[1355353306] : ('0.047051359921170294',) no score found for photo 1355353306 We are sending mail with results at report@fotonower.com args[1355352992] : ('0.047051359921170294',) no score found for photo 1355352992 We are sending mail with results at report@fotonower.com args[1355352896] : ('0.047051359921170294',) no score found for photo 1355352896 We are sending mail with results at report@fotonower.com args[1355352843] : ('0.047051359921170294',) no score found for photo 1355352843 We are sending mail with results at report@fotonower.com args[1355351972] : ('0.047051359921170294',) no score found for photo 1355351972 We are sending mail with results at report@fotonower.com args[1355351891] : ('0.047051359921170294',) no score found for photo 1355351891 We are sending mail with results at report@fotonower.com refus_total : 0.047051359921170294 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=22608501 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_P22608501_03-05-2025_05_46_32.pdf results_Auto_P22608501_03-05-2025_05_46_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.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','22608501','results_Auto_P22608501_03-05-2025_05_46_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.pdf','pdf','','0.4','0.047051359921170294') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22608501]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] map_info['map_portfolio_photo'] : {22608501: [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891]} final : False mtd_id 4302 list_pids : [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] 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, '2786996') ('4302', '22608501', '1355361049', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355360424', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357171', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357137', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357071', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357044', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356678', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356656', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356648', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356453', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356422', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356417', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356408', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356379', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356239', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356200', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356144', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355555', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355350', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355084', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355054', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355032', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355011', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354983', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354370', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354318', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354265', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354208', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354154', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353411', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353362', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353336', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353306', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352992', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352896', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352843', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351972', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351891', None, None, None, None, None, '2786996') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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', '22608501', '1355361049', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355360424', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357171', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357137', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357071', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357044', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356678', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356656', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356648', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356453', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356422', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356417', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356408', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356379', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356239', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356200', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356144', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355555', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355350', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355084', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355054', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355032', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355011', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354983', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354370', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354318', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354265', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354208', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354154', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353411', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353362', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353336', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353306', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352992', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352896', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352843', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355351972', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355351891', None, None, None, None, None, '2786996')] time used for this insertion : 0.017408370971679688 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.783957958221436 time spend to save output : 0.01799321174621582 total time spend for step 4 : 11.801951169967651 step5:split_time_score Sat May 3 05:46:42 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 : ['22608501'] 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 : [('22608501',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22608501) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1355357044: {'path': 'temp/1746243990_706119_1355357044_9b227259d0b34f7e8efa9a9675e43e50.jpg', 'extension': 'jpg'}, 1355357071: {'path': 'temp/1746243990_706119_1355357071_815fac8a16ef19ed717eb18a82351cf1.jpg', 'extension': 'jpg'}, 1355357137: {'path': 'temp/1746243990_706119_1355357137_12941b13d0a439d630cc78fe4e5fbf5e.jpg', 'extension': 'jpg'}, 1355357171: {'path': 'temp/1746243990_706119_1355357171_1fda3421e1af806a65677eb8661a2233.jpg', 'extension': 'jpg'}, 1355360424: {'path': 'temp/1746243990_706119_1355360424_4400bfd3bd2171bef3149dfbbfd3ec3c.jpg', 'extension': 'jpg'}, 1355361049: {'path': 'temp/1746243990_706119_1355361049_b303f2994a000606672d362dfe713cca.jpg', 'extension': 'jpg'}, 1355355032: {'path': 'temp/1746243990_706119_1355355032_b335850592ade44862ddf68c8690bd0c.jpg', 'extension': 'jpg'}, 1355355054: {'path': 'temp/1746243990_706119_1355355054_e54451c1f9fd6d823524aa69cc3f6f39.jpg', 'extension': 'jpg'}, 1355355084: {'path': 'temp/1746243990_706119_1355355084_be8741ccab5ea5a160b28af36ac1edfb.jpg', 'extension': 'jpg'}, 1355355350: {'path': 'temp/1746243990_706119_1355355350_6c22489591c2411d70f6f451644de9fb.jpg', 'extension': 'jpg'}, 1355355555: {'path': 'temp/1746243990_706119_1355355555_75db4d17b6ff2ab41d0ab1b994647250.jpg', 'extension': 'jpg'}, 1355356144: {'path': 'temp/1746243990_706119_1355356144_273fc75575fd75b10e57732b12c10bf2.jpg', 'extension': 'jpg'}, 1355356200: {'path': 'temp/1746243990_706119_1355356200_f36fae7e2d46fa4259efa6d2683cccf5.jpg', 'extension': 'jpg'}, 1355356239: {'path': 'temp/1746243990_706119_1355356239_a54bc6e91d0f78dd04cd9af56c751b9e.jpg', 'extension': 'jpg'}, 1355351891: {'path': 'temp/1746243990_706119_1355351891_5603c9fa338cab11ebe45c0f4d54b161.jpg', 'extension': 'jpg'}, 1355351972: {'path': 'temp/1746243990_706119_1355351972_b91030548d81fdb862b10c90b2587648.jpg', 'extension': 'jpg'}, 1355352843: {'path': 'temp/1746243990_706119_1355352843_9f19fbfec5b3ba7854b50470db95ed8f.jpg', 'extension': 'jpg'}, 1355352896: {'path': 'temp/1746243990_706119_1355352896_b80ea824aa6556a80ec8c7b3182f3812.jpg', 'extension': 'jpg'}, 1355352992: {'path': 'temp/1746243990_706119_1355352992_ea664db91991c7ef2795174e7c64fb0d.jpg', 'extension': 'jpg'}, 1355353306: {'path': 'temp/1746243990_706119_1355353306_2295f1a434e98b55b8c3cacf577c97fa.jpg', 'extension': 'jpg'}, 1355353336: {'path': 'temp/1746243990_706119_1355353336_7682d667fc118089f47f314454458a66.jpg', 'extension': 'jpg'}, 1355353362: {'path': 'temp/1746243990_706119_1355353362_105ebf7cabe2d37b806462e2c89640c0.jpg', 'extension': 'jpg'}, 1355353411: {'path': 'temp/1746243990_706119_1355353411_dd8ccd4670f47f4f8f54ef85bee0f514.jpg', 'extension': 'jpg'}, 1355354154: {'path': 'temp/1746243990_706119_1355354154_73f3bf93f5467c824ee1a99c00b388da.jpg', 'extension': 'jpg'}, 1355354208: {'path': 'temp/1746243990_706119_1355354208_25970679aefbaf60f80b8caf8cb01a90.jpg', 'extension': 'jpg'}, 1355354265: {'path': 'temp/1746243990_706119_1355354265_dabc4d65e7c38bb852266385a80526a8.jpg', 'extension': 'jpg'}, 1355354318: {'path': 'temp/1746243990_706119_1355354318_9a0643b617a87b28f3aae6f590e08139.jpg', 'extension': 'jpg'}, 1355354370: {'path': 'temp/1746243990_706119_1355354370_dec67c593a9ab58fc9d8db6e40771a8f.jpg', 'extension': 'jpg'}, 1355354983: {'path': 'temp/1746243990_706119_1355354983_b59edeec4bd127033153580c63251e80.jpg', 'extension': 'jpg'}, 1355355011: {'path': 'temp/1746243990_706119_1355355011_0f12ade2540ad76c4b07d2fae2c43c87.jpg', 'extension': 'jpg'}, 1355356379: {'path': 'temp/1746243990_706119_1355356379_aa23a2d802e7dd6d568317eeb135d863.jpg', 'extension': 'jpg'}, 1355356408: {'path': 'temp/1746243990_706119_1355356408_c9e434ddd4aa90e13c2b32f08afc6533.jpg', 'extension': 'jpg'}, 1355356417: {'path': 'temp/1746243990_706119_1355356417_70d8b8e9d4bbcb3b5418f507115b99f3.jpg', 'extension': 'jpg'}, 1355356422: {'path': 'temp/1746243990_706119_1355356422_6fe78b8ee1e1fb3152b26f325db65620.jpg', 'extension': 'jpg'}, 1355356453: {'path': 'temp/1746243990_706119_1355356453_202b273195c9543c986f0c70687f5915.jpg', 'extension': 'jpg'}, 1355356648: {'path': 'temp/1746243990_706119_1355356648_7f61edfbdbccce4af17f7655a3d5201e.jpg', 'extension': 'jpg'}, 1355356656: {'path': 'temp/1746243990_706119_1355356656_bd4661229c7168d4ab8026b1db358fc5.jpg', 'extension': 'jpg'}, 1355356678: {'path': 'temp/1746243990_706119_1355356678_db6ed9befb7a20342c08e8d5c86fd95d.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 = 22608501; (('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 = 22608501 group by h (('16', 38),) 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=22608501 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 (22608501) 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 (22608501) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02052025 22608501 Nombre de photos uploadées : 38 / 23040 (0%) 02052025 22608501 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 02052025 22608501 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1355351972, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b91030548d81fdb862b10c90b2587648.jpg', 'username': None, 'uploaded_at': 1746194467, 'text': 'image_02052025_16_00_14_010188m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355351891, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5603c9fa338cab11ebe45c0f4d54b161.jpg', 'username': None, 'uploaded_at': 1746194467, 'text': 'image_02052025_16_00_24_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355352992, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea664db91991c7ef2795174e7c64fb0d.jpg', 'username': None, 'uploaded_at': 1746194527, 'text': 'image_02052025_16_00_45_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355352896, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b80ea824aa6556a80ec8c7b3182f3812.jpg', 'username': None, 'uploaded_at': 1746194527, 'text': 'image_02052025_16_01_14_009124m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001964092254638672 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22608501, '2025-05-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1765550,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.021936655044555664 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= 1765550 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589204, 'dashboard_result_id': 10266252, '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_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589345, 'dashboard_result_id': 10266253, '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_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589743, 'dashboard_result_id': 10266254, '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_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590338, 'dashboard_result_id': 10266255, '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_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590734, 'dashboard_result_id': 10266256, '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_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590863, 'dashboard_result_id': 10266257, '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_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22591348, 'dashboard_result_id': 10266258, '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_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22591636, 'dashboard_result_id': 10266259, '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_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22592221, 'dashboard_result_id': 10266260, '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_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22592634, 'dashboard_result_id': 10266261, '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_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22593197, 'dashboard_result_id': 10266262, '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_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22593637, 'dashboard_result_id': 10266263, '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_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22594215, 'dashboard_result_id': 10266264, '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_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22594939, 'dashboard_result_id': 10266265, '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_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22595293, 'dashboard_result_id': 10266266, '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_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22596857, 'dashboard_result_id': 10266267, '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_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22597376, 'dashboard_result_id': 10266268, '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_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22597852, 'dashboard_result_id': 10266269, '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_P22597852_03-05-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22598402, 'dashboard_result_id': 10266270, '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_P22598402_03-05-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22598714, 'dashboard_result_id': 10266271, '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_P22598714_03-05-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22599216, 'dashboard_result_id': 10266272, '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_P22599216_03-05-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22599783, 'dashboard_result_id': 10266273, '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_P22599783_03-05-2025_05_42_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22600238, 'dashboard_result_id': 10266274, '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_P22600238_03-05-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22600776, 'dashboard_result_id': 10266275, '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_P22600776_03-05-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22601365, 'dashboard_result_id': 10266276, '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_P22601365_03-05-2025_05_43_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22601825, 'dashboard_result_id': 10266277, '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_P22601825_03-05-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22604792, 'dashboard_result_id': 10266278, '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_P22604792_03-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22605092, 'dashboard_result_id': 10266279, '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_P22605092_03-05-2025_05_44_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22605713, 'dashboard_result_id': 10266280, '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_P22605713_03-05-2025_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22606058, 'dashboard_result_id': 10266281, '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_P22606058_03-05-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22606881, 'dashboard_result_id': 10266282, '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_P22606881_03-05-2025_05_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22607985, 'dashboard_result_id': 10266283, '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_P22607985_03-05-2025_05_46_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22608501, 'dashboard_result_id': 10266284, '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_P22608501_02-05-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22609408, 'dashboard_result_id': 10266285, '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_P22609408_02-05-2025_16_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22609715, 'dashboard_result_id': 10266286, '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_P22609715_02-05-2025_16_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22610437, 'dashboard_result_id': 10266287, '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_P22610437_02-05-2025_17_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22610994, 'dashboard_result_id': 10266288, '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_P22610994_02-05-2025_17_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22611606, 'dashboard_result_id': 10266289, '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_P22611606_02-05-2025_18_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22613023, 'dashboard_result_id': 10266290, '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_P22613023_02-05-2025_18_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22613686, 'dashboard_result_id': 10266291, '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_P22613686_02-05-2025_18_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22614349, 'dashboard_result_id': 10266292, '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_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22615158, 'dashboard_result_id': 10266293, '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_P22615158_02-05-2025_19_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22615897, 'dashboard_result_id': 10266294, '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_P22615897_02-05-2025_19_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22616551, 'dashboard_result_id': 10266295, '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_P22616551_02-05-2025_19_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22617232, 'dashboard_result_id': 10266296, '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_P22617232_02-05-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22618017, 'dashboard_result_id': 10266297, '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_P22618017_02-05-2025_20_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22618470, 'dashboard_result_id': 10266298, '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_P22618470_02-05-2025_20_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22619074, 'dashboard_result_id': 10266299, '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_P22619074_02-05-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22619744, 'dashboard_result_id': 10266300, '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_P22619744_02-05-2025_21_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22620531, 'dashboard_result_id': 10266301, '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_P22620531_02-05-2025_21_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22620848, 'dashboard_result_id': 10266302, '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_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22621300, 'dashboard_result_id': 10266303, '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_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22621997, 'dashboard_result_id': 10266304, '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_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22622472, 'dashboard_result_id': 10266305, '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_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22623210, 'dashboard_result_id': 10266306, '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_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22624019, 'dashboard_result_id': 10266307, '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_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22624848, 'dashboard_result_id': 10266308, '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_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22625733, 'dashboard_result_id': 10266309, '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_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22626287, 'dashboard_result_id': 10266310, '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_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22627137, 'dashboard_result_id': 10266311, '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_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22627814, 'dashboard_result_id': 10266312, '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_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, '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 = 22589204 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': 2786964, 'mtr_portfolio_id': 22589204, 'created_at': datetime.datetime(2025, 5, 3, 5, 34, 29), 'result': '0.11578722670962653', 'result_long': None, 'result_double': None}] Qualite : 0.11578722670962653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589204 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_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, 'pht': 3726}}" where mtr_portfolio_id = 22589204 and dashboard_run_id = 1777835 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`=22589204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266252, 0.11578722670962653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, '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 = 22589345 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': 2786965, 'mtr_portfolio_id': 22589345, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 1), 'result': '0.06688132689946549', 'result_long': None, 'result_double': None}] Qualite : 0.06688132689946549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589345 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_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, 'pht': 3726}}" where mtr_portfolio_id = 22589345 and dashboard_run_id = 1777835 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`=22589345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266253, 0.06688132689946549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, '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 = 22589743 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': 2786966, 'mtr_portfolio_id': 22589743, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 31), 'result': '0.05017581572593625', 'result_long': None, 'result_double': None}] Qualite : 0.05017581572593625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589743 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589743 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_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, 'pht': 3726}}" where mtr_portfolio_id = 22589743 and dashboard_run_id = 1777835 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`=22589743 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266254, 0.05017581572593625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, '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 = 22590338 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': 2786967, 'mtr_portfolio_id': 22590338, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 28), 'result': '0.060157682598092205', 'result_long': None, 'result_double': None}] Qualite : 0.060157682598092205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590338 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_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, 'pht': 3726}}" where mtr_portfolio_id = 22590338 and dashboard_run_id = 1777835 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`=22590338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266255, 0.060157682598092205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, '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 = 22590734 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': 2786968, 'mtr_portfolio_id': 22590734, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 57), 'result': '0.037654898727380724', 'result_long': None, 'result_double': None}] Qualite : 0.037654898727380724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590734 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_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, 'pht': 3726}}" where mtr_portfolio_id = 22590734 and dashboard_run_id = 1777835 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`=22590734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266256, 0.037654898727380724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, '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 = 22590863 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': 2786969, 'mtr_portfolio_id': 22590863, 'created_at': datetime.datetime(2025, 5, 3, 5, 36, 29), 'result': '0.0644989178083683', 'result_long': None, 'result_double': None}] Qualite : 0.0644989178083683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590863 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_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, 'pht': 3726}}" where mtr_portfolio_id = 22590863 and dashboard_run_id = 1777835 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`=22590863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266257, 0.0644989178083683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, '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 = 22591348 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': 2786970, 'mtr_portfolio_id': 22591348, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 1), 'result': '0.05650957500100291', 'result_long': None, 'result_double': None}] Qualite : 0.05650957500100291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22591348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22591348 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_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, 'pht': 3726}}" where mtr_portfolio_id = 22591348 and dashboard_run_id = 1777835 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`=22591348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266258, 0.05650957500100291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, '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 = 22591636 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': 2786971, 'mtr_portfolio_id': 22591636, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 31), 'result': '0.06432818209472826', 'result_long': None, 'result_double': None}] Qualite : 0.06432818209472826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22591636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22591636 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_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, 'pht': 3726}}" where mtr_portfolio_id = 22591636 and dashboard_run_id = 1777835 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`=22591636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266259, 0.06432818209472826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, '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 = 22592221 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': 2786972, 'mtr_portfolio_id': 22592221, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 31), 'result': '0.04293719768344841', 'result_long': None, 'result_double': None}] Qualite : 0.04293719768344841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22592221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22592221 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_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, 'pht': 3726}}" where mtr_portfolio_id = 22592221 and dashboard_run_id = 1777835 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`=22592221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266260, 0.04293719768344841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, '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 = 22592634 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': 2786973, 'mtr_portfolio_id': 22592634, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 28), 'result': '0.06915123421417789', 'result_long': None, 'result_double': None}] Qualite : 0.06915123421417789 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22592634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22592634 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_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, 'pht': 3726}}" where mtr_portfolio_id = 22592634 and dashboard_run_id = 1777835 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`=22592634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266261, 0.06915123421417789, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, '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 = 22593197 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': 2786974, 'mtr_portfolio_id': 22593197, 'created_at': datetime.datetime(2025, 5, 3, 5, 38), 'result': '0.047061770014372145', 'result_long': None, 'result_double': None}] Qualite : 0.047061770014372145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22593197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22593197 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_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, 'pht': 3726}}" where mtr_portfolio_id = 22593197 and dashboard_run_id = 1777835 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`=22593197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266262, 0.047061770014372145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, '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 = 22593637 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': 2786975, 'mtr_portfolio_id': 22593637, 'created_at': datetime.datetime(2025, 5, 3, 5, 38, 30), 'result': '0.04982009173922521', 'result_long': None, 'result_double': None}] Qualite : 0.04982009173922521 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22593637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22593637 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_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, 'pht': 3726}}" where mtr_portfolio_id = 22593637 and dashboard_run_id = 1777835 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`=22593637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266263, 0.04982009173922521, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, '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 = 22594215 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': 2786976, 'mtr_portfolio_id': 22594215, 'created_at': datetime.datetime(2025, 5, 3, 5, 38, 58), 'result': '0.052097345220194914', 'result_long': None, 'result_double': None}] Qualite : 0.052097345220194914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22594215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22594215 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_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, 'pht': 3726}}" where mtr_portfolio_id = 22594215 and dashboard_run_id = 1777835 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`=22594215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266264, 0.052097345220194914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, '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 = 22594939 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': 2786977, 'mtr_portfolio_id': 22594939, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 27), 'result': '0.06944314021104031', 'result_long': None, 'result_double': None}] Qualite : 0.06944314021104031 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22594939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22594939 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_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, 'pht': 3726}}" where mtr_portfolio_id = 22594939 and dashboard_run_id = 1777835 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`=22594939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266265, 0.06944314021104031, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, '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 = 22595293 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': 2786978, 'mtr_portfolio_id': 22595293, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 29), 'result': '0.06928306352067726', 'result_long': None, 'result_double': None}] Qualite : 0.06928306352067726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22595293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22595293 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_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, 'pht': 3726}}" where mtr_portfolio_id = 22595293 and dashboard_run_id = 1777835 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`=22595293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266266, 0.06928306352067726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, '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 = 22596857 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': 2786979, 'mtr_portfolio_id': 22596857, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 57), 'result': '0.03762434420756704', 'result_long': None, 'result_double': None}] Qualite : 0.03762434420756704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22596857 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22596857 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_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, 'pht': 3726}}" where mtr_portfolio_id = 22596857 and dashboard_run_id = 1777835 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`=22596857 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266267, 0.03762434420756704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, '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 = 22597376 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': 2786980, 'mtr_portfolio_id': 22597376, 'created_at': datetime.datetime(2025, 5, 3, 5, 40, 30), 'result': '0.04540340085618681', 'result_long': None, 'result_double': None}] Qualite : 0.04540340085618681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22597376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22597376 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_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, 'pht': 3726}}" where mtr_portfolio_id = 22597376 and dashboard_run_id = 1777835 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`=22597376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266268, 0.04540340085618681, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, '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 = 22597852 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': 2786981, 'mtr_portfolio_id': 22597852, 'created_at': datetime.datetime(2025, 5, 3, 5, 40, 59), 'result': '0.05055349238047824', 'result_long': None, 'result_double': None}] Qualite : 0.05055349238047824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22597852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_03-05-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22597852 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_P22597852_03-05-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, 'pht': 3726}}" where mtr_portfolio_id = 22597852 and dashboard_run_id = 1777835 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`=22597852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266269, 0.05055349238047824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_03-05-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, '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 = 22598402 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': 2786982, 'mtr_portfolio_id': 22598402, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 1), 'result': '0.04809181767037908', 'result_long': None, 'result_double': None}] Qualite : 0.04809181767037908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22598402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_03-05-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22598402 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_P22598402_03-05-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, 'pht': 3726}}" where mtr_portfolio_id = 22598402 and dashboard_run_id = 1777835 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`=22598402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266270, 0.04809181767037908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_03-05-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, '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 = 22598714 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': 2786983, 'mtr_portfolio_id': 22598714, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 28), 'result': '0.04822148532481953', 'result_long': None, 'result_double': None}] Qualite : 0.04822148532481953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22598714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_03-05-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22598714 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_P22598714_03-05-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, 'pht': 3726}}" where mtr_portfolio_id = 22598714 and dashboard_run_id = 1777835 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`=22598714 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266271, 0.04822148532481953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_03-05-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, '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 = 22599216 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': 2786984, 'mtr_portfolio_id': 22599216, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 29), 'result': '0.06818539466315302', 'result_long': None, 'result_double': None}] Qualite : 0.06818539466315302 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22599216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_03-05-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22599216 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_P22599216_03-05-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, 'pht': 3726}}" where mtr_portfolio_id = 22599216 and dashboard_run_id = 1777835 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`=22599216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266272, 0.06818539466315302, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_03-05-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, '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 = 22599783 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': 2786985, 'mtr_portfolio_id': 22599783, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 58), 'result': '0.07033576920981548', 'result_long': None, 'result_double': None}] Qualite : 0.07033576920981548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22599783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_03-05-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22599783 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_P22599783_03-05-2025_05_42_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, 'pht': 3726}}" where mtr_portfolio_id = 22599783 and dashboard_run_id = 1777835 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`=22599783 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266273, 0.07033576920981548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_03-05-2025_05_42_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, '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 = 22600238 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': 2786986, 'mtr_portfolio_id': 22600238, 'created_at': datetime.datetime(2025, 5, 3, 5, 42, 31), 'result': '0.048028297389543693', 'result_long': None, 'result_double': None}] Qualite : 0.048028297389543693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22600238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_03-05-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22600238 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_P22600238_03-05-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, 'pht': 3726}}" where mtr_portfolio_id = 22600238 and dashboard_run_id = 1777835 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`=22600238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266274, 0.048028297389543693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_03-05-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, '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 = 22600776 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': 2786987, 'mtr_portfolio_id': 22600776, 'created_at': datetime.datetime(2025, 5, 3, 5, 42, 58), 'result': '0.0554080460909729', 'result_long': None, 'result_double': None}] Qualite : 0.0554080460909729 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22600776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_03-05-2025_05_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22600776 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_P22600776_03-05-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, 'pht': 3726}}" where mtr_portfolio_id = 22600776 and dashboard_run_id = 1777835 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`=22600776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266275, 0.0554080460909729, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_03-05-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, '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 = 22601365 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': 2786988, 'mtr_portfolio_id': 22601365, 'created_at': datetime.datetime(2025, 5, 3, 5, 43, 32), 'result': '0.053400222395469696', 'result_long': None, 'result_double': None}] Qualite : 0.053400222395469696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22601365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_03-05-2025_05_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22601365 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_P22601365_03-05-2025_05_43_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, 'pht': 3726}}" where mtr_portfolio_id = 22601365 and dashboard_run_id = 1777835 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`=22601365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266276, 0.053400222395469696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_03-05-2025_05_43_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, '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 = 22601825 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': 2786989, 'mtr_portfolio_id': 22601825, 'created_at': datetime.datetime(2025, 5, 3, 5, 43, 30), 'result': '0.04072841462141023', 'result_long': None, 'result_double': None}] Qualite : 0.04072841462141023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22601825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22601825 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_P22601825_03-05-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, 'pht': 3726}}" where mtr_portfolio_id = 22601825 and dashboard_run_id = 1777835 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`=22601825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266277, 0.04072841462141023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, '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 = 22604792 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': 2786990, 'mtr_portfolio_id': 22604792, 'created_at': datetime.datetime(2025, 5, 3, 5, 44), 'result': '0.03894169738071198', 'result_long': None, 'result_double': None}] Qualite : 0.03894169738071198 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22604792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_03-05-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22604792 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_P22604792_03-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, 'pht': 3726}}" where mtr_portfolio_id = 22604792 and dashboard_run_id = 1777835 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`=22604792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266278, 0.03894169738071198, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_03-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, '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 = 22605092 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': 2786991, 'mtr_portfolio_id': 22605092, 'created_at': datetime.datetime(2025, 5, 3, 5, 44, 29), 'result': '0.035247145344444814', 'result_long': None, 'result_double': None}] Qualite : 0.035247145344444814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22605092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_03-05-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22605092 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_P22605092_03-05-2025_05_44_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, 'pht': 3726}}" where mtr_portfolio_id = 22605092 and dashboard_run_id = 1777835 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`=22605092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266279, 0.035247145344444814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_03-05-2025_05_44_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, '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 = 22605713 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': 2786992, 'mtr_portfolio_id': 22605713, 'created_at': datetime.datetime(2025, 5, 3, 5, 44, 59), 'result': '0.05817519317256889', 'result_long': None, 'result_double': None}] Qualite : 0.05817519317256889 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22605713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_03-05-2025_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22605713 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_P22605713_03-05-2025_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, 'pht': 3726}}" where mtr_portfolio_id = 22605713 and dashboard_run_id = 1777835 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`=22605713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266280, 0.05817519317256889, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_03-05-2025_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, '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 = 22606058 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': 2786993, 'mtr_portfolio_id': 22606058, 'created_at': datetime.datetime(2025, 5, 3, 5, 45, 27), 'result': '0.05299306093987235', 'result_long': None, 'result_double': None}] Qualite : 0.05299306093987235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22606058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_03-05-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22606058 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_P22606058_03-05-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, 'pht': 3726}}" where mtr_portfolio_id = 22606058 and dashboard_run_id = 1777835 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`=22606058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266281, 0.05299306093987235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_03-05-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, '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 = 22606881 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': 2786994, 'mtr_portfolio_id': 22606881, 'created_at': datetime.datetime(2025, 5, 3, 5, 45, 29), 'result': '0.03180261307965461', 'result_long': None, 'result_double': None}] Qualite : 0.03180261307965461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22606881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_03-05-2025_05_45_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22606881 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_P22606881_03-05-2025_05_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, 'pht': 3726}}" where mtr_portfolio_id = 22606881 and dashboard_run_id = 1777835 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`=22606881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266282, 0.03180261307965461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_03-05-2025_05_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, '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 = 22607985 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': 2786995, 'mtr_portfolio_id': 22607985, 'created_at': datetime.datetime(2025, 5, 3, 5, 45, 59), 'result': '0.050384148815886126', 'result_long': None, 'result_double': None}] Qualite : 0.050384148815886126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22607985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_03-05-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22607985 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_P22607985_03-05-2025_05_46_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, 'pht': 3726}}" where mtr_portfolio_id = 22607985 and dashboard_run_id = 1777835 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`=22607985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266283, 0.050384148815886126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_03-05-2025_05_46_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, '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 = 22608501 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': 2786996, 'mtr_portfolio_id': 22608501, 'created_at': datetime.datetime(2025, 5, 3, 5, 46, 30), 'result': '0.047051359921170294', 'result_long': None, 'result_double': None}] Qualite : 0.047051359921170294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22608501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22608501 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_P22608501_03-05-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, 'pht': 3726}}" where mtr_portfolio_id = 22608501 and dashboard_run_id = 1777835 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`=22608501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266284, 0.047051359921170294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, '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 = 22609408 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': 2784081, 'mtr_portfolio_id': 22609408, 'created_at': datetime.datetime(2025, 5, 2, 16, 32, 58), 'result': '0.036062353526804675', 'result_long': None, 'result_double': None}] Qualite : 0.036062353526804675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22609408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_02-05-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22609408 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_P22609408_02-05-2025_16_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, 'pht': 3726}}" where mtr_portfolio_id = 22609408 and dashboard_run_id = 1777835 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`=22609408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266285, 0.036062353526804675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_02-05-2025_16_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, '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 = 22609715 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': 2784137, 'mtr_portfolio_id': 22609715, 'created_at': datetime.datetime(2025, 5, 2, 16, 50, 58), 'result': '0.039319208231918854', 'result_long': None, 'result_double': None}] Qualite : 0.039319208231918854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22609715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_02-05-2025_16_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22609715 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_P22609715_02-05-2025_16_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, 'pht': 3726}}" where mtr_portfolio_id = 22609715 and dashboard_run_id = 1777835 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`=22609715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266286, 0.039319208231918854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_02-05-2025_16_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, '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 = 22610437 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': 2784202, 'mtr_portfolio_id': 22610437, 'created_at': datetime.datetime(2025, 5, 2, 17, 4, 58), 'result': '0.06179093901455749', 'result_long': None, 'result_double': None}] Qualite : 0.06179093901455749 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22610437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_02-05-2025_17_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22610437 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_P22610437_02-05-2025_17_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, 'pht': 3726}}" where mtr_portfolio_id = 22610437 and dashboard_run_id = 1777835 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`=22610437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266287, 0.06179093901455749, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_02-05-2025_17_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, '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 = 22610994 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': 2784268, 'mtr_portfolio_id': 22610994, 'created_at': datetime.datetime(2025, 5, 2, 17, 16, 59), 'result': '0.03916743678891736', 'result_long': None, 'result_double': None}] Qualite : 0.03916743678891736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22610994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_02-05-2025_17_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22610994 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_P22610994_02-05-2025_17_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, 'pht': 3726}}" where mtr_portfolio_id = 22610994 and dashboard_run_id = 1777835 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`=22610994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266288, 0.03916743678891736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_02-05-2025_17_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, '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 = 22611606 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': 2784326, 'mtr_portfolio_id': 22611606, 'created_at': datetime.datetime(2025, 5, 2, 18, 4, 59), 'result': '0.06886421457201762', 'result_long': None, 'result_double': None}] Qualite : 0.06886421457201762 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22611606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_02-05-2025_18_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22611606 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_P22611606_02-05-2025_18_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, 'pht': 3726}}" where mtr_portfolio_id = 22611606 and dashboard_run_id = 1777835 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`=22611606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266289, 0.06886421457201762, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_02-05-2025_18_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, '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 = 22613023 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': 2784517, 'mtr_portfolio_id': 22613023, 'created_at': datetime.datetime(2025, 5, 2, 18, 18, 58), 'result': '0.057913960095635965', 'result_long': None, 'result_double': None}] Qualite : 0.057913960095635965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22613023 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_02-05-2025_18_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22613023 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_P22613023_02-05-2025_18_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, 'pht': 3726}}" where mtr_portfolio_id = 22613023 and dashboard_run_id = 1777835 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`=22613023 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266290, 0.057913960095635965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_02-05-2025_18_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, '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 = 22613686 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': 2784579, 'mtr_portfolio_id': 22613686, 'created_at': datetime.datetime(2025, 5, 2, 18, 32, 59), 'result': '0.05084133045107916', 'result_long': None, 'result_double': None}] Qualite : 0.05084133045107916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22613686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_02-05-2025_18_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22613686 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_P22613686_02-05-2025_18_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, 'pht': 3726}}" where mtr_portfolio_id = 22613686 and dashboard_run_id = 1777835 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`=22613686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266291, 0.05084133045107916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_02-05-2025_18_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, '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 = 22614349 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': 2784648, 'mtr_portfolio_id': 22614349, 'created_at': datetime.datetime(2025, 5, 2, 18, 49, 31), 'result': '0.052903316785992194', 'result_long': None, 'result_double': None}] Qualite : 0.052903316785992194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22614349 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22614349 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_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, 'pht': 3726}}" where mtr_portfolio_id = 22614349 and dashboard_run_id = 1777835 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`=22614349 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266292, 0.052903316785992194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, '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 = 22615158 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': 2784731, 'mtr_portfolio_id': 22615158, 'created_at': datetime.datetime(2025, 5, 2, 19, 4, 57), 'result': '0.07743530002474086', 'result_long': None, 'result_double': None}] Qualite : 0.07743530002474086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22615158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_02-05-2025_19_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22615158 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_P22615158_02-05-2025_19_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, 'pht': 3726}}" where mtr_portfolio_id = 22615158 and dashboard_run_id = 1777835 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`=22615158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266293, 0.07743530002474086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_02-05-2025_19_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, '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 = 22615897 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': 2784791, 'mtr_portfolio_id': 22615897, 'created_at': datetime.datetime(2025, 5, 2, 19, 17, 1), 'result': '0.03726462156558867', 'result_long': None, 'result_double': None}] Qualite : 0.03726462156558867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22615897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_02-05-2025_19_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22615897 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_P22615897_02-05-2025_19_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, 'pht': 3726}}" where mtr_portfolio_id = 22615897 and dashboard_run_id = 1777835 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`=22615897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266294, 0.03726462156558867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_02-05-2025_19_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, '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 = 22616551 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': 2784840, 'mtr_portfolio_id': 22616551, 'created_at': datetime.datetime(2025, 5, 2, 19, 33, 59), 'result': '0.03603503527858433', 'result_long': None, 'result_double': None}] Qualite : 0.03603503527858433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22616551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_02-05-2025_19_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22616551 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_P22616551_02-05-2025_19_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, 'pht': 3726}}" where mtr_portfolio_id = 22616551 and dashboard_run_id = 1777835 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`=22616551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266295, 0.03603503527858433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_02-05-2025_19_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, '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 = 22617232 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': 2784898, 'mtr_portfolio_id': 22617232, 'created_at': datetime.datetime(2025, 5, 2, 19, 49), 'result': '0.0481919718954409', 'result_long': None, 'result_double': None}] Qualite : 0.0481919718954409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22617232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_02-05-2025_19_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22617232 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_P22617232_02-05-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, 'pht': 3726}}" where mtr_portfolio_id = 22617232 and dashboard_run_id = 1777835 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`=22617232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266296, 0.0481919718954409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_02-05-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, '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 = 22618017 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': 2784969, 'mtr_portfolio_id': 22618017, 'created_at': datetime.datetime(2025, 5, 2, 20, 3, 1), 'result': '0.04988900920094549', 'result_long': None, 'result_double': None}] Qualite : 0.04988900920094549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22618017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_02-05-2025_20_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22618017 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_P22618017_02-05-2025_20_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, 'pht': 3726}}" where mtr_portfolio_id = 22618017 and dashboard_run_id = 1777835 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`=22618017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266297, 0.04988900920094549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_02-05-2025_20_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, '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 = 22618470 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': 2785031, 'mtr_portfolio_id': 22618470, 'created_at': datetime.datetime(2025, 5, 2, 20, 17, 1), 'result': '0.04508370436037123', 'result_long': None, 'result_double': None}] Qualite : 0.04508370436037123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22618470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_02-05-2025_20_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22618470 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_P22618470_02-05-2025_20_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, 'pht': 3726}}" where mtr_portfolio_id = 22618470 and dashboard_run_id = 1777835 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`=22618470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266298, 0.04508370436037123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_02-05-2025_20_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, '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 = 22619074 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': 2785095, 'mtr_portfolio_id': 22619074, 'created_at': datetime.datetime(2025, 5, 2, 20, 32, 58), 'result': '0.05532764925991087', 'result_long': None, 'result_double': None}] Qualite : 0.05532764925991087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22619074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_02-05-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22619074 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_P22619074_02-05-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, 'pht': 3726}}" where mtr_portfolio_id = 22619074 and dashboard_run_id = 1777835 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`=22619074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266299, 0.05532764925991087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_02-05-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, '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 = 22619744 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': 2785163, 'mtr_portfolio_id': 22619744, 'created_at': datetime.datetime(2025, 5, 2, 21, 4, 58), 'result': '0.06401292806113919', 'result_long': None, 'result_double': None}] Qualite : 0.06401292806113919 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22619744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_02-05-2025_21_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22619744 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_P22619744_02-05-2025_21_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, 'pht': 3726}}" where mtr_portfolio_id = 22619744 and dashboard_run_id = 1777835 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`=22619744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266300, 0.06401292806113919, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_02-05-2025_21_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, '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 = 22620531 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': 2785266, 'mtr_portfolio_id': 22620531, 'created_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'result': '0.08125576551814391', 'result_long': None, 'result_double': None}] Qualite : 0.08125576551814391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22620531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_02-05-2025_21_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22620531 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_P22620531_02-05-2025_21_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, 'pht': 3726}}" where mtr_portfolio_id = 22620531 and dashboard_run_id = 1777835 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`=22620531 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266301, 0.08125576551814391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_02-05-2025_21_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, '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 = 22620848 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': 2785316, 'mtr_portfolio_id': 22620848, 'created_at': datetime.datetime(2025, 5, 2, 21, 32, 58), 'result': '0.05602375382720463', 'result_long': None, 'result_double': None}] Qualite : 0.05602375382720463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22620848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22620848 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_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, 'pht': 3726}}" where mtr_portfolio_id = 22620848 and dashboard_run_id = 1777835 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`=22620848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266302, 0.05602375382720463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, '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 = 22621300 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': 2785372, 'mtr_portfolio_id': 22621300, 'created_at': datetime.datetime(2025, 5, 2, 21, 50, 58), 'result': '0.06109813489790857', 'result_long': None, 'result_double': None}] Qualite : 0.06109813489790857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22621300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22621300 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_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, 'pht': 3726}}" where mtr_portfolio_id = 22621300 and dashboard_run_id = 1777835 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`=22621300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266303, 0.06109813489790857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, '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 = 22621997 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': 2785450, 'mtr_portfolio_id': 22621997, 'created_at': datetime.datetime(2025, 5, 2, 22, 3, 30), 'result': '0.07221711131891165', 'result_long': None, 'result_double': None}] Qualite : 0.07221711131891165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22621997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22621997 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_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, 'pht': 3726}}" where mtr_portfolio_id = 22621997 and dashboard_run_id = 1777835 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`=22621997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266304, 0.07221711131891165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, '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 = 22622472 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': 2785530, 'mtr_portfolio_id': 22622472, 'created_at': datetime.datetime(2025, 5, 2, 22, 16, 58), 'result': '0.05685726550778499', 'result_long': None, 'result_double': None}] Qualite : 0.05685726550778499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22622472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22622472 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_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, 'pht': 3726}}" where mtr_portfolio_id = 22622472 and dashboard_run_id = 1777835 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`=22622472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266305, 0.05685726550778499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, '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 = 22623210 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': 2785587, 'mtr_portfolio_id': 22623210, 'created_at': datetime.datetime(2025, 5, 2, 22, 32, 59), 'result': '0.048217679684332354', 'result_long': None, 'result_double': None}] Qualite : 0.048217679684332354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22623210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22623210 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_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, 'pht': 3726}}" where mtr_portfolio_id = 22623210 and dashboard_run_id = 1777835 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`=22623210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266306, 0.048217679684332354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, '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 = 22624019 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': 2785652, 'mtr_portfolio_id': 22624019, 'created_at': datetime.datetime(2025, 5, 2, 22, 46, 59), 'result': '0.07222638417017839', 'result_long': None, 'result_double': None}] Qualite : 0.07222638417017839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22624019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22624019 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_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, 'pht': 3726}}" where mtr_portfolio_id = 22624019 and dashboard_run_id = 1777835 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`=22624019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266307, 0.07222638417017839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, '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 = 22624848 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': 2785723, 'mtr_portfolio_id': 22624848, 'created_at': datetime.datetime(2025, 5, 2, 23, 4, 59), 'result': '0.05393846116249263', 'result_long': None, 'result_double': None}] Qualite : 0.05393846116249263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22624848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22624848 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_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, 'pht': 3726}}" where mtr_portfolio_id = 22624848 and dashboard_run_id = 1777835 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`=22624848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266308, 0.05393846116249263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, '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 = 22625733 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': 2785819, 'mtr_portfolio_id': 22625733, 'created_at': datetime.datetime(2025, 5, 2, 23, 17), 'result': '0.05472171282675373', 'result_long': None, 'result_double': None}] Qualite : 0.05472171282675373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22625733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22625733 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_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, 'pht': 3726}}" where mtr_portfolio_id = 22625733 and dashboard_run_id = 1777835 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`=22625733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266309, 0.05472171282675373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, '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 = 22626287 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': 2785859, 'mtr_portfolio_id': 22626287, 'created_at': datetime.datetime(2025, 5, 2, 23, 33, 1), 'result': '0.039915505188799355', 'result_long': None, 'result_double': None}] Qualite : 0.039915505188799355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22626287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22626287 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_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, 'pht': 3726}}" where mtr_portfolio_id = 22626287 and dashboard_run_id = 1777835 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`=22626287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266310, 0.039915505188799355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, '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 = 22627137 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': 2785909, 'mtr_portfolio_id': 22627137, 'created_at': datetime.datetime(2025, 5, 2, 23, 46, 57), 'result': '0.052910013578557055', 'result_long': None, 'result_double': None}] Qualite : 0.052910013578557055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22627137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22627137 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_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, 'pht': 3726}}" where mtr_portfolio_id = 22627137 and dashboard_run_id = 1777835 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`=22627137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266311, 0.052910013578557055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, '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 = 22627814 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': 2785960, 'mtr_portfolio_id': 22627814, 'created_at': datetime.datetime(2025, 5, 3, 5, 1, 28), 'result': '0.061673941913641936', 'result_long': None, 'result_double': None}] Qualite : 0.061673941913641936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22627814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22627814 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_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, 'pht': 3726}}" where mtr_portfolio_id = 22627814 and dashboard_run_id = 1777835 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`=22627814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266312, 0.061673941913641936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, '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 (22589204,22589345,22589743,22590338,22590734,22590863,22591348,22591636,22592221,22592634,22593197,22593637,22594215,22594939,22595293,22596857,22597376,22597852,22598402,22598714,22599216,22599783,22600238,22600776,22601365,22601825,22604792,22605092,22605713,22606058,22606881,22607985,22608501,22609408,22609715,22610437,22610994,22611606,22613023,22613686,22614349,22615158,22615897,22616551,22617232,22618017,22618470,22619074,22619744,22620531,22620848,22621300,22621997,22622472,22623210,22624019,22624848,22625733,22626287,22627137,22627814) result : ((1355215214,), (1355217283,), (1355217308,), (1355217310,), (1355217312,), (1355217326,), (1355217329,), (1355217331,), (1355217350,), (1355217352,), (1355217354,), (1355217388,), (1355217378,), (1355217380,), (1355217382,), (1355217420,), (1355217422,), (1355217423,), (1355217424,), (1355217449,), (1355217454,), (1355217456,), (1355217458,), (1355217479,), (1355217481,), (1355217483,), (1355217485,), (1355217526,), (1355217529,), (1355217531,), (1355217533,), (1355217536,), (1355217565,), (1355217567,), (1355217570,), (1355217574,), (1355217593,), (1355217595,), (1355217596,), (1355217598,), (1355217599,), (1355217633,), (1355217636,), (1355217638,), (1355217652,), (1355217654,), (1355217656,), (1355217658,), (1355217681,), (1355217683,), (1355217685,), (1355217688,), (1355217736,), (1355217738,), (1355217740,), (1355217770,), (1355217772,), (1355217812,), (1355217815,), (1355217819,), (1355217824,), (1355217842,), (1355217844,), (1355217846,), (1355217850,), (1355217854,), (1355217882,), (1355217884,), (1355217886,), (1355217964,), (1355217960,), (1355217962,), (1355217979,), (1355217982,), (1355217984,), (1355217987,), (1355218010,), (1355218013,), (1355218016,), (1355218019,), (1355218023,), (1355218025,), (1355218041,), (1355218042,), (1355218044,), (1355218064,), (1355218066,), (1355218068,), (1355218113,), (1355218115,), (1355218119,), (1355218141,), (1355218144,), (1355218146,), (1355218149,), (1355218153,), (1355218165,), (1355218172,), (1355218173,), (1355218175,), (1355218177,), (1355218179,), (1355218203,), (1355218205,), (1355218206,), (1355218208,), (1355218241,), (1355218244,), (1355218246,), (1355218248,), (1355218279,), (1355218285,), (1355218286,), (1355218310,), (1355218313,), (1355218316,), (1355218320,), (1355218337,), (1355218339,), (1355218384,), (1355218367,), (1355218368,), (1355218369,), (1355218371,), (1355218379,), (1355218406,), (1355218410,), (1355218413,), (1355218416,), (1355218447,), (1355218449,), (1355218450,), (1355218451,), (1355218455,), (1355218478,), (1355218479,), (1355218480,), (1355218482,), (1355218520,), (1355218523,), (1355218525,), (1355218528,), (1355218549,), (1355218551,), (1355218552,), (1355218589,), (1355218595,), (1355218598,), (1355218601,), (1355218629,), (1355218631,), (1355218654,), (1355218656,), (1355218681,), (1355218683,), (1355218712,), (1355220813,), (1355221162,), (1355221163,), (1355221192,), (1355221194,), (1355221241,), (1355221264,), (1355221267,), (1355221292,), (1355221321,), (1355221322,), (1355221324,), (1355221348,), (1355221352,), (1355221353,), (1355221355,), (1355221358,), (1355221361,), (1355221386,), (1355221387,), (1355221388,), (1355221390,), (1355221416,), (1355221417,), (1355221418,), (1355221450,), (1355221451,), (1355221514,), (1355221512,), (1355221544,), (1355221546,), (1355221548,), (1355221565,), (1355221567,), (1355221571,), (1355221576,), (1355221580,), (1355221596,), (1355221597,), (1355221598,), (1355221600,), (1355221726,), (1355221728,), (1355221769,), (1355221798,), (1355221802,), (1355221830,), (1355221864,), (1355221867,), (1355221869,), (1355221871,), (1355221905,), (1355221909,), (1355221910,), (1355221945,), (1355221948,), (1355221950,), (1355221952,), (1355221993,), (1355221989,), (1355221992,), (1355222016,), (1355222017,), (1355222018,), (1355222021,), (1355222053,), (1355222055,), (1355222099,), (1355222101,), (1355222150,), (1355222153,), (1355222155,), (1355222158,), (1355222183,), (1355222184,), (1355222210,), (1355222211,), (1355222214,), (1355222218,), (1355222221,), (1355222240,), (1355222243,), (1355222245,), (1355222247,), (1355222271,), (1355222275,), (1355222301,), (1355222302,), (1355222304,), (1355222306,), (1355222310,), (1355222335,), (1355222336,), (1355222337,), (1355222339,), (1355222341,), (1355222343,), (1355222418,), (1355222445,), (1355222470,), (1355222637,), (1355222640,), (1355222643,), (1355222645,), (1355223454,), (1355223516,), (1355223594,), (1355224428,), (1355224379,), (1355224403,), (1355225245,), (1355225296,), (1355225369,), (1355225485,), (1355225870,), (1355225897,), (1355225923,), (1355225948,), (1355226531,), (1355226557,), (1355226744,), (1355226762,), (1355226973,), (1355226999,), (1355227027,), (1355227056,), (1355227086,), (1355227220,), (1355227224,), (1355227237,), (1355227268,), (1355227358,), (1355227360,), (1355227363,), (1355227370,), (1355227428,), (1355227431,), (1355227434,), (1355227589,), (1355227613,), (1355227615,), (1355227691,), (1355227692,), (1355227694,), (1355227696,), (1355227729,), (1355227732,), (1355227734,), (1355227737,), (1355227740,), (1355227763,), (1355227765,), (1355227767,), (1355227770,), (1355227811,), (1355227815,), (1355227819,), (1355227824,), (1355227829,), (1355227864,), (1355227866,), (1355227871,), (1355227875,), (1355227878,), (1355227918,), (1355227911,), (1355227915,), (1355227976,), (1355227980,), (1355228020,), (1355228024,), (1355228026,), (1355228028,), (1355228038,), (1355228101,), (1355228103,), (1355228108,), (1355228162,), (1355228164,), (1355228168,), (1355228173,), (1355228345,), (1355228347,), (1355228349,), (1355228352,), (1355228404,), (1355228406,), (1355228444,), (1355228447,), (1355228449,), (1355228452,), (1355228493,), (1355228538,), (1355228593,), (1355228714,), (1355228754,), (1355228973,), (1355228928,), (1355228938,), (1355228942,), (1355228946,), (1355228952,), (1355228958,), (1355228963,), (1355229116,), (1355229122,), (1355229132,), (1355229141,), (1355229148,), (1355229203,), (1355229208,), (1355229210,), (1355229257,), (1355229262,), (1355229264,), (1355229267,), (1355229323,), (1355229327,), (1355229331,), (1355229334,), (1355229339,), (1355229363,), (1355229366,), (1355229369,), (1355229373,), (1355229380,), (1355229408,), (1355229412,), (1355229417,), (1355229462,), (1355229466,), (1355229470,), (1355229474,), (1355229480,), (1355229484,), (1355229511,), (1355229514,), (1355229518,), (1355229523,), (1355229527,), (1355229557,), (1355229573,), (1355229579,), (1355229586,), (1355229592,), (1355229622,), (1355229626,), (1355229630,), (1355229632,), (1355229661,), (1355229667,), (1355229729,), (1355229733,), (1355229735,), (1355229738,), (1355229802,), (1355229805,), (1355229808,), (1355229950,), (1355229939,), (1355230057,), (1355230058,), (1355230060,), (1355230063,), (1355230118,), (1355230124,), (1355230129,), (1355230133,), (1355230139,), (1355230163,), (1355230165,), (1355230166,), (1355230169,), (1355230174,), (1355230224,), (1355230232,), (1355230245,), (1355230254,), (1355230337,), (1355230381,), (1355230396,), (1355230419,), (1355230423,), (1355230472,), (1355230477,), (1355230482,), (1355230545,), (1355230575,), (1355230580,), (1355230582,), (1355230583,), (1355230588,), (1355230592,), (1355230619,), (1355230623,), (1355230626,), (1355230631,), (1355230633,), (1355230638,), (1355230699,), (1355230703,), (1355230817,), (1355230821,), (1355231783,), (1355231878,), (1355231915,), (1355231944,), (1355231971,), (1355232367,), (1355232159,), (1355232204,), (1355232257,), (1355232311,), (1355232849,), (1355232875,), (1355232907,), (1355232941,), (1355232970,), (1355233375,), (1355233425,), (1355233791,), (1355233819,), (1355233930,), (1355233960,), (1355233991,), (1355234019,), (1355234302,), (1355234358,), (1355234360,), (1355234363,), (1355234366,), (1355234507,), (1355234509,), (1355234511,), (1355234514,), (1355234525,), (1355234599,), (1355234602,), (1355234604,), (1355234607,), (1355234674,), (1355234678,), (1355234684,), (1355234715,), (1355234744,), (1355234772,), (1355234943,), (1355234972,), (1355235001,), (1355235045,), (1355235076,), (1355235175,), (1355235177,), (1355235181,), (1355235187,), (1355235295,), (1355235316,), (1355235322,), (1355235432,), (1355235456,), (1355235458,), (1355235471,), (1355235591,), (1355235593,), (1355235596,), (1355235601,), (1355235623,), (1355235720,), (1355235723,), (1355235725,), (1355235727,), (1355235729,), (1355235781,), (1355235772,), (1355235776,), (1355235778,), (1355235833,), (1355235835,), (1355235838,), (1355235839,), (1355235844,), (1355235935,), (1355235945,), (1355235951,), (1355235956,), (1355236046,), (1355236053,), (1355236061,), (1355236067,), (1355236150,), (1355236153,), (1355236155,), (1355236158,), (1355236197,), (1355236201,), (1355236204,), (1355236278,), (1355236282,), (1355236286,), (1355236407,), (1355236415,), (1355236416,), (1355236420,), (1355236516,), (1355236519,), (1355236522,), (1355236525,), (1355236530,), (1355236567,), (1355236573,), (1355236581,), (1355236625,), (1355236628,), (1355236635,), (1355236644,), (1355236653,), (1355236750,), (1355236752,), (1355236754,), (1355236757,), (1355236899,), (1355236902,), (1355236905,), (1355236907,), (1355236911,), (1355236960,), (1355236963,), (1355236965,), (1355237012,), (1355237014,), (1355237087,), (1355237073,), (1355237077,), (1355237081,), (1355237083,), (1355237136,), (1355237140,), (1355237144,), (1355237148,), (1355237178,), (1355237183,), (1355237186,), (1355237188,), (1355237224,), (1355237314,), (1355237318,), (1355237321,), (1355237354,), (1355237357,), (1355237360,), (1355237396,), (1355237397,), (1355237401,), (1355237432,), (1355237447,), (1355237454,), (1355237477,), (1355237480,), (1355237483,), (1355237487,), (1355237490,), (1355237494,), (1355237518,), (1355237521,), (1355237559,), (1355237560,), (1355237563,), (1355237566,), (1355237570,), (1355237575,), (1355237633,), (1355237635,), (1355237638,), (1355237642,), (1355237645,), (1355237681,), (1355237683,), (1355237686,), (1355237689,), (1355237693,), (1355237738,), (1355237739,), (1355237741,), (1355237787,), (1355237789,), (1355237800,), (1355237803,), (1355237845,), (1355237847,), (1355237849,), (1355237944,), (1355237936,), (1355237937,), (1355237942,), (1355238004,), (1355238007,), (1355238117,), (1355238122,), (1355238124,), (1355238126,), (1355238151,), (1355238155,), (1355238231,), (1355238239,), (1355238250,), (1355238259,), (1355238381,), (1355238384,), (1355238386,), (1355238388,), (1355238391,), (1355238468,), (1355238476,), (1355238478,), (1355238482,), (1355238588,), (1355238884,), (1355238910,), (1355238951,), (1355238977,), (1355239000,), (1355239132,), (1355239145,), (1355239148,), (1355239157,), (1355239163,), (1355239211,), (1355239228,), (1355239239,), (1355239247,), (1355239251,), (1355239295,), (1355239313,), (1355239319,), (1355239324,), (1355239625,), (1355239677,), (1355239742,), (1355240362,), (1355240387,), (1355240419,), (1355240434,), (1355240451,), (1355241356,), (1355241362,), (1355241385,), (1355241445,), (1355241472,), (1355241573,), (1355245025,), (1355245032,), (1355245037,), (1355245215,), (1355245218,), (1355245221,), (1355245225,), (1355245229,), (1355245264,), (1355245317,), (1355245319,), (1355245323,), (1355245337,), (1355245407,), (1355245409,), (1355245412,), (1355245447,), (1355245452,), (1355245455,), (1355245459,), (1355245496,), (1355245498,), (1355245501,), (1355245503,), (1355245507,), (1355245548,), (1355245550,), (1355245592,), (1355245594,), (1355245596,), (1355245666,), (1355245668,), (1355245863,), (1355245890,), (1355245917,), (1355246154,), (1355246158,), (1355246162,), (1355246165,), (1355246439,), (1355246442,), (1355246445,), (1355246448,), (1355246450,), (1355246604,), (1355246624,), (1355246630,), (1355246685,), (1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,), (1355249960,), (1355250013,), (1355250063,), (1355250398,), (1355250402,), (1355250408,), (1355250410,), (1355250416,), (1355250419,), (1355250633,), (1355250655,), (1355250660,), (1355250662,), (1355250832,), (1355250840,), (1355250841,), (1355250843,), (1355250895,), (1355250897,), (1355250899,), (1355250902,), (1355250941,), (1355250943,), (1355251001,), (1355251004,), (1355251008,), (1355251016,), (1355251055,), (1355251058,), (1355251060,), (1355251064,), (1355251102,), (1355251105,), (1355251108,), (1355251152,), (1355251156,), (1355251159,), (1355251162,), (1355251169,), (1355251254,), (1355251256,), (1355251259,), (1355251266,), (1355251269,), (1355251272,), (1355251305,), (1355251306,), (1355251308,), (1355251347,), (1355251351,), (1355251354,), (1355251410,), (1355251411,), (1355251413,), (1355251414,), (1355251417,), (1355251708,), (1355251721,), (1355251726,), (1355251730,), (1355251739,), (1355251785,), (1355251782,), (1355251896,), (1355251901,), (1355252124,), (1355252188,), (1355252190,), (1355252193,), (1355252197,), (1355252202,), (1355252207,), (1355252238,), (1355252240,), (1355252243,), (1355252246,), (1355252249,), (1355252253,), (1355252284,), (1355252287,), (1355252291,), (1355252295,), (1355252300,), (1355252304,), (1355252336,), (1355252341,), (1355252346,), (1355252393,), (1355252396,), (1355252400,), (1355252415,), (1355252461,), (1355252464,), (1355252468,), (1355252472,), (1355252645,), (1355252642,), (1355252702,), (1355252706,), (1355252709,), (1355252713,), (1355252715,), (1355252755,), (1355252757,), (1355252814,), (1355252817,), (1355252820,), (1355252823,), (1355252843,), (1355253085,), (1355253147,), (1355253149,), (1355253151,), (1355253154,), (1355253156,), (1355253160,), (1355253197,), (1355253199,), (1355253202,), (1355253206,), (1355253249,), (1355253252,), (1355253255,), (1355253326,), (1355253329,), (1355253337,), (1355253374,), (1355253378,), (1355253381,), (1355253384,), (1355253388,), (1355253392,), (1355253423,), (1355253427,), (1355253430,), (1355253434,), (1355253440,), (1355253528,), (1355253529,), (1355253534,), (1355253594,), (1355253597,), (1355253600,), (1355253604,), (1355253666,), (1355253668,), (1355253690,), (1355253693,), (1355253733,), (1355253736,), (1355253739,), (1355253743,), (1355253746,), (1355253748,), (1355253778,), (1355253781,), (1355253855,), (1355253835,), (1355253837,), (1355253841,), (1355253911,), (1355253913,), (1355253915,), (1355253917,), (1355253919,), (1355253965,), (1355253969,), (1355253971,), (1355253975,), (1355253978,), (1355254021,), (1355254025,), (1355254029,), (1355254033,), (1355254036,), (1355254116,), (1355254119,), (1355254175,), (1355254179,), (1355254183,), (1355254234,), (1355254238,), (1355254241,), (1355254244,), (1355254281,), (1355254286,), (1355254343,), (1355254348,), (1355254357,), (1355254362,), (1355254667,), (1355254672,), (1355254675,), (1355254713,), (1355254719,), (1355254760,), (1355254764,), (1355254835,), (1355254839,), (1355254844,), (1355254960,), (1355254991,), (1355255022,), (1355255153,), (1355255184,), (1355255217,), (1355255249,), (1355255669,), (1355255612,), (1355256521,), (1355257225,), (1355257482,), (1355257910,), (1355257956,), (1355258439,), (1355258562,), (1355258722,), (1355258825,), (1355258896,), (1355259140,), (1355259168,), (1355259180,), (1355259183,), (1355259189,), (1355259472,), (1355259476,), (1355259481,), (1355259486,), (1355259536,), (1355259539,), (1355259541,), (1355259544,), (1355259610,), (1355259592,), (1355259608,), (1355259658,), (1355259661,), (1355259662,), (1355259665,), (1355259762,), (1355259782,), (1355259788,), (1355259794,), (1355259853,), (1355259855,), (1355259858,), (1355259862,), (1355259911,), (1355259916,), (1355259920,), (1355259970,), (1355259972,), (1355259975,), (1355260009,), (1355260013,), (1355260015,), (1355260020,), (1355260059,), (1355260063,), (1355260065,), (1355260069,), (1355260103,), (1355260106,), (1355260108,), (1355260112,), (1355260147,), (1355260151,), (1355260155,), (1355260211,), (1355260214,), (1355260216,), (1355260273,), (1355260276,), (1355260281,), (1355260285,), (1355260331,), (1355260334,), (1355260336,), (1355260340,), (1355260343,), (1355260347,), (1355260372,), (1355260376,), (1355260381,), (1355260387,), (1355260393,), (1355260429,), (1355260436,), (1355260443,), (1355260521,), (1355260511,), (1355260516,), (1355260581,), (1355260585,), (1355260591,), (1355260595,), (1355260949,), (1355261002,), (1355261062,), (1355261116,), (1355261489,), (1355261530,), (1355261540,), (1355261566,), (1355261588,), (1355262039,), (1355262102,), (1355262135,), (1355262406,), (1355262442,), (1355262500,), (1355262503,), (1355262508,), (1355262565,), (1355262567,), (1355262570,), (1355262575,), (1355262676,), (1355262679,), (1355262706,), (1355262721,), (1355262731,), (1355262736,), (1355262827,), (1355262832,), (1355262837,), (1355262846,), (1355262999,), (1355263033,), (1355263059,), (1355263098,), (1355263138,), (1355263702,), (1355263707,), (1355263711,), (1355263762,), (1355263766,), (1355263769,), (1355263771,), (1355263773,), (1355263818,), (1355263824,), (1355263828,), (1355263833,), (1355263839,), (1355263847,), (1355263900,), (1355263878,), (1355263883,), (1355263887,), (1355263895,), (1355263974,), (1355263979,), (1355264019,), (1355264023,), (1355264027,), (1355264032,), (1355264069,), (1355264073,), (1355264078,), (1355264084,), (1355264134,), (1355264138,), (1355264143,), (1355264149,), (1355264156,), (1355264231,), (1355264238,), (1355264242,), (1355264248,), (1355264251,), (1355264255,), (1355264286,), (1355264289,), (1355264292,), (1355264295,), (1355264470,), (1355264474,), (1355264480,), (1355264487,), (1355264545,), (1355264550,), (1355264557,), (1355264563,), (1355264622,), (1355264625,), (1355264628,), (1355264631,), (1355264669,), (1355264674,), (1355264678,), (1355264681,), (1355264688,), (1355264718,), (1355264903,), (1355264939,), (1355264976,), (1355265011,), (1355265041,), (1355266353,), (1355266423,), (1355266499,), (1355266943,), (1355266880,), (1355266914,), (1355267633,), (1355268599,), (1355268631,), (1355268663,), (1355268715,), (1355269181,), (1355269184,), (1355269206,), (1355269235,), (1355269270,), (1355269434,), (1355269461,), (1355269490,), (1355269529,), (1355269683,), (1355270114,), (1355270161,), (1355270177,), (1355270181,), (1355270436,), (1355270462,), (1355270494,), (1355270631,), (1355270634,), (1355270658,), (1355270686,), (1355270836,), (1355270839,), (1355270848,), (1355270856,), (1355270936,), (1355304850,), (1355304820,), (1355305245,), (1355305298,), (1355305869,), (1355305873,), (1355305877,), (1355306089,), (1355306092,), (1355306094,), (1355306172,), (1355306174,), (1355306179,), (1355306186,), (1355306411,), (1355306439,), (1355306651,), (1355306681,), (1355306708,), (1355306716,), (1355306751,), (1355306755,), (1355306757,), (1355306855,), (1355306853,), (1355307014,), (1355307032,), (1355307182,), (1355307219,), (1355307226,), (1355307289,), (1355307301,), (1355307303,), (1355307320,), (1355307634,), (1355307690,), (1355307740,), (1355307799,), (1355308210,), (1355308265,), (1355308311,), (1355308341,), (1355315123,), (1355315400,), (1355315428,), (1355315457,), (1355315485,), (1355315976,), (1355316005,), (1355316153,), (1355316185,), (1355316215,), (1355316248,), (1355316411,), (1355316463,), (1355316514,), (1355316571,), (1355316637,), (1355317428,), (1355317522,), (1355317617,), (1355317692,), (1355318558,), (1355319158,), (1355319179,), (1355319618,), (1355320152,), (1355320155,), (1355320165,), (1355321116,), (1355321210,), (1355322166,), (1355321979,), (1355322041,), (1355322099,), (1355322133,), (1355322562,), (1355322596,), (1355323507,), (1355323565,), (1355323585,), (1355323647,), (1355323712,), (1355324039,), (1355324101,), (1355324153,), (1355324241,), (1355324358,), (1355325009,), (1355325080,), (1355325139,), (1355325195,), (1355325260,), (1355325317,), (1355326042,), (1355326115,), (1355326187,), (1355327416,), (1355327447,), (1355327477,), (1355327500,), (1355328123,), (1355328176,), (1355328229,), (1355328903,), (1355328960,), (1355329018,), (1355329407,), (1355329410,), (1355329413,), (1355329912,), (1355329924,), (1355329928,), (1355330164,), (1355330172,), (1355330190,), (1355330377,), (1355330455,), (1355330534,), (1355330614,), (1355331189,), (1355331267,), (1355331335,), (1355331390,), (1355331446,), (1355331533,), (1355332134,), (1355332220,), (1355333015,), (1355332965,), (1355333007,), (1355333464,), (1355333497,), (1355333551,), (1355333592,), (1355333618,), (1355333911,), (1355333972,), (1355334047,), (1355334150,), (1355334221,), (1355334275,), (1355334708,), (1355334763,), (1355334973,), (1355335003,), (1355335030,), (1355335035,), (1355335045,), (1355335533,), (1355338339,), (1355345898,), (1355344574,), (1355345826,), (1355345871,), (1355346169,), (1355346220,), (1355346261,), (1355346300,), (1355346332,), (1355346537,), (1355346539,), (1355346542,), (1355346990,), (1355347035,), (1355347061,), (1355347071,), (1355347076,), (1355347396,), (1355347447,), (1355347484,), (1355347963,), (1355347988,), (1355348064,), (1355348437,), (1355348489,), (1355348520,), (1355348549,), (1355348579,), (1355348610,), (1355348688,), (1355348689,), (1355348717,), (1355348746,), (1355349225,), (1355349250,), (1355350585,), (1355350662,), (1355350716,), (1355352027,), (1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,), (1355360999,), (1355362623,), (1355363465,), (1355363516,), (1355363615,), (1355363666,), (1355363721,), (1355364226,), (1355364271,), (1355364308,), (1355364338,), (1355364365,), (1355364411,), (1355364858,), (1355364862,), (1355364866,), (1355365106,), (1355365133,), (1355365161,), (1355365533,), (1355365593,), (1355365624,), (1355365654,), (1355365686,), (1355365707,), (1355365970,), (1355366007,), (1355366056,), (1355366100,), (1355366129,), (1355366218,), (1355366264,), (1355366500,), (1355366534,), (1355366562,), (1355366617,), (1355366671,), (1355366675,), (1355366679,), (1355366717,), (1355366721,), (1355366724,), (1355366786,), (1355366791,), (1355366796,), (1355366802,), (1355366901,), (1355366872,), (1355366876,), (1355366880,), (1355366885,), (1355366895,), (1355366924,), (1355366929,), (1355366964,), (1355366972,), (1355366977,), (1355366981,), (1355367168,), (1355367171,), (1355367193,), (1355367196,), (1355367219,), (1355367229,), (1355367250,), (1355367281,), (1355367312,), (1355367462,), (1355367470,), (1355367487,), (1355367489,), (1355367503,), (1355367532,), (1355367561,), (1355368688,), (1355372054,), (1355372047,), (1355372424,), (1355372471,), (1355372507,), (1355373148,), (1355373175,), (1355373205,), (1355373244,), (1355373570,), (1355373601,), (1355373637,), (1355373783,), (1355374027,), (1355374038,), (1355374042,), (1355374047,), (1355374084,), (1355374089,), (1355374142,), (1355374748,), (1355374762,), (1355374766,), (1355374773,), (1355374776,), (1355375195,), (1355375223,), (1355375256,), (1355375304,), (1355375334,), (1355375365,), (1355376008,), (1355376090,), (1355376167,), (1355376270,), (1355376399,), (1355376491,), (1355378026,), (1355378082,), (1355378642,), (1355378559,), (1355378586,), (1355378594,), (1355378607,), (1355378936,), (1355378973,), (1355379000,), (1355379031,), (1355379148,), (1355379168,), (1355379199,), (1355379661,), (1355379866,), (1355380073,), (1355380183,), (1355380281,), (1355381022,), (1355381076,), (1355381128,), (1355381180,), (1355381715,), (1355381742,), (1355381770,), (1355381813,), (1355381877,), (1355383039,), (1355383121,), (1355383834,), (1355383841,), (1355383854,), (1355383858,), (1355384031,), (1355384062,), (1355384093,), (1355384124,), (1355384630,), (1355384871,), (1355384927,), (1355384971,), (1355385644,), (1355385711,), (1355385754,), (1355385853,), (1355386149,), (1355386473,), (1355387662,), (1355387695,), (1355387771,), (1355388195,), (1355388223,), (1355388263,), (1355388350,), (1355389242,), (1355389313,), (1355389482,), (1355389537,), (1355389589,), (1355390012,), (1355390052,), (1355390081,), (1355390295,), (1355391562,), (1355391314,), (1355391343,), (1355391471,), (1355391848,), (1355391896,), (1355391951,), (1355392000,), (1355392050,), (1355392935,), (1355392976,), (1355393021,), (1355393054,), (1355393082,), (1355393122,), (1355393378,), (1355393528,), (1355393629,), (1355393676,), (1355393811,), (1355393815,), (1355393817,), (1355394140,), (1355394166,), (1355394199,), (1355394470,), (1355394528,), (1355394555,), (1355394582,), (1355394614,), (1355394642,), (1355394717,), (1355394721,), (1355394726,), (1355394729,), (1355394840,), (1355394877,), (1355394902,), (1355394907,), (1355394912,), (1355394918,), (1355394937,), (1355394942,), (1355394947,), (1355394987,), (1355394989,), (1355395169,), (1355395196,), (1355395307,), (1355395309,), (1355395312,), (1355404964,), (1355404953,), (1355404959,), (1355405041,), (1355405070,), (1355405096,), (1355405122,), (1355405162,), (1355405211,), (1355405353,), (1355405433,), (1355405724,), (1355405726,), (1355405729,), (1355405733,), (1355405882,), (1355405888,), (1355405904,), (1355405907,), (1355405932,), (1355406042,), (1355406072,), (1355406083,), (1355406255,), (1355406258,), (1355406260,), (1355406264,), (1355406279,), (1355406289,), (1355406351,), (1355406356,), (1355406402,), (1355406404,), (1355406427,), (1355406430,), (1355406617,), (1355406647,), (1355406700,), (1355406883,), (1355406920,), (1355406922,), (1355406925,), (1355407390,), (1355407446,), (1355407674,), (1355408122,), (1355408166,), (1355408197,), (1355408206,), (1355408525,), (1355408464,), (1355408513,), (1355408907,), (1355408951,), (1355408960,), (1355408994,), (1355409607,), (1355409638,), (1355409682,), (1355409709,), (1355409926,), (1355409929,), (1355409936,), (1355409941,), (1355409973,), (1355410006,), (1355410244,), (1355410261,), (1355410265,), (1355410270,), (1355410310,), (1355410312,), (1355410316,), (1355410357,), (1355410359,), (1355410362,), (1355410366,), (1355410425,), (1355410427,), (1355410430,), (1355410433,), (1355410746,), (1355411513,), (1355411543,), (1355411611,), (1355411927,), (1355411981,), (1355412175,), (1355412407,), (1355412533,), (1355412754,), (1355412905,), (1355412990,), (1355413076,), (1355413090,), (1355413095,), (1355413118,), (1355413149,), (1355413191,), (1355413229,), (1355413254,), (1355413266,), (1355413270,), (1355413371,), (1355413378,), (1355413390,), (1355413394,), (1355413717,), (1355413566,), (1355413570,), (1355413797,), (1355413801,), (1355413803,), (1355414066,), (1355414107,), (1355414141,), (1355414174,), (1355414317,), (1355414321,), (1355414347,), (1355414746,), (1355414776,), (1355414840,), (1355415069,), (1355415085,), (1355415094,), (1355415099,), (1355415103,), (1355415235,), (1355415550,), (1355415599,), (1355415633,), (1355415730,), (1355415975,), (1355416005,), (1355416037,), (1355416071,), (1355416101,), (1355416409,), (1355416442,), (1355416902,), (1355416934,), (1355416988,), (1355417308,), (1355417345,), (1355417366,), (1355417372,), (1355417432,), (1355417415,), (1355417420,), (1355417423,), (1355417426,), (1355417462,), (1355417466,), (1355417470,), (1355417511,), (1355417515,), (1355417533,), (1355417547,), (1355417848,), (1355417897,), (1355418188,), (1355418191,), (1355418200,), (1355418348,), (1355418391,), (1355418422,), (1355418452,), (1355418481,), (1355418777,), (1355418851,), (1355418917,), (1355418984,), (1355419029,), (1355419059,), (1355419533,), (1355419595,), (1355419665,), (1355420180,), (1355420240,), (1355420291,), (1355420343,), (1355420392,), (1355420618,), (1355420621,), (1355420625,), (1355420629,), (1355421025,), (1355421027,), (1355421029,), (1355421031,), (1355421033,), (1355421422,), (1355421455,), (1355423748,), (1355423713,), (1355424119,), (1355424155,), (1355424362,), (1355424366,), (1355424391,), (1355424524,), (1355424528,), (1355424533,), (1355424641,), (1355424678,), (1355424706,), (1355424736,), (1355424751,), (1355424774,), (1355424838,), (1355424843,), (1355424847,), (1355424851,), (1355424855,), (1355425118,), (1355425131,), (1355425134,), (1355425651,), (1355425681,), (1355425763,), (1355426190,), (1355426221,), (1355426264,), (1355426293,), (1355426322,), (1355426489,), (1355426519,), (1355426795,), (1355426876,), (1355427253,), (1355427265,), (1355427290,), (1355427337,), (1355427518,), (1355427523,), (1355427528,), (1355427535,), (1355427706,), (1355427870,), (1355428112,), (1355428141,), (1355428343,), (1355428318,), (1355428321,), (1355428325,), (1355428689,), (1355428724,), (1355428924,), (1355428955,), (1355428984,), (1355429209,), (1355429219,), (1355429255,), (1355429685,), (1355429722,), (1355429897,), (1355429910,), (1355429913,), (1355429928,), (1355430089,), (1355430092,), (1355430097,), (1355430100,), (1355430106,), (1355430136,), (1355430140,), (1355430145,), (1355430149,), (1355430230,), (1355430233,), (1355430253,), (1355430255,), (1355430373,), (1355430377,), (1355430471,), (1355430475,), (1355430480,), (1355430485,), (1355430490,), (1355430531,), (1355430535,), (1355430541,), (1355430572,), (1355430575,), (1355430579,), (1355430584,), (1355430589,), (1355430618,), (1355430621,), (1355430644,), (1355430678,), (1355430722,), (1355430757,), (1355430992,), (1355431022,), (1355431467,), (1355431962,), (1355431851,), (1355431885,), (1355431918,), (1355432305,), (1355432338,), (1355432360,), (1355432371,), (1355432569,), (1355432972,), (1355432975,), (1355432979,), (1355433010,), (1355433076,), (1355433121,), (1355433151,), (1355433292,), (1355433296,), (1355433325,), (1355433352,), (1355433601,), (1355433659,), (1355433716,), (1355433759,), (1355434128,), (1355434319,), (1355434351,), (1355434573,), (1355434576,), (1355434580,), (1355434585,), (1355434765,), (1355434770,), (1355434776,), (1355434825,), (1355434829,), (1355434836,), (1355435053,), (1355435080,), (1355435108,), (1355435138,), (1355435175,), (1355435312,), (1355435333,), (1355435348,), (1355435360,), (1355435375,), (1355435468,), (1355435470,), (1355435473,), (1355435750,), (1355435783,), (1355435853,), (1355435958,), (1355436003,), (1355436036,), (1355436460,), (1355436414,), (1355436435,), (1355436440,), (1355436446,), (1355436450,), (1355436484,), (1355436488,), (1355436491,), (1355436496,), (1355436502,), (1355436527,), (1355436615,), (1355436624,), (1355436630,), (1355436654,), (1355436657,), (1355436712,), (1355436729,), (1355436733,), (1355436749,), (1355436757,), (1355436794,), (1355436804,), (1355436831,), (1355436866,), (1355437173,), (1355437178,), (1355437182,), (1355437186,), (1355437217,), (1355437221,), (1355437263,), (1355437267,), (1355437269,), (1355437272,), (1355437276,), (1355437312,), (1355437314,), (1355437318,), (1355437324,), (1355437336,), (1355437342,), (1355437358,), (1355437361,), (1355437366,), (1355437409,), (1355437412,), (1355437419,), (1355437435,), (1355437456,), (1355437795,), (1355437849,), (1355437889,), (1355437922,), (1355438423,), (1355438430,), (1355438435,), (1355438442,), (1355438501,), (1355438485,), (1355438493,), (1355438498,), (1355438552,), (1355438563,), (1355438569,), (1355438572,), (1355438576,), (1355438633,), (1355438644,), (1355438648,), (1355438653,), (1355438673,), (1355438678,), (1355438719,), (1355438724,), (1355438727,), (1355438749,), (1355438781,), (1355438783,), (1355438786,), (1355438790,), (1355438793,), (1355438821,), (1355438822,), (1355438824,), (1355438827,), (1355438877,), (1355438881,), (1355438884,), (1355438917,), (1355438921,), (1355438924,), (1355438928,), (1355438931,), (1355438975,), (1355438978,), (1355438980,), (1355438984,), (1355439076,), (1355439107,), (1355439122,), (1355439124,), (1355439167,), (1355439171,), (1355439174,), (1355439222,), (1355439228,), (1355439348,), (1355439362,), (1355439371,), (1355439376,), (1355439589,), (1355439616,), (1355439645,), (1355439682,), (1355439717,), (1355440081,), (1355440025,), (1355440052,), (1355440440,), (1355440472,), (1355440511,), (1355440545,), (1355440575,), (1355440603,), (1355440875,), (1355440907,), (1355440945,), (1355440976,), (1355441268,), (1355441302,), (1355441313,), (1355441330,), (1355441337,), (1355441462,), (1355441492,), (1355441549,), (1355442049,), (1355442082,), (1355442110,), (1355442143,), (1355442628,), (1355442685,), (1355443327,), (1355443358,), (1355443393,), (1355443419,), (1355443587,), (1355443590,), (1355443592,), (1355444692,), (1355444694,), (1355444695,), (1355444697,), (1355444735,), (1355444738,), (1355444741,), (1355444744,), (1355444749,), (1355444753,), (1355444780,), (1355444784,), (1355444786,), (1355444789,), (1355444863,), (1355444839,), (1355444844,), (1355444848,), (1355444852,), (1355444857,), (1355444900,), (1355444905,), (1355444907,), (1355444909,), (1355444952,), (1355444958,), (1355444961,), (1355444964,), (1355445149,), (1355445152,), (1355445156,), (1355445252,), (1355445255,), (1355445258,), (1355445334,), (1355445335,), (1355445338,), (1355445352,), (1355445393,), (1355445426,), (1355445447,), (1355445453,), (1355445456,), (1355445458,), (1355445462,), (1355445490,), (1355445492,), (1355445497,), (1355445500,), (1355445526,), (1355445528,), (1355445531,), (1355445533,), (1355445536,), (1355445540,), (1355445572,), (1355445575,), (1355445578,), (1355445619,), (1355445627,), (1355445631,), (1355445634,), (1355448959,), (1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,), (1355454082,), (1355454088,), (1355454093,), (1355454097,), (1355454120,), (1355454124,), (1355454129,), (1355454133,), (1355454169,), (1355454181,), (1355454187,), (1355454190,), (1355454194,), (1355454199,), (1355454232,), (1355454234,), (1355454252,), (1355454325,), (1355454328,), (1355454332,), (1355454338,), (1355454343,), (1355454397,), (1355454400,), (1355454404,), (1355454409,), (1355454472,), (1355454476,), (1355454481,), (1355454536,), (1355454537,), (1355454596,), (1355454601,), (1355454603,), (1355454607,), (1355454625,), (1355454631,), (1355454663,), (1355454665,), (1355454669,), (1355454711,), (1355454712,), (1355454714,), (1355454718,), (1355454723,), (1355454732,), (1355454770,), (1355454778,), (1355454782,), (1355454788,), (1355454794,), (1355454978,), (1355454998,), (1355455005,), (1355455011,), (1355455051,), (1355455053,), (1355455057,), (1355455061,), (1355455066,), (1355455113,), (1355455116,), (1355455120,), (1355455125,), (1355455130,), (1355455133,), (1355455177,), (1355455160,), (1355455164,), (1355455168,), (1355455172,), (1355455205,), (1355455210,), (1355455215,), (1355455221,), (1355455228,), (1355455235,), (1355455260,), (1355455264,), (1355455275,), (1355455282,), (1355455287,), (1355455500,), (1355455506,), (1355455511,), (1355455517,), (1355455523,), (1355455530,), (1355455553,), (1355455558,), (1355455562,), (1355455611,), (1355455626,), (1355455633,), (1355455638,), (1355455644,), (1355455671,), (1355455676,), (1355455681,), (1355455700,), (1355455705,), (1355455729,), (1355455744,), (1355455748,), (1355455755,), (1355455792,), (1355455795,), (1355455845,), (1355455849,), (1355455855,), (1355455873,), (1355455911,), (1355455939,), (1355455945,), (1355456004,), (1355456008,), (1355456012,), (1355456019,), (1355456029,), (1355456059,), (1355456099,), (1355456103,), (1355456105,), (1355456146,), (1355456168,), (1355456173,), (1355456177,), (1355456531,), (1355456581,), (1355456584,), (1355456589,), (1355456595,), (1355456882,), (1355456865,), (1355456872,), (1355456876,), (1355456879,), (1355456963,), (1355456988,), (1355457014,), (1355457044,), (1355457133,), (1355457161,), (1355457189,), (1355457198,), (1355457203,), (1355457227,), (1355457230,), (1355457269,), (1355457285,), (1355457291,), (1355457296,), (1355457339,), (1355457343,), (1355457346,), (1355457386,), (1355457422,), (1355457452,), (1355457485,), (1355457522,), (1355457802,), (1355457806,), (1355457811,), (1355457835,), (1355457868,), (1355457943,), (1355457947,), (1355457950,), (1355457954,), (1355457958,), (1355458006,), (1355458009,), (1355458083,), (1355458086,), (1355458088,), (1355458093,), (1355458121,), (1355458126,), (1355458130,), (1355458141,), (1355458183,), (1355458185,), (1355458193,), (1355458202,), (1355458209,), (1355458765,), (1355458788,), (1355458794,), (1355458819,), (1355458845,), (1355458873,), (1355458901,), (1355458909,), (1355458981,), (1355458956,), (1355458961,), (1355458965,), (1355458971,), (1355458976,), (1355459035,), (1355459044,), (1355459050,), (1355459098,), (1355459100,), (1355459104,), (1355459117,), (1355459146,), (1355459193,), (1355459482,), (1355459511,), (1355459541,), (1355459570,), (1355459606,), (1355459919,), (1355459946,), (1355459995,), (1355460025,), (1355461044,), (1355461049,), (1355461052,), (1355461363,), (1355461385,), (1355461432,), (1355461484,), (1355461539,), (1355462275,), (1355462325,), (1355462381,), (1355462455,), (1355462539,), (1355463198,), (1355463252,), (1355463993,), (1355464028,), (1355464057,), (1355464084,), (1355464124,), (1355464154,), (1355464262,), (1355464267,), (1355464289,), (1355464293,), (1355464317,), (1355464345,), (1355464770,), (1355464823,), (1355464868,), (1355464898,), (1355464933,), (1355464965,), (1355465110,), (1355465151,), (1355465474,), (1355465485,), (1355465489,), (1355465493,), (1355465499,), (1355465503,), (1355465523,), (1355465527,), (1355465531,), (1355465534,), (1355465539,), (1355465541,), (1355465574,), (1355465569,), (1355465572,), (1355465759,), (1355465789,), (1355465815,), (1355465841,), (1355465871,), (1355466162,), (1355466192,), (1355466220,), (1355466258,), (1355466290,), (1355466633,), (1355466658,), (1355466689,), (1355466744,), (1355466836,), (1355467375,), (1355467434,), (1355467664,), (1355467727,), (1355467791,), (1355467848,), (1355468186,), (1355468273,), (1355470449,), (1355470699,), (1355470738,), (1355470790,), (1355471563,), (1355471592,), (1355471673,), (1355472081,), (1355472114,), (1355472163,), (1355472243,), (1355472780,), (1355472808,), (1355472835,), (1355472864,), (1355472892,), (1355473193,), (1355473223,), (1355473255,), (1355473288,), (1355473421,), (1355473426,), (1355473429,), (1355473433,), (1355473436,), (1355473714,), (1355473771,), (1355473824,), (1355473876,), (1355473922,), (1355474590,), (1355474643,), (1355474695,), (1355474753,), (1355475444,), (1355475472,), (1355475500,), (1355475509,), (1355475513,), (1355475706,), (1355475532,), (1355475586,), (1355475619,), (1355475651,), (1355475678,), (1355476005,), (1355476034,), (1355476080,), (1355476297,), (1355476312,), (1355476317,), (1355476374,), (1355476378,), (1355476383,), (1355476393,), (1355476405,), (1355476413,), (1355476713,), (1355476721,), (1355476726,), (1355476740,), (1355476750,), (1355476773,), (1355476799,), (1355476827,), (1355476859,), (1355478491,), (1355478579,), (1355479417,), (1355479484,), (1355479540,), (1355479596,), (1355479724,), (1355480065,), (1355480301,), (1355480303,), (1355480307,), (1355480363,), (1355480465,), (1355480469,), (1355480484,), (1355480515,), (1355480549,), (1355481138,), (1355481216,), (1355481298,), (1355481382,), (1355481436,), (1355482168,), (1355482235,), (1355482322,), (1355482394,), (1355483062,), (1355483112,), (1355483165,), (1355483219,), (1355483273,), (1355483570,), (1355483606,), (1355483670,), (1355483741,), (1355483801,), (1355483850,), (1355484253,), (1355484257,), (1355484285,), (1355484674,), (1355484640,), (1355484664,), (1355484896,), (1355484926,), (1355484991,), (1355485026,), (1355485341,), (1355485374,), (1355485394,), (1355485398,), (1355485542,), (1355485552,), (1355485554,), (1355485634,), (1355485639,), (1355485646,), (1355485654,), (1355485668,), (1355485745,), (1355485746,), (1355485747,), (1355485759,), (1355485911,), (1355485912,), (1355485914,), (1355485917,), (1355485919,), (1355485951,), (1355485956,), (1355485961,), (1355485965,), (1355486009,), (1355486014,), (1355486018,), (1355486325,), (1355486330,), (1355486337,), (1355486342,), (1355486347,), (1355486462,), (1355486477,), (1355486486,), (1355486491,), (1355486521,), (1355486523,), (1355486526,), (1355486531,), (1355486536,), (1355486569,), (1355486579,), (1355486594,), (1355487581,), (1355487610,), (1355487617,), (1355487649,), (1355487683,), (1355487730,), (1355488274,), (1355488082,), (1355488209,), (1355488236,), (1355488268,), (1355488320,), (1355488362,), (1355488526,), (1355488728,), (1355488781,), (1355488812,), (1355489192,), (1355489204,), (1355489214,), (1355489251,), (1355489327,), (1355489329,), (1355489332,), (1355489350,), (1355489354,), (1355489360,), (1355489397,), (1355489427,), (1355489457,), (1355489729,), (1355489759,), (1355489790,), (1355489833,), (1355489895,), (1355489948,), (1355490544,), (1355490590,), (1355490622,), (1355490783,), (1355490785,), (1355490821,), (1355490896,), (1355490956,), (1355491144,), (1355491167,), (1355491195,), (1355491335,), (1355491338,), (1355491340,), (1355491342,), (1355491376,), (1355491380,), (1355491382,), (1355491387,), (1355491430,), (1355491435,), (1355491439,), (1355491445,), (1355491451,), (1355491456,), (1355491475,), (1355491481,), (1355491486,), (1355491492,), (1355491496,), (1355491500,), (1355491634,), (1355491744,), (1355492435,), (1355492491,), (1355492546,), (1355492600,), (1355492967,), (1355492836,), (1355492897,), (1355492933,), (1355492961,), (1355493124,), (1355493177,), (1355493689,), (1355493777,), (1355493857,), (1355493949,), (1355493952,), (1355493955,), (1355494757,), (1355494760,), (1355494766,), (1355494771,), (1355494776,), (1355495025,), (1355495034,), (1355495115,), (1355495127,), (1355495204,), (1355495210,), (1355495214,), (1355495219,), (1355495224,), (1355495228,), (1355495340,), (1355495374,), (1355496022,), (1355496053,), (1355496082,), (1355496109,), (1355496156,), (1355496185,), (1355496232,), (1355496235,), (1355496239,), (1355496258,), (1355496464,), (1355496515,), (1355496546,), (1355496577,), (1355496581,), (1355496585,), (1355496622,), (1355496625,), (1355496627,), (1355496632,), (1355496671,), (1355496673,), (1355496677,), (1355496684,), (1355496689,), (1355496716,), (1355496728,), (1355496753,), (1355496780,), (1355496813,), (1355497199,), (1355497109,), (1355497137,), (1355497167,), (1355497509,), (1355497538,), (1355497612,), (1355497728,), (1355497829,), (1355497831,), (1355497834,), (1355497838,), (1355497855,), (1355498256,), (1355498328,), (1355498399,), (1355498471,), (1355498536,), (1355498599,), (1355499115,), (1355499907,), (1355500116,), (1355500172,), (1355500208,), (1355500629,), (1355500676,), (1355500683,), (1355500687,), (1355500726,), (1355500912,), (1355500991,), (1355501009,), (1355501099,), (1355501416,), (1355501437,), (1355501596,), (1355501635,), (1355501638,), (1355501646,), (1355501666,), (1355501668,), (1355501672,), (1355501676,), (1355501680,), (1355501699,), (1355501702,), (1355501706,), (1355501710,), (1355501737,), (1355501740,), (1355501743,), (1355501747,), (1355501752,), (1355501787,), (1355501792,), (1355501816,), (1355501820,), (1355501824,), (1355501829,), (1355501910,), (1355501900,), (1355501902,), (1355501906,), (1355501937,), (1355501941,), (1355501945,), (1355501948,), (1355501990,), (1355501993,), (1355501996,), (1355501999,), (1355502032,), (1355502038,), (1355502065,), (1355502068,), (1355502071,), (1355502075,), (1355502077,), (1355502134,), (1355502138,), (1355502141,), (1355502154,), (1355502181,), (1355502183,), (1355502185,), (1355502186,), (1355502190,), (1355502235,), (1355502237,), (1355502240,), (1355502243,), (1355502248,), (1355502268,), (1355502270,), (1355502273,), (1355502304,), (1355502308,), (1355502333,), (1355502336,), (1355502341,), (1355502354,), (1355502382,), (1355502827,), (1355502872,), (1355502920,), (1355502949,), (1355503246,), (1355503277,), (1355503307,), (1355503336,), (1355503855,), (1355503879,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02052025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22608501]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] map_info['map_portfolio_photo'] : {22608501: [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891]} final : True mtd_id 4302 list_pids : [1355361049, 1355360424, 1355357171, 1355357137, 1355357071, 1355357044, 1355356678, 1355356656, 1355356648, 1355356453, 1355356422, 1355356417, 1355356408, 1355356379, 1355356239, 1355356200, 1355356144, 1355355555, 1355355350, 1355355084, 1355355054, 1355355032, 1355355011, 1355354983, 1355354370, 1355354318, 1355354265, 1355354208, 1355354154, 1355353411, 1355353362, 1355353336, 1355353306, 1355352992, 1355352896, 1355352843, 1355351972, 1355351891] Looping around the photos to save general results len do output : 1 /22608501Didn'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, '2786996') ('4302', '22608501', '1355361049', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355360424', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357171', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357137', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357071', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355357044', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356678', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356656', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356648', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356453', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356422', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356417', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356408', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356379', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356239', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356200', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355356144', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355555', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355350', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355084', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355054', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355032', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355355011', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354983', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354370', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354318', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354265', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354208', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355354154', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353411', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353362', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353336', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355353306', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352992', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352896', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355352843', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351972', None, None, None, None, None, '2786996') ('4302', None, None, None, None, None, None, None, '2786996') ('4302', '22608501', '1355351891', None, None, None, None, None, '2786996') 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', None, '22608501', 'None', None, None, None, None, '2786996'), ('4302', '22608501', '1355361049', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355360424', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357171', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357137', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357071', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355357044', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356678', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356656', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356648', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356453', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356422', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356417', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356408', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356379', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356239', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356200', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355356144', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355555', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355350', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355084', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355054', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355032', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355355011', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354983', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354370', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354318', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354265', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354208', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355354154', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353411', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353362', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353336', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355353306', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352992', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352896', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355352843', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355351972', None, None, None, None, None, '2786996'), ('4302', '22608501', '1355351891', None, None, None, None, None, '2786996')] time used for this insertion : 0.01907944679260254 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.717633008956909 time spend to save output : 0.019432544708251953 total time spend for step 5 : 3.737065553665161 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 (2786996) 3.50user 1.92system 0:21.29elapsed 25%CPU (0avgtext+0avgdata 168040maxresident)k 2560inputs+28552outputs (39major+89891minor)pagefaults 0swaps