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 : 522272 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 (2641387) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2641387) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049193 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2641387'] with mtr_portfolio_ids : ['21049193'] and first list_photo_ids : [] new path : /proc/522272/ Name: python3 Umask: 0002 State: R (running) Tgid: 522272 Ngid: 0 Pid: 522272 PPid: 522271 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 522272 NSpid: 522272 NSpgid: 521338 NSsid: 521338 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97700 kB VmRSS: 97700 kB RssAnon: 59756 kB RssFile: 37944 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 130 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '522272', 'Ngid': '0', 'Pid': '522272', 'PPid': '522271', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '522272', 'NSpid': '522272', 'NSpgid': '521338', 'NSsid': '521338', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97700 kB', 'VmRSS': '97700 kB', 'RssAnon': '59756 kB', 'RssFile': '37944 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '130'} ('datou_batch_current', '522272', '1106844', '0', '1106844', '865592', '97700', b'', 'marlene', '2641387') 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 (21049193) 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 (2641387 ) ) 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 (21049193) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340953503, 'portfolio_id': 21049193}, {'photo_id': 1340953485, 'portfolio_id': 21049193}, {'photo_id': 1340953484, 'portfolio_id': 21049193}, {'photo_id': 1340953455, 'portfolio_id': 21049193}, {'photo_id': 1340953449, 'portfolio_id': 21049193}, {'photo_id': 1340953443, 'portfolio_id': 21049193}, {'photo_id': 1340953440, 'portfolio_id': 21049193}, {'photo_id': 1340953436, 'portfolio_id': 21049193}, {'photo_id': 1340953426, 'portfolio_id': 21049193}, {'photo_id': 1340953414, 'portfolio_id': 21049193}, {'photo_id': 1340953409, 'portfolio_id': 21049193}, {'photo_id': 1340953383, 'portfolio_id': 21049193}, {'photo_id': 1340953378, 'portfolio_id': 21049193}, {'photo_id': 1340953368, 'portfolio_id': 21049193}, {'photo_id': 1340953358, 'portfolio_id': 21049193}, {'photo_id': 1340953350, 'portfolio_id': 21049193}, {'photo_id': 1340953343, 'portfolio_id': 21049193}, {'photo_id': 1340953096, 'portfolio_id': 21049193}, {'photo_id': 1340952919, 'portfolio_id': 21049193}, {'photo_id': 1340952913, 'portfolio_id': 21049193}, {'photo_id': 1340952910, 'portfolio_id': 21049193}, {'photo_id': 1340952884, 'portfolio_id': 21049193}, {'photo_id': 1340952800, 'portfolio_id': 21049193}, {'photo_id': 1340952796, 'portfolio_id': 21049193}, {'photo_id': 1340952793, 'portfolio_id': 21049193}, {'photo_id': 1340952750, 'portfolio_id': 21049193}, {'photo_id': 1340952747, 'portfolio_id': 21049193}, {'photo_id': 1340952312, 'portfolio_id': 21049193}, {'photo_id': 1340952309, 'portfolio_id': 21049193}, {'photo_id': 1340952304, 'portfolio_id': 21049193}, {'photo_id': 1340952301, 'portfolio_id': 21049193}, {'photo_id': 1340952298, 'portfolio_id': 21049193}, {'photo_id': 1340952237, 'portfolio_id': 21049193}, {'photo_id': 1340952233, 'portfolio_id': 21049193}, {'photo_id': 1340952229, 'portfolio_id': 21049193}, {'photo_id': 1340952226, 'portfolio_id': 21049193}, {'photo_id': 1340952217, 'portfolio_id': 21049193}, {'photo_id': 1340951994, 'portfolio_id': 21049193}, {'photo_id': 1340951990, 'portfolio_id': 21049193}, {'photo_id': 1340951986, 'portfolio_id': 21049193}] map_portfolio_id_photo_id: {21049193: [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986]} ##### 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.4142332077026367 #### 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 Thu Mar 6 05:51: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 (21049193) 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 : 21049193 get user id for portfolio 21049193 get sub ptf for main ptf 21049193, type 3726 and hashtags ['mal_croppe', 'autre_refus', 'plastique', 'kraft', 'flou', 'cartonnette', 'environnement', 'metal', 'papier', 'Carton_brun', 'Teint_Dans_La_Masse', '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`=21049193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','plastique','kraft','flou','cartonnette','environnement','metal','papier','Carton_brun','Teint_Dans_La_Masse','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`=21049193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','plastique','kraft','flou','cartonnette','environnement','metal','papier','Carton_brun','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21049193, 'sub_port_id': 21049198, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662375, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'cartonnette': {'main_port_id': 21049193, 'sub_port_id': 21049199, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662376, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'Carton_gris': {'main_port_id': 21049193, 'sub_port_id': 21049200, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662377, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'Carton_brun': {'main_port_id': 21049193, 'sub_port_id': 21049201, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662378, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'mal_croppe': {'main_port_id': 21049193, 'sub_port_id': 21049202, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662379, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'kraft': {'main_port_id': 21049193, 'sub_port_id': 21049203, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662380, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'autre_refus': {'main_port_id': 21049193, 'sub_port_id': 21049204, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662381, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'papier': {'main_port_id': 21049193, 'sub_port_id': 21049205, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662382, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'metal': {'main_port_id': 21049193, 'sub_port_id': 21049206, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662383, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'environnement': {'main_port_id': 21049193, 'sub_port_id': 21049207, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662384, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'plastique': {'main_port_id': 21049193, 'sub_port_id': 21049208, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662385, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 21049193, 'sub_port_id': 21049209, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662386, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21049198 , 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=21049193 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 (21049198) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049199 , 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=21049193 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 (21049199) result : ((1340952818,), (1340952819,), (1340952820,), (1340953526,), (1340953527,), (1340953561,), (1340958468,), (1340961424,), (1340961425,), (1340961428,), (1340961430,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049200 , 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=21049193 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 (21049200) result : ((1340952396,), (1340952789,), (1340952815,), (1340953335,), (1340953559,), (1340958142,), (1340958661,), (1340958662,), (1340958744,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049201 , 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=21049193 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 (21049201) result : ((1340953510,), (1340953529,), (1340961484,), (1340961486,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049202 , 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=21049193 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 (21049202) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049203 , 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=21049193 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 (21049203) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049204 , 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=21049193 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 (21049204) result : ((1340952391,), (1340952392,), (1340952393,), (1340952788,), (1340952810,), (1340952811,), (1340952812,), (1340952813,), (1340952814,), (1340953333,), (1340953334,), (1340953506,), (1340953507,), (1340953508,), (1340953518,), (1340953519,), (1340953520,), (1340953521,), (1340953522,), (1340953523,), (1340953524,), (1340953556,), (1340953557,), (1340953663,), (1340953665,), (1340958138,), (1340958139,), (1340958140,), (1340958464,), (1340958465,), (1340958658,), (1340958659,), (1340958739,), (1340958740,), (1340958741,), (1340958742,), (1340961381,), (1340961384,), (1340961386,), (1340961389,), (1340961391,), (1340961394,), (1340961396,), (1340961399,), (1340961402,), (1340961404,), (1340961407,), (1340961409,), (1340961411,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049205 , 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=21049193 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 (21049205) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049206 , 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=21049193 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 (21049206) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049207 , 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=21049193 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 (21049207) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049208 , 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=21049193 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 (21049208) result : ((1340952427,), (1340952430,), (1340952433,), (1340952821,), (1340953564,), (1340958665,), (1340958760,), (1340958761,), (1340958762,), (1340961502,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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 21049209 , 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=21049193 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 (21049209) result : ((1340952388,), (1340952784,), (1340952785,), (1340952786,), (1340952787,), (1340952807,), (1340953513,), (1340953656,), (1340953657,), (1340958462,), (1340958654,), (1340958655,), (1340958656,), (1340958657,), (1340958732,), (1340961313,), (1340961317,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21049193) result : ((1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,)) 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 (1340952800) 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`=21049193 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','plastique','kraft','flou','cartonnette','environnement','metal','papier','Carton_brun','Teint_Dans_La_Masse','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`=21049193 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre_refus','plastique','kraft','flou','cartonnette','environnement','metal','papier','Carton_brun','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21049193, 'sub_port_id': 21049210, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662387, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'cartonnette': {'main_port_id': 21049193, 'sub_port_id': 21049211, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662388, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'Carton_gris': {'main_port_id': 21049193, 'sub_port_id': 21049212, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662389, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'Carton_brun': {'main_port_id': 21049193, 'sub_port_id': 21049213, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662390, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'mal_croppe': {'main_port_id': 21049193, 'sub_port_id': 21049214, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662391, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'kraft': {'main_port_id': 21049193, 'sub_port_id': 21049215, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662392, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'autre_refus': {'main_port_id': 21049193, 'sub_port_id': 21049216, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662393, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'papier': {'main_port_id': 21049193, 'sub_port_id': 21049217, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662394, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'metal': {'main_port_id': 21049193, 'sub_port_id': 21049218, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662395, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'environnement': {'main_port_id': 21049193, 'sub_port_id': 21049219, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662396, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'plastique': {'main_port_id': 21049193, 'sub_port_id': 21049220, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662397, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21049193, 'sub_port_id': 21049221, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13662398, 'last_updated_at': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 7, 18, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 7, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049210,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049198 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049211,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049199 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049212,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049200 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049213,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049201 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049214,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049202 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049215,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049203 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049216,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049204 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049217,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049205 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049218,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049206 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049219,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049207 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049220,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049208 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21049221,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21049209 lien utilise dans velours : https://www.fotonower.com/velours/21049210,21049211,21049212,21049213,21049214,21049215,21049216,21049217,21049218,21049219,21049220,21049221?tags=flou,cartonnette,Carton_gris,Carton_brun,mal_croppe,kraft,autre_refus,papier,metal,environnement,plastique,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21049193]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] map_info['map_portfolio_photo'] : {21049193: [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986]} final : False mtd_id 4302 list_pids : [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] Looping around the photos to save general results len do output : 1 /21049193. 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, '2641387') ('4302', '21049193', '1340953503', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953485', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953484', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953455', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953449', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953443', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953440', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953436', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953426', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953414', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953409', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953383', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953378', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953368', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953358', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953350', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953343', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953096', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952919', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952913', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952910', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952884', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952800', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952796', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952793', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952750', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952747', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952312', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952309', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952304', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952301', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952298', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952237', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952233', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952229', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952226', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952217', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951994', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951990', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951986', None, None, None, None, None, '2641387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21049193', "{'flou': 21049198, 'cartonnette': 21049199, 'Carton_gris': 21049200, 'Carton_brun': 21049201, 'mal_croppe': 21049202, 'kraft': 21049203, 'autre_refus': 21049204, 'papier': 21049205, 'metal': 21049206, 'environnement': 21049207, 'plastique': 21049208, 'Teint_Dans_La_Masse': 21049209}", None, None, None, None, '2641387'), ('4302', '21049193', '1340953503', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953485', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953484', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953455', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953449', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953443', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953440', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953436', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953426', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953414', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953409', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953383', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953378', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953368', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953358', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953350', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953343', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953096', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952919', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952913', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952910', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952884', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952800', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952796', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952793', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952750', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952747', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952312', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952309', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952304', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952301', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952298', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952237', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952233', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952229', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952226', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952217', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951994', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951990', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951986', None, None, None, None, None, '2641387')] time used for this insertion : 0.020561695098876953 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8562815189361572 time spend to save output : 0.021065235137939453 total time spend for step 1 : 0.8773467540740967 step2:final Thu Mar 6 05:51: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 (21049193) 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 21049193 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340951994,1340951990,1340951986,1340952237,1340952233,1340952229,1340952226,1340952217,1340952312,1340952309,1340952304,1340952301,1340952298,1340952750,1340952747,1340952800,1340952796,1340952793,1340952919,1340952913,1340952910,1340952884,1340953503,1340953096,1340953485,1340953484,1340953455,1340953383,1340953449,1340953378,1340953443,1340953368,1340953440,1340953358,1340953436,1340953426,1340953350,1340953343,1340953414,1340953409); 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([21049193]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} new output for save of step final : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] map_info['map_portfolio_photo'] : {21049193: [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986]} final : False mtd_id 4302 list_pids : [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] Looping around the photos to save general results len do output : 40 /1340953503.Didn't retrieve data . /1340953485.Didn't retrieve data . /1340953484.Didn't retrieve data . /1340953455.Didn't retrieve data . /1340953449.Didn't retrieve data . /1340953443.Didn't retrieve data . /1340953440.Didn't retrieve data . /1340953436.Didn't retrieve data . /1340953426.Didn't retrieve data . /1340953414.Didn't retrieve data . /1340953409.Didn't retrieve data . /1340953383.Didn't retrieve data . /1340953378.Didn't retrieve data . /1340953368.Didn't retrieve data . /1340953358.Didn't retrieve data . /1340953350.Didn't retrieve data . /1340953343.Didn't retrieve data . /1340953096.Didn't retrieve data . /1340952919.Didn't retrieve data . /1340952913.Didn't retrieve data . /1340952910.Didn't retrieve data . /1340952884.Didn't retrieve data . /1340952800.Didn't retrieve data . /1340952796.Didn't retrieve data . /1340952793.Didn't retrieve data . /1340952750.Didn't retrieve data . /1340952747.Didn't retrieve data . /1340952312.Didn't retrieve data . /1340952309.Didn't retrieve data . /1340952304.Didn't retrieve data . /1340952301.Didn't retrieve data . /1340952298.Didn't retrieve data . /1340952237.Didn't retrieve data . /1340952233.Didn't retrieve data . /1340952229.Didn't retrieve data . /1340952226.Didn't retrieve data . /1340952217.Didn't retrieve data . /1340951994.Didn't retrieve data . /1340951990.Didn't retrieve data . /1340951986.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, '2641387') ('4302', '21049193', '1340953503', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953485', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953484', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953455', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953449', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953443', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953440', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953436', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953426', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953414', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953409', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953383', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953378', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953368', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953358', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953350', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953343', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953096', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952919', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952913', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952910', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952884', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952800', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952796', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952793', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952750', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952747', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952312', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952309', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952304', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952301', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952298', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952237', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952233', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952229', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952226', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952217', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951994', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951990', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951986', None, None, None, None, None, '2641387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21049193', '1340953503', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953485', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953484', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953455', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953449', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953443', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953440', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953436', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953426', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953414', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953409', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953383', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953378', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953368', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953358', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953350', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953343', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340953096', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952919', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952913', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952910', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952884', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952800', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952796', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952793', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952750', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952747', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952312', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952309', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952304', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952301', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952298', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952237', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952233', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952229', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952226', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340952217', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340951994', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340951990', '0.0686644854160504', None, None, None, None, '2641387'), ('4302', '21049193', '1340951986', '0.0686644854160504', None, None, None, None, '2641387')] time used for this insertion : 0.022220611572265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06503105163574219 time spend to save output : 0.023935794830322266 total time spend for step 2 : 0.08896684646606445 step3:velours_tree Thu Mar 6 05:51: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 : {21049193: [{'flou': 21049198, 'cartonnette': 21049199, 'Carton_gris': 21049200, 'Carton_brun': 21049201, 'mal_croppe': 21049202, 'kraft': 21049203, 'autre_refus': 21049204, 'papier': 21049205, 'metal': 21049206, 'environnement': 21049207, 'plastique': 21049208, 'Teint_Dans_La_Masse': 21049209}]} input_args_next_step : {21049193: ()} output_args : {21049193: [{'flou': 21049198, 'cartonnette': 21049199, 'Carton_gris': 21049200, 'Carton_brun': 21049201, 'mal_croppe': 21049202, 'kraft': 21049203, 'autre_refus': 21049204, 'papier': 21049205, 'metal': 21049206, 'environnement': 21049207, 'plastique': 21049208, 'Teint_Dans_La_Masse': 21049209}]} args : 21049193 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 : ({'flou': 21049198, 'cartonnette': 21049199, 'Carton_gris': 21049200, 'Carton_brun': 21049201, 'mal_croppe': 21049202, 'kraft': 21049203, 'autre_refus': 21049204, 'papier': 21049205, 'metal': 21049206, 'environnement': 21049207, 'plastique': 21049208, 'Teint_Dans_La_Masse': 21049209},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21049193) 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([21049193]) 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.377429723739624 time spend to save output : 5.7220458984375e-05 total time spend for step 3 : 0.3774869441986084 step4:send_mail_cod Thu Mar 6 05:51: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 : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} input_args_next_step : {1340953503: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953503 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953485 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953484 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953455 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953449 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953443 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953440 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953436 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953426 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953414 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953409 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953383 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953378 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953368 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953358 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953350 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953343 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340953096 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952919 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952913 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952910 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952884 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952800 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952796 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952793 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952750 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952747 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952312 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952309 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952304 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952301 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952298 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952237 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952233 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952229 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952226 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340952217 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340951994 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340951990 depend.output_id : 0 input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ()} output_args : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',)} args : 1340951986 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 : {21049193: [{'flou': 21049198, 'cartonnette': 21049199, 'Carton_gris': 21049200, 'Carton_brun': 21049201, 'mal_croppe': 21049202, 'kraft': 21049203, 'autre_refus': 21049204, 'papier': 21049205, 'metal': 21049206, 'environnement': 21049207, 'plastique': 21049208, 'Teint_Dans_La_Masse': 21049209}]} input_args_next_step : {1340953503: ('0.0686644854160504',), 1340953485: ('0.0686644854160504',), 1340953484: ('0.0686644854160504',), 1340953455: ('0.0686644854160504',), 1340953449: ('0.0686644854160504',), 1340953443: ('0.0686644854160504',), 1340953440: ('0.0686644854160504',), 1340953436: ('0.0686644854160504',), 1340953426: ('0.0686644854160504',), 1340953414: ('0.0686644854160504',), 1340953409: ('0.0686644854160504',), 1340953383: ('0.0686644854160504',), 1340953378: ('0.0686644854160504',), 1340953368: ('0.0686644854160504',), 1340953358: ('0.0686644854160504',), 1340953350: ('0.0686644854160504',), 1340953343: ('0.0686644854160504',), 1340953096: ('0.0686644854160504',), 1340952919: ('0.0686644854160504',), 1340952913: ('0.0686644854160504',), 1340952910: ('0.0686644854160504',), 1340952884: ('0.0686644854160504',), 1340952800: ('0.0686644854160504',), 1340952796: ('0.0686644854160504',), 1340952793: ('0.0686644854160504',), 1340952750: ('0.0686644854160504',), 1340952747: ('0.0686644854160504',), 1340952312: ('0.0686644854160504',), 1340952309: ('0.0686644854160504',), 1340952304: ('0.0686644854160504',), 1340952301: ('0.0686644854160504',), 1340952298: ('0.0686644854160504',), 1340952237: ('0.0686644854160504',), 1340952233: ('0.0686644854160504',), 1340952229: ('0.0686644854160504',), 1340952226: ('0.0686644854160504',), 1340952217: ('0.0686644854160504',), 1340951994: ('0.0686644854160504',), 1340951990: ('0.0686644854160504',), 1340951986: ('0.0686644854160504',), 21049193: ()} output_args : {21049193: [{'flou': 21049198, 'cartonnette': 21049199, 'Carton_gris': 21049200, 'Carton_brun': 21049201, 'mal_croppe': 21049202, 'kraft': 21049203, 'autre_refus': 21049204, 'papier': 21049205, 'metal': 21049206, 'environnement': 21049207, 'plastique': 21049208, 'Teint_Dans_La_Masse': 21049209}]} args : 21049193 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :41, first value : ('0.0686644854160504',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21049193) 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 (1340953503,1340953485,1340953484,1340953455,1340953449,1340953443,1340953440,1340953436,1340953426,1340953414,1340953409,1340953383,1340953378,1340953368,1340953358,1340953350,1340953343,1340953096,1340952919,1340952913,1340952910,1340952884,1340952800,1340952796,1340952793,1340952750,1340952747,1340952312,1340952309,1340952304,1340952301,1340952298,1340952237,1340952233,1340952229,1340952226,1340952217,1340951994,1340951990,1340951986) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340951986 begin to download photo : 1340952301 begin to download photo : 1340952884 begin to download photo : 1340953378 begin to download photo : 1340953455 download finish for photo 1340953455 begin to download photo : 1340953484 download finish for photo 1340951986 begin to download photo : 1340951990 download finish for photo 1340953378 begin to download photo : 1340953383 download finish for photo 1340952301 begin to download photo : 1340952304 download finish for photo 1340952884 begin to download photo : 1340952910 download finish for photo 1340953484 begin to download photo : 1340953485 download finish for photo 1340951990 begin to download photo : 1340951994 download finish for photo 1340953383 begin to download photo : 1340953409 download finish for photo 1340952304 begin to download photo : 1340952309 download finish for photo 1340952910 begin to download photo : 1340952913 download finish for photo 1340953485 begin to download photo : 1340953503 download finish for photo 1340952309 begin to download photo : 1340952312 download finish for photo 1340953409 begin to download photo : 1340953414 download finish for photo 1340952913 begin to download photo : 1340952919 download finish for photo 1340953503 download finish for photo 1340952312 begin to download photo : 1340952747 download finish for photo 1340953414 begin to download photo : 1340953426 download finish for photo 1340952919 begin to download photo : 1340953096 download finish for photo 1340951994 begin to download photo : 1340952217 download finish for photo 1340952747 begin to download photo : 1340952750 download finish for photo 1340953426 begin to download photo : 1340953436 download finish for photo 1340952217 begin to download photo : 1340952226 download finish for photo 1340953096 begin to download photo : 1340953343 download finish for photo 1340952750 begin to download photo : 1340952793 download finish for photo 1340953436 begin to download photo : 1340953440 download finish for photo 1340952226 begin to download photo : 1340952229 download finish for photo 1340953343 begin to download photo : 1340953350 download finish for photo 1340952793 begin to download photo : 1340952796 download finish for photo 1340952229 begin to download photo : 1340952233 download finish for photo 1340953440 begin to download photo : 1340953443 download finish for photo 1340953350 begin to download photo : 1340953358 download finish for photo 1340952796 begin to download photo : 1340952800 download finish for photo 1340952233 begin to download photo : 1340952237 download finish for photo 1340953443 begin to download photo : 1340953449 download finish for photo 1340953358 begin to download photo : 1340953368 download finish for photo 1340952800 download finish for photo 1340952237 begin to download photo : 1340952298 download finish for photo 1340953449 download finish for photo 1340953368 download finish for photo 1340952298 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette210491981741236692/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P21049193_06-03-2025_05_51_32.pdf 21049198 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=21049198 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210491981741236692 21049199 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=21049199 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340952818: '1741154732_1687616_1340952312_85602604c6b981fde8530cdd46593c1d_rle_crop_3694127823_0.png', 1340952819: '1741154732_1687616_1340952233_a5149c7a4926077853b91cf40f07818d_rle_crop_3694127969_0.png', 1340952820: '1741154732_1687616_1340952217_ce4815c7eb4d8cca483298fd1384bcae_rle_crop_3694128053_0.png', 1340953526: '1741155452_1694326_1340953358_6bd1803fdf1da8dc386bcb8da444b03a_rle_crop_3694130487_0.png', 1340953527: '1741155452_1694326_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130505_0.png', 1340953561: '1741155492_1694856_1340952800_c78e85af897daa12fdd6a709a0e07064_rle_crop_3694130623_0.png', 1340958468: '1741157350_1744148_1340952793_45ab3ac114c89e103a0ac3c3db3ed8ad_rle_crop_3694158449_0.png', 1340961424: '1741158313_1812971_1340953436_d3293d02569928e995ddd5bf167accb3_rle_crop_3694177142_0.png', 1340961425: '1741158313_1812971_1340953426_5ea5844b99768a47857bc2ffc749cbd0_rle_crop_3694177160_0.png', 1340961428: '1741158313_1812971_1340953358_6bd1803fdf1da8dc386bcb8da444b03a_rle_crop_3694130487_0.png', 1340961430: '1741158313_1812971_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130505_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/df095d00d3631080242f0cf057844e7e_1699894.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/57cd9f22842bf71d7775a7270c9abf36_81907804.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/87b1a6b9a71fa4a59582c41882be01fa_88503547.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/afb8bb713c826c8eaeeaf6beefa06170_3894848.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/1993dba3b805f9333dd7baf27031f8ee_84241874.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/1c31151103a1c01ab47d912f4cd10545_84687849.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/b3cb9c5d593eabf5ce573bf47c2dd729_13310964.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/b40fcb4ae0a16f7c769b6b77a103da7e_59638273.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/41d513b75473c2e1c15e9ad6587c3b06_95992239.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/afb8bb713c826c8eaeeaf6beefa06170_1605151.png change filename to text .imagette210491991741236692/ imagette210491991741236692/1741154732_1687616_1340952312_85602604c6b981fde8530cdd46593c1d_rle_crop_3694127823_0.png.png imagette210491991741236692/1741155452_1694326_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130505_0.png.png imagette210491991741236692/1741155452_1694326_1340953358_6bd1803fdf1da8dc386bcb8da444b03a_rle_crop_3694130487_0.png.png imagette210491991741236692/1741158313_1812971_1340953436_d3293d02569928e995ddd5bf167accb3_rle_crop_3694177142_0.png.png imagette210491991741236692/1741154732_1687616_1340952217_ce4815c7eb4d8cca483298fd1384bcae_rle_crop_3694128053_0.png.png imagette210491991741236692/1741157350_1744148_1340952793_45ab3ac114c89e103a0ac3c3db3ed8ad_rle_crop_3694158449_0.png.png imagette210491991741236692/1741155492_1694856_1340952800_c78e85af897daa12fdd6a709a0e07064_rle_crop_3694130623_0.png.png imagette210491991741236692/1741158313_1812971_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130505_0.png.png imagette210491991741236692/1741158313_1812971_1340953426_5ea5844b99768a47857bc2ffc749cbd0_rle_crop_3694177160_0.png.png imagette210491991741236692/1741158313_1812971_1340953358_6bd1803fdf1da8dc386bcb8da444b03a_rle_crop_3694130487_0.png.png imagette210491991741236692/1741154732_1687616_1340952233_a5149c7a4926077853b91cf40f07818d_rle_crop_3694127969_0.png.png imagette210492021741236693/ imagette210492031741236693/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/1993dba3b805f9333dd7baf27031f8ee_22664302.png imagette210491991741236692 21049202 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=21049202 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210492021741236693 21049203 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=21049203 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210492031741236693 21049204 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=21049204 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340961384: '1741158313_1812971_1340953436_d3293d02569928e995ddd5bf167accb3_rle_crop_3694177149_0.png', 1340958138: '1741157212_1736777_1340953503_790847ce95098008453ca0cbf5deedbe_rle_crop_3694157418_0.png', 1340958139: '1741157212_1736777_1340952910_4b96b73329abf3fa36473ca35727c022_rle_crop_3694129789_0.png', 1340958140: '1741157212_1736777_1340952884_5eb57300f1adfc2063e916fbc68d5235_rle_crop_3694129864_0.png', 1340958464: '1741157350_1744148_1340952796_75cd0fbcda40be04e7c88761d4b941de_rle_crop_3694158442_0.png', 1340958465: '1741157350_1744148_1340952793_45ab3ac114c89e103a0ac3c3db3ed8ad_rle_crop_3694158454_0.png', 1340958658: '1741157472_1748661_1340952750_df53b1358e55a9ebb0d5e87e0065d4e0_rle_crop_3694159756_0.png', 1340958659: '1741157472_1748661_1340952301_54c14e34bfe83cf650db0ea1a3822188_rle_crop_3694127355_0.png', 1340958739: '1741157492_1748959_1340952237_94942c15128bcc5d763ffe259a46da66_rle_crop_3694160225_0.png', 1340958740: '1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126495_0.png', 1340958741: '1741157492_1748959_1340951990_b4b6f7c52b654964472580207413795b_rle_crop_3694126627_0.png', 1340958742: '1741157492_1748959_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126637_0.png', 1340961381: '1741158313_1812971_1340953440_f944acd95c0efa208bada3552e6ff0c3_rle_crop_3694176483_0.png', 1340953665: '1741155591_1696514_1340953484_f5deeefb35cc3404bee4dbf8e8534525_rle_crop_3694131669_0.png', 1340961386: '1741158313_1812971_1340953436_d3293d02569928e995ddd5bf167accb3_rle_crop_3694177141_0.png', 1340961389: '1741158313_1812971_1340953426_5ea5844b99768a47857bc2ffc749cbd0_rle_crop_3694177164_0.png', 1340961391: '1741158313_1812971_1340953414_260060982404da3c7b2dae15706b2963_rle_crop_3694177334_0.png', 1340961394: '1741158313_1812971_1340953409_329df50c167487733f77b1cebdd0e574_rle_crop_3694177345_0.png', 1340961396: '1741158313_1812971_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130237_0.png', 1340961399: '1741158313_1812971_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130243_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/a3e3cc1f009a11c9ef5b644eabe80033_4996297.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/825392197eda2ca514de56082e208ea7_17605737.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/491ea6c7cada345e913c2f63f221c601_38874923.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/695da1128a92f12bffcc3b9791b5df93_81778516.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/f4c32467cc5f25bdde724eefb1bebaeb_98543147.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d1ad92796b7a9c4bd8e6878fd8260548_29529487.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/4fb6e95fa26f456d62cb16cb10c9a219_17258459.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/52eefebb6d1d33b67e4f56ff062588b7_74232204.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/f82af25403aefed3d210e48616b6721b_3560172.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/e2ebdeeade784ca870a370a7425fc6d3_8489881.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/81affb50d17ad6cb7d6f4c24d879f0b7_71950167.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/8e6d692eb12a209d13f6bff7a420990f_14547708.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/7f1b1fca59fec56d7d5095e0507776b6_15286393.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/65b9406e96009c600ce0d6f493603d9a_72128008.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/501ecd18e86513210908568a2fac2c7a_40565973.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/3fea54e038ad76ae323e9393452a5255_39067768.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/b34562c958c1a1ac6e889fa97d194b3f_83756551.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/b943ab63fcdafa8002fc15f995512d17_14849652.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d2536f3206955e85ca1cd60f78ed7d72_12056298.png change filename to text .imagette210492041741236693/ imagette210492041741236693/1741158313_1812971_1340953436_d3293d02569928e995ddd5bf167accb3_rle_crop_3694177141_0.png.png imagette210492041741236693/1741157350_1744148_1340952793_45ab3ac114c89e103a0ac3c3db3ed8ad_rle_crop_3694158454_0.png.png imagette210492041741236693/1741157212_1736777_1340952884_5eb57300f1adfc2063e916fbc68d5235_rle_crop_3694129864_0.png.png imagette210492041741236693/1741158313_1812971_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130243_0.png.png imagette210492041741236693/1741158313_1812971_1340953426_5ea5844b99768a47857bc2ffc749cbd0_rle_crop_3694177164_0.png.png imagette210492041741236693/1741157212_1736777_1340953503_790847ce95098008453ca0cbf5deedbe_rle_crop_3694157418_0.png.png imagette210492041741236693/1741158313_1812971_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130237_0.png.png imagette210492041741236693/1741158313_1812971_1340953409_329df50c167487733f77b1cebdd0e574_rle_crop_3694177345_0.png.png imagette210492041741236693/1741158313_1812971_1340953440_f944acd95c0efa208bada3552e6ff0c3_rle_crop_3694176483_0.png.png imagette210492041741236693/1741157492_1748959_1340952237_94942c15128bcc5d763ffe259a46da66_rle_crop_3694160225_0.png.png imagette210492041741236693/1741158313_1812971_1340953414_260060982404da3c7b2dae15706b2963_rle_crop_3694177334_0.png.png imagette210492041741236693/1741157350_1744148_1340952796_75cd0fbcda40be04e7c88761d4b941de_rle_crop_3694158442_0.png.png imagette210492041741236693/1741157492_1748959_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126637_0.png.png imagette210492041741236693/1741157492_1748959_1340951990_b4b6f7c52b654964472580207413795b_rle_crop_3694126627_0.png.png imagette210492041741236693/1741157212_1736777_1340952910_4b96b73329abf3fa36473ca35727c022_rle_crop_3694129789_0.png.png imagette210492041741236693/1741158313_1812971_1340953436_d3293d02569928e995ddd5bf167accb3_rle_crop_3694177149_0.png.png imagette210492041741236693/1741157472_1748661_1340952750_df53b1358e55a9ebb0d5e87e0065d4e0_rle_crop_3694159756_0.png.png imagette210492041741236693/1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126495_0.png.png imagette210492041741236693/1741155591_1696514_1340953484_f5deeefb35cc3404bee4dbf8e8534525_rle_crop_3694131669_0.png.png imagette210492041741236693/1741157472_1748661_1340952301_54c14e34bfe83cf650db0ea1a3822188_rle_crop_3694127355_0.png.png imagette210492061741236697/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/be95c3dc3b20bb259274105f30981b65_59589703.png imagette210492041741236693 21049206 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=21049206 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210492061741236697 21049208 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=21049208 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340952427: '1741154593_1685831_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126489_0.png', 1340952430: '1741154593_1685831_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126642_0.png', 1340952433: '1741154593_1685831_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126641_0.png', 1340952821: '1741154732_1687616_1340952312_85602604c6b981fde8530cdd46593c1d_rle_crop_3694127830_0.png', 1340953564: '1741155492_1694856_1340952800_c78e85af897daa12fdd6a709a0e07064_rle_crop_3694130632_0.png', 1340958665: '1741157472_1748661_1340952750_df53b1358e55a9ebb0d5e87e0065d4e0_rle_crop_3694159745_0.png', 1340958760: '1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126489_0.png', 1340958761: '1741157492_1748959_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126642_0.png', 1340958762: '1741157492_1748959_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126641_0.png', 1340961502: '1741158313_1812971_1340953414_260060982404da3c7b2dae15706b2963_rle_crop_3694177326_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/c3cd264d238976e46dacb939f9064160_18418870.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d985df1071527ba49668168c2d0a1eed_58925899.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/1c19a6337292ead0319f91b1b525f4b5_60967931.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/113dd5641438078872a21ea6d4479e77_38044173.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d28acae8d676fdaacb525aad954a80a6_6034169.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/aad635e62e07593d48fdeb1e1c457abd_54338483.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/c3cd264d238976e46dacb939f9064160_81898584.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d985df1071527ba49668168c2d0a1eed_12416439.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/1c19a6337292ead0319f91b1b525f4b5_26575861.png change filename to text .imagette210492081741236697/ imagette210492081741236697/1741154593_1685831_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126641_0.png.png imagette210492081741236697/1741158313_1812971_1340953414_260060982404da3c7b2dae15706b2963_rle_crop_3694177326_0.png.png imagette210492081741236697/1741157472_1748661_1340952750_df53b1358e55a9ebb0d5e87e0065d4e0_rle_crop_3694159745_0.png.png imagette210492081741236697/1741154593_1685831_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126642_0.png.png imagette210492081741236697/1741154593_1685831_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126489_0.png.png imagette210492081741236697/1741155492_1694856_1340952800_c78e85af897daa12fdd6a709a0e07064_rle_crop_3694130632_0.png.png imagette210492081741236697/1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126489_0.png.png imagette210492081741236697/1741157492_1748959_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126642_0.png.png imagette210492081741236697/1741154732_1687616_1340952312_85602604c6b981fde8530cdd46593c1d_rle_crop_3694127830_0.png.png imagette210492081741236697/1741157492_1748959_1340951986_72d4a45d7c66ce775abc548e0adc3da0_rle_crop_3694126641_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/10df3640410ba439e5853e715cbe2305_75934875.png imagette210492081741236697 21049200 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=21049200 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340952396: '1741154593_1685831_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126488_0.png', 1340952789: '1741154714_1687393_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127291_0.png', 1340952815: '1741154732_1687616_1340952229_c0b7e0759a5405403cf9b735d9111605_rle_crop_3694128000_0.png', 1340953335: '1741154954_1691085_1340952910_4b96b73329abf3fa36473ca35727c022_rle_crop_3694129782_0.png', 1340953559: '1741155492_1694856_1340952747_879a8e5c8e6717eb9579b8aeaa3fda91_rle_crop_3694130641_0.png', 1340958142: '1741157212_1736777_1340952910_4b96b73329abf3fa36473ca35727c022_rle_crop_3694129782_0.png', 1340958661: '1741157472_1748661_1340952750_df53b1358e55a9ebb0d5e87e0065d4e0_rle_crop_3694159750_0.png', 1340958662: '1741157472_1748661_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127291_0.png', 1340958744: '1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126488_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/f3cdf090f75e43826781c7b5ee92da15_90699564.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/c589f1025e3971ac9aec991ac6ebb4a0_3653341.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d685e6ef956a83693504f25d1502a3ac_31218175.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/af345ee0c4fbb4ad5f80ef10e6268cc1_84023514.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/3d9d72bd0ce542d9fe6e9379d733c3d0_79611928.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/af345ee0c4fbb4ad5f80ef10e6268cc1_71540821.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/9b5862f2d5f99827fdfa812f8a4aa9aa_96585915.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/c589f1025e3971ac9aec991ac6ebb4a0_43053996.png change filename to text .imagette210492001741236698/ imagette210492001741236698/1741157472_1748661_1340952750_df53b1358e55a9ebb0d5e87e0065d4e0_rle_crop_3694159750_0.png.png imagette210492001741236698/1741154593_1685831_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126488_0.png.png imagette210492001741236698/1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126488_0.png.png imagette210492001741236698/1741155492_1694856_1340952747_879a8e5c8e6717eb9579b8aeaa3fda91_rle_crop_3694130641_0.png.png imagette210492001741236698/1741157472_1748661_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127291_0.png.png imagette210492001741236698/1741154732_1687616_1340952229_c0b7e0759a5405403cf9b735d9111605_rle_crop_3694128000_0.png.png imagette210492001741236698/1741157212_1736777_1340952910_4b96b73329abf3fa36473ca35727c022_rle_crop_3694129782_0.png.png imagette210492001741236698/1741154714_1687393_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127291_0.png.png imagette210492001741236698/1741154954_1691085_1340952910_4b96b73329abf3fa36473ca35727c022_rle_crop_3694129782_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/f3cdf090f75e43826781c7b5ee92da15_35729673.png imagette210492001741236698 21049201 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=21049201 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340953510: '1741155470_1694553_1340953383_253b3b7ff9c10a3a05256c7104bfd726_rle_crop_3694130466_0.png', 1340953529: '1741155452_1694326_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130240_0.png', 1340961484: '1741158313_1812971_1340953440_f944acd95c0efa208bada3552e6ff0c3_rle_crop_3694176480_0.png', 1340961486: '1741158313_1812971_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130240_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/7752846c93a7efa98fdedd767cc1b831_23284486.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d9d573bf7c310b712fb7a7eed1e34616_56676103.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d41ee77c3a575e65d89bb7a6ab4ab321_68374699.png change filename to text .imagette210492011741236699/ imagette210492011741236699/1741158313_1812971_1340953440_f944acd95c0efa208bada3552e6ff0c3_rle_crop_3694176480_0.png.png imagette210492011741236699/1741155470_1694553_1340953383_253b3b7ff9c10a3a05256c7104bfd726_rle_crop_3694130466_0.png.png imagette210492011741236699/1741155452_1694326_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130240_0.png.png imagette210492011741236699/1741158313_1812971_1340953368_4059a08fe15912228610dcdaabe7aea8_rle_crop_3694130240_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d9d573bf7c310b712fb7a7eed1e34616_58282535.png imagette210492011741236699 21049209 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=21049209 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340953657: '1741155591_1696514_1340953485_ca79722b1548ade3ea20825b6feaff3a_rle_crop_3694131659_0.png', 1340961317: '1741158313_1812971_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130506_0.png', 1340961313: '1741158313_1812971_1340953426_5ea5844b99768a47857bc2ffc749cbd0_rle_crop_3694177161_0.png', 1340958732: '1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126490_0.png', 1340958657: '1741157472_1748661_1340952301_54c14e34bfe83cf650db0ea1a3822188_rle_crop_3694127359_0.png', 1340958656: '1741157472_1748661_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127298_0.png', 1340958655: '1741157472_1748661_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127297_0.png', 1340958654: '1741157472_1748661_1340952309_e1de5a5361c2e587afdc61333d1fc235_rle_crop_3694127282_0.png', 1340958462: '1741157350_1744148_1340952793_45ab3ac114c89e103a0ac3c3db3ed8ad_rle_crop_3694158451_0.png', 1340952388: '1741154593_1685831_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126490_0.png', 1340953656: '1741155591_1696514_1340953485_ca79722b1548ade3ea20825b6feaff3a_rle_crop_3694131660_0.png', 1340953513: '1741155452_1694326_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130506_0.png', 1340952807: '1741154732_1687616_1340952312_85602604c6b981fde8530cdd46593c1d_rle_crop_3694127826_0.png', 1340952787: '1741154714_1687393_1340952301_54c14e34bfe83cf650db0ea1a3822188_rle_crop_3694127359_0.png', 1340952786: '1741154714_1687393_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127298_0.png', 1340952785: '1741154714_1687393_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127297_0.png', 1340952784: '1741154714_1687393_1340952309_e1de5a5361c2e587afdc61333d1fc235_rle_crop_3694127282_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/2478a221c6e99bd04f7cc508cca4174b_44843716.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/13ed51613aa4710e6acf2d7beec943b1_3380828.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/f29e448ec254cc50fa156f4679adfae0_39585308.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/806a127f3a72c3c1dda48ab9ef2ff1fe_67849272.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d83d076ea453d8903595c2f5dfd526b5_74315433.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d7f3c9a0eb164d191868ebf7bc2931a0_44497885.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/338e01634dd77b42915027755130e578_86770804.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/09ae8372759c6b014b8c9ca1278e33f2_20131588.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/abd885d08f55f0c4824933417e0baaa6_65915196.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/806a127f3a72c3c1dda48ab9ef2ff1fe_87268533.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/726cd3335eb8fa6aec2a70d1f55acb94_9701743.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/13ed51613aa4710e6acf2d7beec943b1_49616531.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/6b6ffff2b92a4183e8a71e8c13d373f0_90131549.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d83d076ea453d8903595c2f5dfd526b5_53045966.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d7f3c9a0eb164d191868ebf7bc2931a0_77892771.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/338e01634dd77b42915027755130e578_38036245.png change filename to text .imagette210492091741236700/ imagette210492091741236700/1741154714_1687393_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127298_0.png.png imagette210492091741236700/1741155591_1696514_1340953485_ca79722b1548ade3ea20825b6feaff3a_rle_crop_3694131660_0.png.png imagette210492091741236700/1741157472_1748661_1340952301_54c14e34bfe83cf650db0ea1a3822188_rle_crop_3694127359_0.png.png imagette210492091741236700/1741157472_1748661_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127298_0.png.png imagette210492091741236700/1741157350_1744148_1340952793_45ab3ac114c89e103a0ac3c3db3ed8ad_rle_crop_3694158451_0.png.png imagette210492091741236700/1741154714_1687393_1340952301_54c14e34bfe83cf650db0ea1a3822188_rle_crop_3694127359_0.png.png imagette210492091741236700/1741158313_1812971_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130506_0.png.png imagette210492091741236700/1741155591_1696514_1340953485_ca79722b1548ade3ea20825b6feaff3a_rle_crop_3694131659_0.png.png imagette210492091741236700/1741157492_1748959_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126490_0.png.png imagette210492091741236700/1741158313_1812971_1340953426_5ea5844b99768a47857bc2ffc749cbd0_rle_crop_3694177161_0.png.png imagette210492091741236700/1741154732_1687616_1340952312_85602604c6b981fde8530cdd46593c1d_rle_crop_3694127826_0.png.png imagette210492091741236700/1741157472_1748661_1340952309_e1de5a5361c2e587afdc61333d1fc235_rle_crop_3694127282_0.png.png imagette210492091741236700/1741154714_1687393_1340952309_e1de5a5361c2e587afdc61333d1fc235_rle_crop_3694127282_0.png.png imagette210492091741236700/1741154714_1687393_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127297_0.png.png imagette210492091741236700/1741154593_1685831_1340951994_a8919784cb833c0410d089ed62752f8f_rle_crop_3694126490_0.png.png imagette210492091741236700/1741155452_1694326_1340953350_6904a4dd463d368e774eeaddfe7e0725_rle_crop_3694130506_0.png.png imagette210492091741236700/1741157472_1748661_1340952304_bc5eedd693471fe87be52c8c947d5817_rle_crop_3694127297_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/09ae8372759c6b014b8c9ca1278e33f2_7150527.png imagette210492091741236700 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21049193 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21049210,21049211,21049212,21049213,21049214,21049215,21049216,21049217,21049218,21049219,21049220,21049221?tags=flou,cartonnette,Carton_gris,Carton_brun,mal_croppe,kraft,autre_refus,papier,metal,environnement,plastique,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1340953503] : ('0.0686644854160504',) no score found for photo 1340953503 We are sending mail with results at report@fotonower.com args[1340953485] : ('0.0686644854160504',) no score found for photo 1340953485 We are sending mail with results at report@fotonower.com args[1340953484] : ('0.0686644854160504',) no score found for photo 1340953484 We are sending mail with results at report@fotonower.com args[1340953455] : ('0.0686644854160504',) no score found for photo 1340953455 We are sending mail with results at report@fotonower.com args[1340953449] : ('0.0686644854160504',) no score found for photo 1340953449 We are sending mail with results at report@fotonower.com args[1340953443] : ('0.0686644854160504',) no score found for photo 1340953443 We are sending mail with results at report@fotonower.com args[1340953440] : ('0.0686644854160504',) no score found for photo 1340953440 We are sending mail with results at report@fotonower.com args[1340953436] : ('0.0686644854160504',) no score found for photo 1340953436 We are sending mail with results at report@fotonower.com args[1340953426] : ('0.0686644854160504',) no score found for photo 1340953426 We are sending mail with results at report@fotonower.com args[1340953414] : ('0.0686644854160504',) no score found for photo 1340953414 We are sending mail with results at report@fotonower.com args[1340953409] : ('0.0686644854160504',) no score found for photo 1340953409 We are sending mail with results at report@fotonower.com args[1340953383] : ('0.0686644854160504',) no score found for photo 1340953383 We are sending mail with results at report@fotonower.com args[1340953378] : ('0.0686644854160504',) no score found for photo 1340953378 We are sending mail with results at report@fotonower.com args[1340953368] : ('0.0686644854160504',) no score found for photo 1340953368 We are sending mail with results at report@fotonower.com args[1340953358] : ('0.0686644854160504',) no score found for photo 1340953358 We are sending mail with results at report@fotonower.com args[1340953350] : ('0.0686644854160504',) no score found for photo 1340953350 We are sending mail with results at report@fotonower.com args[1340953343] : ('0.0686644854160504',) no score found for photo 1340953343 We are sending mail with results at report@fotonower.com args[1340953096] : ('0.0686644854160504',) no score found for photo 1340953096 We are sending mail with results at report@fotonower.com args[1340952919] : ('0.0686644854160504',) no score found for photo 1340952919 We are sending mail with results at report@fotonower.com args[1340952913] : ('0.0686644854160504',) no score found for photo 1340952913 We are sending mail with results at report@fotonower.com args[1340952910] : ('0.0686644854160504',) no score found for photo 1340952910 We are sending mail with results at report@fotonower.com args[1340952884] : ('0.0686644854160504',) no score found for photo 1340952884 We are sending mail with results at report@fotonower.com args[1340952800] : ('0.0686644854160504',) no score found for photo 1340952800 We are sending mail with results at report@fotonower.com args[1340952796] : ('0.0686644854160504',) no score found for photo 1340952796 We are sending mail with results at report@fotonower.com args[1340952793] : ('0.0686644854160504',) no score found for photo 1340952793 We are sending mail with results at report@fotonower.com args[1340952750] : ('0.0686644854160504',) no score found for photo 1340952750 We are sending mail with results at report@fotonower.com args[1340952747] : ('0.0686644854160504',) no score found for photo 1340952747 We are sending mail with results at report@fotonower.com args[1340952312] : ('0.0686644854160504',) no score found for photo 1340952312 We are sending mail with results at report@fotonower.com args[1340952309] : ('0.0686644854160504',) no score found for photo 1340952309 We are sending mail with results at report@fotonower.com args[1340952304] : ('0.0686644854160504',) no score found for photo 1340952304 We are sending mail with results at report@fotonower.com args[1340952301] : ('0.0686644854160504',) no score found for photo 1340952301 We are sending mail with results at report@fotonower.com args[1340952298] : ('0.0686644854160504',) no score found for photo 1340952298 We are sending mail with results at report@fotonower.com args[1340952237] : ('0.0686644854160504',) no score found for photo 1340952237 We are sending mail with results at report@fotonower.com args[1340952233] : ('0.0686644854160504',) no score found for photo 1340952233 We are sending mail with results at report@fotonower.com args[1340952229] : ('0.0686644854160504',) no score found for photo 1340952229 We are sending mail with results at report@fotonower.com args[1340952226] : ('0.0686644854160504',) no score found for photo 1340952226 We are sending mail with results at report@fotonower.com args[1340952217] : ('0.0686644854160504',) no score found for photo 1340952217 We are sending mail with results at report@fotonower.com args[1340951994] : ('0.0686644854160504',) no score found for photo 1340951994 We are sending mail with results at report@fotonower.com args[1340951990] : ('0.0686644854160504',) no score found for photo 1340951990 We are sending mail with results at report@fotonower.com args[1340951986] : ('0.0686644854160504',) no score found for photo 1340951986 We are sending mail with results at report@fotonower.com refus_total : 0.0686644854160504 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=21049193 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_P21049193_06-03-2025_05_51_32.pdf results_Auto_P21049193_06-03-2025_05_51_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_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','21049193','results_Auto_P21049193_06-03-2025_05_51_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf','pdf','','0.47','0.0686644854160504') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21049193]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] map_info['map_portfolio_photo'] : {21049193: [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986]} final : False mtd_id 4302 list_pids : [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] 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, '2641387') ('4302', '21049193', '1340953503', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953485', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953484', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953455', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953449', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953443', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953440', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953436', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953426', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953414', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953409', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953383', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953378', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953368', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953358', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953350', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953343', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953096', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952919', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952913', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952910', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952884', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952800', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952796', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952793', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952750', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952747', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952312', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952309', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952304', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952301', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952298', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952237', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952233', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952229', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952226', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952217', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951994', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951990', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951986', None, None, None, None, None, '2641387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21049193', '1340953503', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953485', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953484', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953455', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953449', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953443', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953440', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953436', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953426', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953414', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953409', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953383', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953378', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953368', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953358', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953350', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953343', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953096', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952919', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952913', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952910', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952884', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952800', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952796', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952793', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952750', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952747', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952312', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952309', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952304', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952301', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952298', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952237', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952233', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952229', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952226', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952217', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951994', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951990', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951986', None, None, None, None, None, '2641387')] time used for this insertion : 0.02347588539123535 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.778251647949219 time spend to save output : 0.023950576782226562 total time spend for step 4 : 14.802202224731445 step5:split_time_score Thu Mar 6 05:51:45 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 : ['21049193'] 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 : [('21049193',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21049193) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340953455: {'path': 'temp/1741236690_522272_1340953455_5c17a4a7d21433871cbcaa6f3cfd9857.jpg', 'extension': 'jpg'}, 1340953484: {'path': 'temp/1741236690_522272_1340953484_f5deeefb35cc3404bee4dbf8e8534525.jpg', 'extension': 'jpg'}, 1340953485: {'path': 'temp/1741236690_522272_1340953485_ca79722b1548ade3ea20825b6feaff3a.jpg', 'extension': 'jpg'}, 1340953503: {'path': 'temp/1741236690_522272_1340953503_790847ce95098008453ca0cbf5deedbe.jpg', 'extension': 'jpg'}, 1340952301: {'path': 'temp/1741236690_522272_1340952301_54c14e34bfe83cf650db0ea1a3822188.jpg', 'extension': 'jpg'}, 1340952304: {'path': 'temp/1741236690_522272_1340952304_bc5eedd693471fe87be52c8c947d5817.jpg', 'extension': 'jpg'}, 1340952309: {'path': 'temp/1741236690_522272_1340952309_e1de5a5361c2e587afdc61333d1fc235.jpg', 'extension': 'jpg'}, 1340952312: {'path': 'temp/1741236690_522272_1340952312_85602604c6b981fde8530cdd46593c1d.jpg', 'extension': 'jpg'}, 1340952747: {'path': 'temp/1741236690_522272_1340952747_879a8e5c8e6717eb9579b8aeaa3fda91.jpg', 'extension': 'jpg'}, 1340952750: {'path': 'temp/1741236690_522272_1340952750_df53b1358e55a9ebb0d5e87e0065d4e0.jpg', 'extension': 'jpg'}, 1340952793: {'path': 'temp/1741236690_522272_1340952793_45ab3ac114c89e103a0ac3c3db3ed8ad.jpg', 'extension': 'jpg'}, 1340952796: {'path': 'temp/1741236690_522272_1340952796_75cd0fbcda40be04e7c88761d4b941de.jpg', 'extension': 'jpg'}, 1340952800: {'path': 'temp/1741236690_522272_1340952800_c78e85af897daa12fdd6a709a0e07064.jpg', 'extension': 'jpg'}, 1340953378: {'path': 'temp/1741236690_522272_1340953378_57ca86bccf85eb4718b29d4a2b3d3655.jpg', 'extension': 'jpg'}, 1340953383: {'path': 'temp/1741236690_522272_1340953383_253b3b7ff9c10a3a05256c7104bfd726.jpg', 'extension': 'jpg'}, 1340953409: {'path': 'temp/1741236690_522272_1340953409_329df50c167487733f77b1cebdd0e574.jpg', 'extension': 'jpg'}, 1340953414: {'path': 'temp/1741236690_522272_1340953414_260060982404da3c7b2dae15706b2963.jpg', 'extension': 'jpg'}, 1340953426: {'path': 'temp/1741236690_522272_1340953426_5ea5844b99768a47857bc2ffc749cbd0.jpg', 'extension': 'jpg'}, 1340953436: {'path': 'temp/1741236690_522272_1340953436_d3293d02569928e995ddd5bf167accb3.jpg', 'extension': 'jpg'}, 1340953440: {'path': 'temp/1741236690_522272_1340953440_f944acd95c0efa208bada3552e6ff0c3.jpg', 'extension': 'jpg'}, 1340953443: {'path': 'temp/1741236690_522272_1340953443_7791720c117a99e1a7987a51f284daac.jpg', 'extension': 'jpg'}, 1340953449: {'path': 'temp/1741236690_522272_1340953449_5fe3633adb3204e0de478d378baa356e.jpg', 'extension': 'jpg'}, 1340952884: {'path': 'temp/1741236690_522272_1340952884_5eb57300f1adfc2063e916fbc68d5235.jpg', 'extension': 'jpg'}, 1340952910: {'path': 'temp/1741236690_522272_1340952910_4b96b73329abf3fa36473ca35727c022.jpg', 'extension': 'jpg'}, 1340952913: {'path': 'temp/1741236690_522272_1340952913_675c112b7cbebc090d1c8d982e348619.jpg', 'extension': 'jpg'}, 1340952919: {'path': 'temp/1741236690_522272_1340952919_157c8f7865faa09eb8c10bb4c7b6baf7.jpg', 'extension': 'jpg'}, 1340953096: {'path': 'temp/1741236690_522272_1340953096_5404651a5a9df0c6a238734dc8ba821d.jpg', 'extension': 'jpg'}, 1340953343: {'path': 'temp/1741236690_522272_1340953343_ee560d6a7a2a742857f999be4a7f719a.jpg', 'extension': 'jpg'}, 1340953350: {'path': 'temp/1741236690_522272_1340953350_6904a4dd463d368e774eeaddfe7e0725.jpg', 'extension': 'jpg'}, 1340953358: {'path': 'temp/1741236690_522272_1340953358_6bd1803fdf1da8dc386bcb8da444b03a.jpg', 'extension': 'jpg'}, 1340953368: {'path': 'temp/1741236690_522272_1340953368_4059a08fe15912228610dcdaabe7aea8.jpg', 'extension': 'jpg'}, 1340951986: {'path': 'temp/1741236690_522272_1340951986_72d4a45d7c66ce775abc548e0adc3da0.jpg', 'extension': 'jpg'}, 1340951990: {'path': 'temp/1741236690_522272_1340951990_b4b6f7c52b654964472580207413795b.jpg', 'extension': 'jpg'}, 1340951994: {'path': 'temp/1741236690_522272_1340951994_a8919784cb833c0410d089ed62752f8f.jpg', 'extension': 'jpg'}, 1340952217: {'path': 'temp/1741236690_522272_1340952217_ce4815c7eb4d8cca483298fd1384bcae.jpg', 'extension': 'jpg'}, 1340952226: {'path': 'temp/1741236690_522272_1340952226_c0b74de6ba32b19b1e9086dd7c85b2ee.jpg', 'extension': 'jpg'}, 1340952229: {'path': 'temp/1741236690_522272_1340952229_c0b7e0759a5405403cf9b735d9111605.jpg', 'extension': 'jpg'}, 1340952233: {'path': 'temp/1741236690_522272_1340952233_a5149c7a4926077853b91cf40f07818d.jpg', 'extension': 'jpg'}, 1340952237: {'path': 'temp/1741236690_522272_1340952237_94942c15128bcc5d763ffe259a46da66.jpg', 'extension': 'jpg'}, 1340952298: {'path': 'temp/1741236690_522272_1340952298_f4e765d3571a3de831d9fa678c93d73a.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 = 21049193; (('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 = 21049193 group by h (('07', 40),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21049193 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 (21049193) 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 (21049193) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05032025 21049193 Nombre de photos uploadées : 40 / 23040 (0%) 05032025 21049193 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 05032025 21049193 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1340951994, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/a8919784cb833c0410d089ed62752f8f.jpg', 'username': None, 'uploaded_at': 1741154483, 'text': 'image_05032025_07_00_04_010135m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1340951990, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/b4b6f7c52b654964472580207413795b.jpg', 'username': None, 'uploaded_at': 1741154483, 'text': 'image_05032025_07_00_14_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340951986, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/72d4a45d7c66ce775abc548e0adc3da0.jpg', 'username': None, 'uploaded_at': 1741154483, 'text': 'image_05032025_07_00_24_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1340952237, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/94942c15128bcc5d763ffe259a46da66.jpg', 'username': None, 'uploaded_at': 1741154548, 'text': 'image_05032025_07_00_33_009128m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021500587463378906 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21049193, '2025-03-05' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1639483,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023788928985595703 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= 1639483 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21033425, 'dashboard_result_id': 9258566, '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_P21033425_06-03-2025_05_35_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21033427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21033428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21033429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21033430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21033431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21033432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21033433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21033434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21033435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21033436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21033437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21033438, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21033980, 'dashboard_result_id': 9258567, '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_P21033980_06-03-2025_05_36_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034055, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21034713, 'dashboard_result_id': 9258568, '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_P21034713_06-03-2025_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034726, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21035092, 'dashboard_result_id': 9258569, '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_P21035092_06-03-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21035123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21035124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21035125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21035126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21035127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21035128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21035129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21035130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21035131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21035132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21035133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21035134, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21036224, 'dashboard_result_id': 9258570, '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_P21036224_06-03-2025_05_38_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036239, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21036613, 'dashboard_result_id': 9258571, '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_P21036613_06-03-2025_05_38_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036662, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21037191, 'dashboard_result_id': 9258572, '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_P21037191_06-03-2025_05_39_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037205, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21037712, 'dashboard_result_id': 9258573, '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_P21037712_06-03-2025_05_40_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037747, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21038145, 'dashboard_result_id': 9258574, '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_P21038145_06-03-2025_05_40_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038165, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21038910, 'dashboard_result_id': 9258575, '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_P21038910_06-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038965, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21039790, 'dashboard_result_id': 9258576, '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_P21039790_06-03-2025_05_42_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21039845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21039846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21039847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21039848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21039849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21039850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21039851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21039852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21039853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21039854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21039855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21039856, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21040497, 'dashboard_result_id': 9258577, '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_P21040497_06-03-2025_05_43_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21040528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21040529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21040530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21040531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21040532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21040533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21040534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21040535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21040536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21040537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21040538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21040539, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21041140, 'dashboard_result_id': 9258578, '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_P21041140_06-03-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21041168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21041169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21041170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21041171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21041172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21041173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21041174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21041175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21041176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21041177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21041178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21041179, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21042325, 'dashboard_result_id': 9258579, '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_P21042325_06-03-2025_05_44_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042338, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21042685, 'dashboard_result_id': 9258580, '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_P21042685_06-03-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042749, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21043129, 'dashboard_result_id': 9258581, '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_P21043129_06-03-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21043133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21043134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21043135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21043136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21043137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21043138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21043139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21043140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21043141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21043142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21043143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21043144, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21044125, 'dashboard_result_id': 9258582, '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_P21044125_06-03-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044140, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21044494, 'dashboard_result_id': 9258583, '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_P21044494_06-03-2025_05_46_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044563, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044571, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21045283, 'dashboard_result_id': 9258584, '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_P21045283_06-03-2025_05_47_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045298, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21045913, 'dashboard_result_id': 9258585, '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_P21045913_06-03-2025_05_48_08.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045952, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21046524, 'dashboard_result_id': 9258586, '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_P21046524_06-03-2025_05_48_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21046569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21046570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21046571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21046572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21046573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21046574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21046575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21046576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21046577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21046578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21046579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21046580, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21047038, 'dashboard_result_id': 9258587, '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_P21047038_06-03-2025_05_49_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047127, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21047744, 'dashboard_result_id': 9258588, '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_P21047744_06-03-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047846, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21048689, 'dashboard_result_id': 9258589, '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_P21048689_06-03-2025_05_50_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21048693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21048694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21048695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21048696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21048697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21048698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21048699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21048700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21048701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21048702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21048703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21048704, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21049193, 'dashboard_result_id': 9258590, '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_P21049193_05-03-2025_07_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21049198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049209, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21049512, 'dashboard_result_id': 9258591, '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_P21049512_05-03-2025_07_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21049546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049554, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21050173, 'dashboard_result_id': 9258592, '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_P21050173_05-03-2025_07_55_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21050203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21050204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21050205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21050206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21050207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21050208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21050209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21050210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21050211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21050212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21050213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21050214, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21051281, 'dashboard_result_id': 9258593, '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_P21051281_05-03-2025_08_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21051284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051295, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21051425, 'dashboard_result_id': 9258594, '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_P21051425_05-03-2025_08_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21051451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051457, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21052316, 'dashboard_result_id': 9258595, '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_P21052316_05-03-2025_08_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21052360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21052361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21052362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21052363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21052364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21052365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21052366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21052367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21052368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21052369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21052370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21052371, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21054980, 'dashboard_result_id': 9258596, '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_P21054980_05-03-2025_09_50_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21054985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21054986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21054987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21054988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21054989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21054990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21054991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21054992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21054993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21054994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21054995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21054996, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21055376, 'dashboard_result_id': 9258597, '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_P21055376_05-03-2025_10_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21055393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21055394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21055395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21055396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21055397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21055398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21055399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21055400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21055401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21055402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21055403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21055404, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21055994, 'dashboard_result_id': 9258598, '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_P21055994_05-03-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056067, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21056557, 'dashboard_result_id': 9258599, '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_P21056557_05-03-2025_10_33_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056610, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21057093, 'dashboard_result_id': 9258600, '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_P21057093_05-03-2025_10_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21057145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057146, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057151, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21057791, 'dashboard_result_id': 9258601, '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_P21057791_05-03-2025_11_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21057843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057854, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21058601, 'dashboard_result_id': 9258602, '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_P21058601_05-03-2025_11_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21058609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21058610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21058611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21058612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21058613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21058614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21058615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21058616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21058617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21058618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21058619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21058620, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21059569, 'dashboard_result_id': 9258603, '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_P21059569_05-03-2025_11_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21059622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21059623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21059624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21059625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21059626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21059627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21059628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21059629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21059630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21059631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21059632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21059633, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21060521, 'dashboard_result_id': 9258604, '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_P21060521_05-03-2025_11_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21060575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21060576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21060577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21060578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21060579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21060580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21060581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21060582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21060583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21060584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21060585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21060586, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21061213, 'dashboard_result_id': 9258605, '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_P21061213_05-03-2025_12_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21061248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061251, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21061831, 'dashboard_result_id': 9258606, '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_P21061831_05-03-2025_12_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21061836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061847, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21062550, 'dashboard_result_id': 9258607, '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_P21062550_05-03-2025_12_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21062581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21062582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21062583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21062584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21062585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21062586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21062587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21062588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21062589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21062590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21062591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21062592, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21063507, 'dashboard_result_id': 9258608, '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_P21063507_05-03-2025_13_16_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21063537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21063538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21063539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21063540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21063541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21063542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21063543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21063544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21063545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21063546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21063547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21063548, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21064890, 'dashboard_result_id': 9258609, '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_P21064890_05-03-2025_13_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21064893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21064894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21064895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21064896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21064897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21064898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21064899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21064900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21064901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21064902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21064903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21064904, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21065329, 'dashboard_result_id': 9258610, '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_P21065329_05-03-2025_13_48_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21065335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065344, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21065887, 'dashboard_result_id': 9258611, '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_P21065887_05-03-2025_14_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21065890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065901, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21066213, 'dashboard_result_id': 9258612, '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_P21066213_05-03-2025_14_18_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066232, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21066761, 'dashboard_result_id': 9258613, '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_P21066761_05-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066781, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21067346, 'dashboard_result_id': 9258614, '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_P21067346_05-03-2025_14_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21067425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21067426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21067427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21067428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21067429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21067430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21067431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21067432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21067433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21067434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21067435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21067436, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21068092, 'dashboard_result_id': 9258615, '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_P21068092_05-03-2025_15_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21068221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068232, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21068851, 'dashboard_result_id': 9258616, '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_P21068851_05-03-2025_15_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21068856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068866, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21069448, 'dashboard_result_id': 9258617, '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_P21069448_05-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21069474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21069475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21069476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21069477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21069478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21069479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21069480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21069481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21069482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21069483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21069484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21069485, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21070024, 'dashboard_result_id': 9258618, '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_P21070024_05-03-2025_15_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070040, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21070737, 'dashboard_result_id': 9258619, '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_P21070737_05-03-2025_16_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070750, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21071260, 'dashboard_result_id': 9258620, '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_P21071260_05-03-2025_16_19_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21071329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21071330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21071331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21071332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21071333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21071334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21071335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21071336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21071337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21071338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21071339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21071340, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21072038, 'dashboard_result_id': 9258621, '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_P21072038_05-03-2025_16_33_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21072052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072063, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21072747, 'dashboard_result_id': 9258622, '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_P21072747_05-03-2025_16_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21072777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072787, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21073320, 'dashboard_result_id': 9258623, '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_P21073320_06-03-2025_02_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21073352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21073354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21073355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21073356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21073357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21073358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21073359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21073360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21073361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21073362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21073363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21073364, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21075474, 'dashboard_result_id': 9258624, '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_P21075474_05-03-2025_18_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075489, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21075610, 'dashboard_result_id': 9258625, '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_P21075610_05-03-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075629, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21076180, 'dashboard_result_id': 9258626, '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_P21076180_05-03-2025_18_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21076203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21076204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21076205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21076206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21076207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21076208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21076209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21076216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21076221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21076227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21076231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21076232, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21077165, 'dashboard_result_id': 9258627, '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_P21077165_05-03-2025_19_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21077196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21077197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21077198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21077199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21077200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21077201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21077202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21077203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21077204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21077205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21077206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21077207, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21077992, 'dashboard_result_id': 9258628, '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_P21077992_05-03-2025_19_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078030, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21078591, 'dashboard_result_id': 9258629, '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_P21078591_05-03-2025_19_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078705, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21079365, 'dashboard_result_id': 9258630, '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_P21079365_05-03-2025_19_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21079394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21079395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21079396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21079397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21079398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21079399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21079400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21079401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21079402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21079403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21079404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21079405, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21080175, 'dashboard_result_id': 9258631, '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_P21080175_05-03-2025_20_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21080229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21080231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080240, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21080934, 'dashboard_result_id': 9258632, '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_P21080934_05-03-2025_20_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21080965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21080968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080976, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21081691, 'dashboard_result_id': 9258633, '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_P21081691_05-03-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21081721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21081722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21081723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21081724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21081725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21081726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21081727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21081729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21081730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21081731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21081732, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21082457, 'dashboard_result_id': 9258634, '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_P21082457_05-03-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21082486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21082487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21082488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21082489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21082490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21082491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21082492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21082493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21082494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21082495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21082496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21082497, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21084766, 'dashboard_result_id': 9258635, '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_P21084766_05-03-2025_22_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21084769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21084770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21084771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21084772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21084773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21084774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21084775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21084776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21084777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21084778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21084779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21084780, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21085217, 'dashboard_result_id': 9258636, '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_P21085217_05-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21085224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085230, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21085748, 'dashboard_result_id': 9258637, '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_P21085748_05-03-2025_22_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21085767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085778, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21086544, 'dashboard_result_id': 9258638, '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_P21086544_05-03-2025_23_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21086547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21086548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21086549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21086550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21086551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21086552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21086553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21086554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21086555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21086556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21086557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21086558, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21087063, 'dashboard_result_id': 9258639, '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_P21087063_05-03-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21087075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087080, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21087662, 'dashboard_result_id': 9258640, '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_P21087662_05-03-2025_23_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21087664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087675, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21088194, 'dashboard_result_id': 9258641, '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_P21088194_05-03-2025_23_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21088252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088263, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21088687, 'dashboard_result_id': 9258642, '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_P21088687_06-03-2025_02_58_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21088726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088728, '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 = 21033425 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641363, 'mtr_portfolio_id': 21033425, 'created_at': datetime.datetime(2025, 3, 6, 5, 35, 33), 'result': '0.0833070034167207', 'result_long': None, 'result_double': None}] Qualite : 0.0833070034167207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21033425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033425_06-03-2025_05_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21033425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033425_06-03-2025_05_35_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21033427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21033428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21033429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21033430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21033431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21033432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21033433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21033434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21033435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21033436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21033437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21033438, 'pht': 3726}}" where mtr_portfolio_id = 21033425 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21033425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258566, 0.0833070034167207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033425_06-03-2025_05_35_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21033427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21033428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21033429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21033430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21033431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21033432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21033433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21033434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21033435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21033436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21033437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21033438, '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 = 21033980 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641364, 'mtr_portfolio_id': 21033980, 'created_at': datetime.datetime(2025, 3, 6, 5, 36, 5), 'result': '0.07113474687759852', 'result_long': None, 'result_double': None}] Qualite : 0.07113474687759852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21033980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033980_06-03-2025_05_36_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21033980 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033980_06-03-2025_05_36_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034055, 'pht': 3726}}" where mtr_portfolio_id = 21033980 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21033980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258567, 0.07113474687759852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033980_06-03-2025_05_36_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034055, '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 = 21034713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641365, 'mtr_portfolio_id': 21034713, 'created_at': datetime.datetime(2025, 3, 6, 5, 36, 33), 'result': '0.07128767038029826', 'result_long': None, 'result_double': None}] Qualite : 0.07128767038029826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21034713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21034713_06-03-2025_05_36_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21034713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21034713_06-03-2025_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034726, 'pht': 3726}}" where mtr_portfolio_id = 21034713 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21034713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258568, 0.07128767038029826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21034713_06-03-2025_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034726, '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 = 21035092 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641366, 'mtr_portfolio_id': 21035092, 'created_at': datetime.datetime(2025, 3, 6, 5, 37, 33), 'result': '0.0697531505473047', 'result_long': None, 'result_double': None}] Qualite : 0.0697531505473047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21035092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21035092_06-03-2025_05_37_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21035092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21035092_06-03-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21035123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21035124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21035125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21035126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21035127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21035128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21035129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21035130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21035131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21035132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21035133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21035134, 'pht': 3726}}" where mtr_portfolio_id = 21035092 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21035092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258569, 0.0697531505473047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21035092_06-03-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21035123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21035124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21035125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21035126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21035127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21035128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21035129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21035130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21035131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21035132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21035133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21035134, '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 = 21036224 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641367, 'mtr_portfolio_id': 21036224, 'created_at': datetime.datetime(2025, 3, 6, 5, 38), 'result': '0.051064956915849426', 'result_long': None, 'result_double': None}] Qualite : 0.051064956915849426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21036224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036224_06-03-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21036224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036224_06-03-2025_05_38_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036239, 'pht': 3726}}" where mtr_portfolio_id = 21036224 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21036224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258570, 0.051064956915849426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036224_06-03-2025_05_38_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036239, '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 = 21036613 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641368, 'mtr_portfolio_id': 21036613, 'created_at': datetime.datetime(2025, 3, 6, 5, 38, 33), 'result': '0.0891778822664346', 'result_long': None, 'result_double': None}] Qualite : 0.0891778822664346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21036613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036613_06-03-2025_05_38_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21036613 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036613_06-03-2025_05_38_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036662, 'pht': 3726}}" where mtr_portfolio_id = 21036613 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21036613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258571, 0.0891778822664346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036613_06-03-2025_05_38_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036662, '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 = 21037191 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641369, 'mtr_portfolio_id': 21037191, 'created_at': datetime.datetime(2025, 3, 6, 5, 39, 33), 'result': '0.07142905120427938', 'result_long': None, 'result_double': None}] Qualite : 0.07142905120427938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21037191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037191_06-03-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21037191 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037191_06-03-2025_05_39_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037205, 'pht': 3726}}" where mtr_portfolio_id = 21037191 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21037191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258572, 0.07142905120427938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037191_06-03-2025_05_39_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037205, '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 = 21037712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641370, 'mtr_portfolio_id': 21037712, 'created_at': datetime.datetime(2025, 3, 6, 5, 40), 'result': '0.08664324663095904', 'result_long': None, 'result_double': None}] Qualite : 0.08664324663095904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21037712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037712_06-03-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21037712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037712_06-03-2025_05_40_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037747, 'pht': 3726}}" where mtr_portfolio_id = 21037712 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21037712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258573, 0.08664324663095904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037712_06-03-2025_05_40_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037747, '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 = 21038145 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641371, 'mtr_portfolio_id': 21038145, 'created_at': datetime.datetime(2025, 3, 6, 5, 40, 35), 'result': '0.07623731304963935', 'result_long': None, 'result_double': None}] Qualite : 0.07623731304963935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21038145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038145_06-03-2025_05_40_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21038145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038145_06-03-2025_05_40_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038165, 'pht': 3726}}" where mtr_portfolio_id = 21038145 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21038145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258574, 0.07623731304963935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038145_06-03-2025_05_40_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038165, '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 = 21038910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641372, 'mtr_portfolio_id': 21038910, 'created_at': datetime.datetime(2025, 3, 6, 5, 41, 29), 'result': '0.08024240514750497', 'result_long': None, 'result_double': None}] Qualite : 0.08024240514750497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21038910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038910_06-03-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21038910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038910_06-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038965, 'pht': 3726}}" where mtr_portfolio_id = 21038910 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21038910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258575, 0.08024240514750497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038910_06-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038965, '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 = 21039790 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641373, 'mtr_portfolio_id': 21039790, 'created_at': datetime.datetime(2025, 3, 6, 5, 41, 59), 'result': '0.07165907225667884', 'result_long': None, 'result_double': None}] Qualite : 0.07165907225667884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21039790 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21039790_06-03-2025_05_42_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21039790 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21039790_06-03-2025_05_42_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21039845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21039846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21039847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21039848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21039849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21039850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21039851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21039852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21039853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21039854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21039855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21039856, 'pht': 3726}}" where mtr_portfolio_id = 21039790 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21039790 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258576, 0.07165907225667884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21039790_06-03-2025_05_42_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21039845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21039846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21039847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21039848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21039849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21039850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21039851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21039852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21039853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21039854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21039855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21039856, '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 = 21040497 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641374, 'mtr_portfolio_id': 21040497, 'created_at': datetime.datetime(2025, 3, 6, 5, 43, 2), 'result': '0.08260817227849163', 'result_long': None, 'result_double': None}] Qualite : 0.08260817227849163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21040497 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21040497_06-03-2025_05_43_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21040497 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21040497_06-03-2025_05_43_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21040528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21040529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21040530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21040531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21040532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21040533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21040534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21040535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21040536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21040537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21040538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21040539, 'pht': 3726}}" where mtr_portfolio_id = 21040497 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21040497 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258577, 0.08260817227849163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21040497_06-03-2025_05_43_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21040528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21040529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21040530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21040531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21040532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21040533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21040534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21040535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21040536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21040537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21040538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21040539, '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 = 21041140 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641375, 'mtr_portfolio_id': 21041140, 'created_at': datetime.datetime(2025, 3, 6, 5, 43, 30), 'result': '0.08686238245607404', 'result_long': None, 'result_double': None}] Qualite : 0.08686238245607404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21041140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21041140_06-03-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21041140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21041140_06-03-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21041168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21041169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21041170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21041171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21041172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21041173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21041174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21041175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21041176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21041177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21041178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21041179, 'pht': 3726}}" where mtr_portfolio_id = 21041140 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21041140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258578, 0.08686238245607404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21041140_06-03-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21041168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21041169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21041170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21041171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21041172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21041173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21041174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21041175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21041176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21041177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21041178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21041179, '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 = 21042325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641376, 'mtr_portfolio_id': 21042325, 'created_at': datetime.datetime(2025, 3, 6, 5, 44, 2), 'result': '0.07328652100597133', 'result_long': None, 'result_double': None}] Qualite : 0.07328652100597133 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21042325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042325_06-03-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21042325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042325_06-03-2025_05_44_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042338, 'pht': 3726}}" where mtr_portfolio_id = 21042325 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21042325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258579, 0.07328652100597133, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042325_06-03-2025_05_44_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042338, '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 = 21042685 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641377, 'mtr_portfolio_id': 21042685, 'created_at': datetime.datetime(2025, 3, 6, 5, 44, 30), 'result': '0.07331245684304463', 'result_long': None, 'result_double': None}] Qualite : 0.07331245684304463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21042685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042685_06-03-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21042685 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042685_06-03-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042749, 'pht': 3726}}" where mtr_portfolio_id = 21042685 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21042685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258580, 0.07331245684304463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042685_06-03-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042749, '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 = 21043129 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641378, 'mtr_portfolio_id': 21043129, 'created_at': datetime.datetime(2025, 3, 6, 5, 45, 31), 'result': '0.08375771864516758', 'result_long': None, 'result_double': None}] Qualite : 0.08375771864516758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21043129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21043129_06-03-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21043129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21043129_06-03-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21043133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21043134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21043135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21043136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21043137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21043138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21043139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21043140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21043141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21043142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21043143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21043144, 'pht': 3726}}" where mtr_portfolio_id = 21043129 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21043129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258581, 0.08375771864516758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21043129_06-03-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21043133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21043134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21043135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21043136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21043137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21043138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21043139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21043140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21043141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21043142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21043143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21043144, '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 = 21044125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641379, 'mtr_portfolio_id': 21044125, 'created_at': datetime.datetime(2025, 3, 6, 5, 46, 1), 'result': '0.07867413408626288', 'result_long': None, 'result_double': None}] Qualite : 0.07867413408626288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21044125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044125_06-03-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21044125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044125_06-03-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044140, 'pht': 3726}}" where mtr_portfolio_id = 21044125 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21044125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258582, 0.07867413408626288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044125_06-03-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044140, '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 = 21044494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641380, 'mtr_portfolio_id': 21044494, 'created_at': datetime.datetime(2025, 3, 6, 5, 46, 34), 'result': '0.06874529522993901', 'result_long': None, 'result_double': None}] Qualite : 0.06874529522993901 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21044494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044494_06-03-2025_05_46_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21044494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044494_06-03-2025_05_46_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044563, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044571, 'pht': 3726}}" where mtr_portfolio_id = 21044494 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21044494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258583, 0.06874529522993901, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044494_06-03-2025_05_46_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044563, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044571, '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 = 21045283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641381, 'mtr_portfolio_id': 21045283, 'created_at': datetime.datetime(2025, 3, 6, 5, 47, 33), 'result': '0.06931256846156175', 'result_long': None, 'result_double': None}] Qualite : 0.06931256846156175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21045283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045283_06-03-2025_05_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21045283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045283_06-03-2025_05_47_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045298, 'pht': 3726}}" where mtr_portfolio_id = 21045283 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21045283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258584, 0.06931256846156175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045283_06-03-2025_05_47_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045298, '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 = 21045913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641382, 'mtr_portfolio_id': 21045913, 'created_at': datetime.datetime(2025, 3, 6, 5, 48, 1), 'result': '0.06208280836367942', 'result_long': None, 'result_double': None}] Qualite : 0.06208280836367942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21045913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045913_06-03-2025_05_48_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21045913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045913_06-03-2025_05_48_08.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045952, 'pht': 3726}}" where mtr_portfolio_id = 21045913 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21045913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258585, 0.06208280836367942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045913_06-03-2025_05_48_08.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045952, '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 = 21046524 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641383, 'mtr_portfolio_id': 21046524, 'created_at': datetime.datetime(2025, 3, 6, 5, 48, 30), 'result': '0.07507858789528875', 'result_long': None, 'result_double': None}] Qualite : 0.07507858789528875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21046524 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21046524_06-03-2025_05_48_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21046524 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21046524_06-03-2025_05_48_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21046569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21046570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21046571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21046572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21046573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21046574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21046575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21046576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21046577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21046578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21046579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21046580, 'pht': 3726}}" where mtr_portfolio_id = 21046524 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21046524 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258586, 0.07507858789528875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21046524_06-03-2025_05_48_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21046569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21046570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21046571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21046572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21046573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21046574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21046575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21046576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21046577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21046578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21046579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21046580, '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 = 21047038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641384, 'mtr_portfolio_id': 21047038, 'created_at': datetime.datetime(2025, 3, 6, 5, 49, 34), 'result': '0.07455404284396845', 'result_long': None, 'result_double': None}] Qualite : 0.07455404284396845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21047038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047038_06-03-2025_05_49_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21047038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047038_06-03-2025_05_49_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047127, 'pht': 3726}}" where mtr_portfolio_id = 21047038 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21047038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258587, 0.07455404284396845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047038_06-03-2025_05_49_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047127, '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 = 21047744 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641385, 'mtr_portfolio_id': 21047744, 'created_at': datetime.datetime(2025, 3, 6, 5, 49, 59), 'result': '0.06923362186650253', 'result_long': None, 'result_double': None}] Qualite : 0.06923362186650253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21047744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047744_06-03-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21047744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047744_06-03-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047846, 'pht': 3726}}" where mtr_portfolio_id = 21047744 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21047744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258588, 0.06923362186650253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047744_06-03-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047846, '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 = 21048689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641386, 'mtr_portfolio_id': 21048689, 'created_at': datetime.datetime(2025, 3, 6, 5, 50, 37), 'result': '0.07105673775979944', 'result_long': None, 'result_double': None}] Qualite : 0.07105673775979944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21048689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21048689_06-03-2025_05_50_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21048689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21048689_06-03-2025_05_50_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21048693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21048694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21048695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21048696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21048697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21048698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21048699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21048700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21048701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21048702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21048703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21048704, 'pht': 3726}}" where mtr_portfolio_id = 21048689 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21048689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258589, 0.07105673775979944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21048689_06-03-2025_05_50_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21048693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21048694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21048695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21048696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21048697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21048698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21048699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21048700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21048701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21048702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21048703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21048704, '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 = 21049193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641387, 'mtr_portfolio_id': 21049193, 'created_at': datetime.datetime(2025, 3, 6, 5, 51, 30), 'result': '0.0686644854160504', 'result_long': None, 'result_double': None}] Qualite : 0.0686644854160504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21049193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21049193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21049198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049209, 'pht': 3726}}" where mtr_portfolio_id = 21049193 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21049193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258590, 0.0686644854160504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21049198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049209, '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 = 21049512 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636095, 'mtr_portfolio_id': 21049512, 'created_at': datetime.datetime(2025, 3, 5, 7, 32, 59), 'result': '0.06490112654351682', 'result_long': None, 'result_double': None}] Qualite : 0.06490112654351682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21049512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049512_05-03-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21049512 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049512_05-03-2025_07_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21049546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049554, 'pht': 3726}}" where mtr_portfolio_id = 21049512 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21049512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258591, 0.06490112654351682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049512_05-03-2025_07_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21049546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049554, '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 = 21050173 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636157, 'mtr_portfolio_id': 21050173, 'created_at': datetime.datetime(2025, 3, 5, 7, 55), 'result': '0.09142334861753716', 'result_long': None, 'result_double': None}] Qualite : 0.09142334861753716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21050173 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21050173_05-03-2025_07_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21050173 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21050173_05-03-2025_07_55_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21050203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21050204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21050205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21050206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21050207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21050208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21050209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21050210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21050211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21050212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21050213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21050214, 'pht': 3726}}" where mtr_portfolio_id = 21050173 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21050173 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258592, 0.09142334861753716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21050173_05-03-2025_07_55_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21050203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21050204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21050205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21050206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21050207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21050208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21050209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21050210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21050211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21050212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21050213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21050214, '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 = 21051281 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636242, 'mtr_portfolio_id': 21051281, 'created_at': datetime.datetime(2025, 3, 5, 8, 3), 'result': '0.06907963664012805', 'result_long': None, 'result_double': None}] Qualite : 0.06907963664012805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21051281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051281_05-03-2025_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21051281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051281_05-03-2025_08_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21051284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051295, 'pht': 3726}}" where mtr_portfolio_id = 21051281 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21051281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258593, 0.06907963664012805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051281_05-03-2025_08_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21051284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051295, '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 = 21051425 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636269, 'mtr_portfolio_id': 21051425, 'created_at': datetime.datetime(2025, 3, 5, 8, 18, 59), 'result': '0.0765041484787959', 'result_long': None, 'result_double': None}] Qualite : 0.0765041484787959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21051425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051425_05-03-2025_08_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21051425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051425_05-03-2025_08_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21051451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051457, 'pht': 3726}}" where mtr_portfolio_id = 21051425 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21051425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258594, 0.0765041484787959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051425_05-03-2025_08_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21051451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051457, '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 = 21052316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636356, 'mtr_portfolio_id': 21052316, 'created_at': datetime.datetime(2025, 3, 5, 8, 32, 59), 'result': '0.07999229138972311', 'result_long': None, 'result_double': None}] Qualite : 0.07999229138972311 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21052316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21052316_05-03-2025_08_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21052316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21052316_05-03-2025_08_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21052360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21052361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21052362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21052363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21052364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21052365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21052366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21052367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21052368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21052369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21052370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21052371, 'pht': 3726}}" where mtr_portfolio_id = 21052316 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21052316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258595, 0.07999229138972311, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21052316_05-03-2025_08_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21052360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21052361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21052362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21052363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21052364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21052365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21052366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21052367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21052368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21052369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21052370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21052371, '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 = 21054980 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636793, 'mtr_portfolio_id': 21054980, 'created_at': datetime.datetime(2025, 3, 5, 9, 50, 30), 'result': '0.06195171276948895', 'result_long': None, 'result_double': None}] Qualite : 0.06195171276948895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21054980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_05-03-2025_09_50_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21054980 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_05-03-2025_09_50_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21054985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21054986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21054987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21054988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21054989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21054990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21054991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21054992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21054993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21054994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21054995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21054996, 'pht': 3726}}" where mtr_portfolio_id = 21054980 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21054980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258596, 0.06195171276948895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_05-03-2025_09_50_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21054985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21054986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21054987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21054988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21054989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21054990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21054991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21054992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21054993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21054994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21054995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21054996, '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 = 21055376 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636889, 'mtr_portfolio_id': 21055376, 'created_at': datetime.datetime(2025, 3, 5, 10, 2, 30), 'result': '0.07375733454228972', 'result_long': None, 'result_double': None}] Qualite : 0.07375733454228972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21055376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055376_05-03-2025_10_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21055376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055376_05-03-2025_10_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21055393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21055394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21055395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21055396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21055397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21055398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21055399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21055400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21055401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21055402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21055403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21055404, 'pht': 3726}}" where mtr_portfolio_id = 21055376 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21055376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258597, 0.07375733454228972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055376_05-03-2025_10_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21055393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21055394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21055395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21055396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21055397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21055398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21055399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21055400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21055401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21055402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21055403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21055404, '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 = 21055994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636999, 'mtr_portfolio_id': 21055994, 'created_at': datetime.datetime(2025, 3, 5, 10, 18, 58), 'result': '0.08450834096634112', 'result_long': None, 'result_double': None}] Qualite : 0.08450834096634112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21055994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055994_05-03-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21055994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055994_05-03-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056067, 'pht': 3726}}" where mtr_portfolio_id = 21055994 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21055994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258598, 0.08450834096634112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055994_05-03-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056067, '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 = 21056557 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637050, 'mtr_portfolio_id': 21056557, 'created_at': datetime.datetime(2025, 3, 5, 10, 33, 1), 'result': '0.0727461843324288', 'result_long': None, 'result_double': None}] Qualite : 0.0727461843324288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21056557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21056557_05-03-2025_10_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21056557 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21056557_05-03-2025_10_33_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056610, 'pht': 3726}}" where mtr_portfolio_id = 21056557 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21056557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258599, 0.0727461843324288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21056557_05-03-2025_10_33_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056610, '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 = 21057093 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637172, 'mtr_portfolio_id': 21057093, 'created_at': datetime.datetime(2025, 3, 5, 10, 48, 59), 'result': '0.07712479343907049', 'result_long': None, 'result_double': None}] Qualite : 0.07712479343907049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21057093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057093_05-03-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21057093 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057093_05-03-2025_10_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21057145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057146, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057151, 'pht': 3726}}" where mtr_portfolio_id = 21057093 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21057093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258600, 0.07712479343907049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057093_05-03-2025_10_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21057145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057146, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057151, '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 = 21057791 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637252, 'mtr_portfolio_id': 21057791, 'created_at': datetime.datetime(2025, 3, 5, 11, 3), 'result': '0.08542071964861277', 'result_long': None, 'result_double': None}] Qualite : 0.08542071964861277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21057791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057791_05-03-2025_11_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21057791 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057791_05-03-2025_11_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21057843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057854, 'pht': 3726}}" where mtr_portfolio_id = 21057791 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21057791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258601, 0.08542071964861277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057791_05-03-2025_11_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21057843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057854, '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 = 21058601 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637404, 'mtr_portfolio_id': 21058601, 'created_at': datetime.datetime(2025, 3, 5, 11, 19, 1), 'result': '0.05290679038097258', 'result_long': None, 'result_double': None}] Qualite : 0.05290679038097258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21058601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21058601_05-03-2025_11_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21058601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21058601_05-03-2025_11_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21058609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21058610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21058611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21058612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21058613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21058614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21058615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21058616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21058617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21058618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21058619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21058620, 'pht': 3726}}" where mtr_portfolio_id = 21058601 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21058601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258602, 0.05290679038097258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21058601_05-03-2025_11_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21058609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21058610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21058611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21058612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21058613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21058614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21058615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21058616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21058617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21058618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21058619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21058620, '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 = 21059569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637579, 'mtr_portfolio_id': 21059569, 'created_at': datetime.datetime(2025, 3, 5, 11, 32, 58), 'result': '0.04724854187996125', 'result_long': None, 'result_double': None}] Qualite : 0.04724854187996125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21059569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21059569_05-03-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21059569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21059569_05-03-2025_11_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21059622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21059623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21059624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21059625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21059626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21059627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21059628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21059629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21059630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21059631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21059632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21059633, 'pht': 3726}}" where mtr_portfolio_id = 21059569 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21059569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258603, 0.04724854187996125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21059569_05-03-2025_11_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21059622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21059623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21059624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21059625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21059626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21059627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21059628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21059629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21059630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21059631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21059632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21059633, '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 = 21060521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637680, 'mtr_portfolio_id': 21060521, 'created_at': datetime.datetime(2025, 3, 5, 11, 48, 59), 'result': '0.05053392764174682', 'result_long': None, 'result_double': None}] Qualite : 0.05053392764174682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21060521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21060521_05-03-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21060521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21060521_05-03-2025_11_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21060575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21060576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21060577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21060578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21060579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21060580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21060581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21060582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21060583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21060584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21060585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21060586, 'pht': 3726}}" where mtr_portfolio_id = 21060521 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21060521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258604, 0.05053392764174682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21060521_05-03-2025_11_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21060575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21060576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21060577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21060578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21060579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21060580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21060581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21060582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21060583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21060584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21060585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21060586, '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 = 21061213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637716, 'mtr_portfolio_id': 21061213, 'created_at': datetime.datetime(2025, 3, 5, 12, 2, 57), 'result': '0.08783787561918349', 'result_long': None, 'result_double': None}] Qualite : 0.08783787561918349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21061213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061213_05-03-2025_12_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21061213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061213_05-03-2025_12_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21061248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061251, 'pht': 3726}}" where mtr_portfolio_id = 21061213 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21061213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258605, 0.08783787561918349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061213_05-03-2025_12_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21061248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061251, '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 = 21061831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637772, 'mtr_portfolio_id': 21061831, 'created_at': datetime.datetime(2025, 3, 5, 12, 18, 57), 'result': '0.07364511141372794', 'result_long': None, 'result_double': None}] Qualite : 0.07364511141372794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21061831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061831_05-03-2025_12_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21061831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061831_05-03-2025_12_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21061836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061847, 'pht': 3726}}" where mtr_portfolio_id = 21061831 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21061831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258606, 0.07364511141372794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061831_05-03-2025_12_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21061836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061847, '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 = 21062550 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637814, 'mtr_portfolio_id': 21062550, 'created_at': datetime.datetime(2025, 3, 5, 12, 32, 58), 'result': '0.05919630101359719', 'result_long': None, 'result_double': None}] Qualite : 0.05919630101359719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21062550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21062550_05-03-2025_12_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21062550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21062550_05-03-2025_12_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21062581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21062582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21062583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21062584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21062585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21062586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21062587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21062588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21062589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21062590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21062591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21062592, 'pht': 3726}}" where mtr_portfolio_id = 21062550 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21062550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258607, 0.05919630101359719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21062550_05-03-2025_12_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21062581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21062582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21062583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21062584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21062585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21062586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21062587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21062588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21062589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21062590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21062591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21062592, '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 = 21063507 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637880, 'mtr_portfolio_id': 21063507, 'created_at': datetime.datetime(2025, 3, 5, 13, 16, 28), 'result': '0.06796759196768411', 'result_long': None, 'result_double': None}] Qualite : 0.06796759196768411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21063507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21063507_05-03-2025_13_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21063507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21063507_05-03-2025_13_16_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21063537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21063538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21063539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21063540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21063541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21063542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21063543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21063544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21063545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21063546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21063547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21063548, 'pht': 3726}}" where mtr_portfolio_id = 21063507 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21063507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258608, 0.06796759196768411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21063507_05-03-2025_13_16_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21063537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21063538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21063539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21063540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21063541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21063542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21063543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21063544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21063545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21063546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21063547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21063548, '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 = 21064890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637995, 'mtr_portfolio_id': 21064890, 'created_at': datetime.datetime(2025, 3, 5, 13, 32, 56), 'result': '0.049103829146247904', 'result_long': None, 'result_double': None}] Qualite : 0.049103829146247904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21064890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21064890_05-03-2025_13_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21064890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21064890_05-03-2025_13_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21064893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21064894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21064895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21064896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21064897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21064898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21064899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21064900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21064901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21064902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21064903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21064904, 'pht': 3726}}" where mtr_portfolio_id = 21064890 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21064890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258609, 0.049103829146247904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21064890_05-03-2025_13_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21064893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21064894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21064895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21064896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21064897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21064898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21064899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21064900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21064901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21064902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21064903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21064904, '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 = 21065329 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638032, 'mtr_portfolio_id': 21065329, 'created_at': datetime.datetime(2025, 3, 5, 13, 48, 30), 'result': '0.06725393155301966', 'result_long': None, 'result_double': None}] Qualite : 0.06725393155301966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21065329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065329_05-03-2025_13_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21065329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065329_05-03-2025_13_48_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21065335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065344, 'pht': 3726}}" where mtr_portfolio_id = 21065329 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21065329 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258610, 0.06725393155301966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065329_05-03-2025_13_48_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21065335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065344, '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 = 21065887 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638069, 'mtr_portfolio_id': 21065887, 'created_at': datetime.datetime(2025, 3, 5, 14, 3), 'result': '0.06386013261676221', 'result_long': None, 'result_double': None}] Qualite : 0.06386013261676221 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21065887 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065887_05-03-2025_14_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21065887 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065887_05-03-2025_14_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21065890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065901, 'pht': 3726}}" where mtr_portfolio_id = 21065887 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21065887 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258611, 0.06386013261676221, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065887_05-03-2025_14_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21065890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065901, '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 = 21066213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638114, 'mtr_portfolio_id': 21066213, 'created_at': datetime.datetime(2025, 3, 5, 14, 18, 57), 'result': '0.06937312702325606', 'result_long': None, 'result_double': None}] Qualite : 0.06937312702325606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21066213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066213_05-03-2025_14_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21066213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066213_05-03-2025_14_18_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066232, 'pht': 3726}}" where mtr_portfolio_id = 21066213 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21066213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258612, 0.06937312702325606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066213_05-03-2025_14_18_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066232, '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 = 21066761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638242, 'mtr_portfolio_id': 21066761, 'created_at': datetime.datetime(2025, 3, 5, 14, 32, 59), 'result': '0.06308089093426422', 'result_long': None, 'result_double': None}] Qualite : 0.06308089093426422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21066761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066761_05-03-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21066761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066761_05-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066781, 'pht': 3726}}" where mtr_portfolio_id = 21066761 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21066761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258613, 0.06308089093426422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066761_05-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066781, '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 = 21067346 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638360, 'mtr_portfolio_id': 21067346, 'created_at': datetime.datetime(2025, 3, 5, 14, 48, 58), 'result': '0.06638973398858525', 'result_long': None, 'result_double': None}] Qualite : 0.06638973398858525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21067346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21067346_05-03-2025_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21067346 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21067346_05-03-2025_14_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21067425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21067426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21067427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21067428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21067429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21067430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21067431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21067432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21067433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21067434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21067435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21067436, 'pht': 3726}}" where mtr_portfolio_id = 21067346 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21067346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258614, 0.06638973398858525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21067346_05-03-2025_14_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21067425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21067426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21067427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21067428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21067429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21067430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21067431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21067432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21067433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21067434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21067435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21067436, '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 = 21068092 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638454, 'mtr_portfolio_id': 21068092, 'created_at': datetime.datetime(2025, 3, 5, 15, 4, 32), 'result': '0.06531586035560082', 'result_long': None, 'result_double': None}] Qualite : 0.06531586035560082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21068092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068092_05-03-2025_15_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21068092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068092_05-03-2025_15_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21068221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068232, 'pht': 3726}}" where mtr_portfolio_id = 21068092 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21068092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258615, 0.06531586035560082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068092_05-03-2025_15_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21068221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068232, '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 = 21068851 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638518, 'mtr_portfolio_id': 21068851, 'created_at': datetime.datetime(2025, 3, 5, 15, 19, 1), 'result': '0.0714170125128325', 'result_long': None, 'result_double': None}] Qualite : 0.0714170125128325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21068851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068851_05-03-2025_15_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21068851 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068851_05-03-2025_15_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21068856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068866, 'pht': 3726}}" where mtr_portfolio_id = 21068851 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21068851 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258616, 0.0714170125128325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068851_05-03-2025_15_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21068856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068866, '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 = 21069448 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638550, 'mtr_portfolio_id': 21069448, 'created_at': datetime.datetime(2025, 3, 5, 15, 32, 59), 'result': '0.05965248373820704', 'result_long': None, 'result_double': None}] Qualite : 0.05965248373820704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21069448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21069448_05-03-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21069448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21069448_05-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21069474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21069475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21069476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21069477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21069478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21069479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21069480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21069481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21069482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21069483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21069484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21069485, 'pht': 3726}}" where mtr_portfolio_id = 21069448 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21069448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258617, 0.05965248373820704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21069448_05-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21069474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21069475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21069476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21069477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21069478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21069479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21069480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21069481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21069482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21069483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21069484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21069485, '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 = 21070024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638603, 'mtr_portfolio_id': 21070024, 'created_at': datetime.datetime(2025, 3, 5, 15, 48, 59), 'result': '0.07591529971904469', 'result_long': None, 'result_double': None}] Qualite : 0.07591529971904469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21070024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070024_05-03-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21070024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070024_05-03-2025_15_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070040, 'pht': 3726}}" where mtr_portfolio_id = 21070024 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21070024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258618, 0.07591529971904469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070024_05-03-2025_15_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070040, '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 = 21070737 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638644, 'mtr_portfolio_id': 21070737, 'created_at': datetime.datetime(2025, 3, 5, 16, 2, 59), 'result': '0.07333276762623131', 'result_long': None, 'result_double': None}] Qualite : 0.07333276762623131 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21070737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070737_05-03-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21070737 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070737_05-03-2025_16_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070750, 'pht': 3726}}" where mtr_portfolio_id = 21070737 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21070737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258619, 0.07333276762623131, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070737_05-03-2025_16_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070750, '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 = 21071260 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638701, 'mtr_portfolio_id': 21071260, 'created_at': datetime.datetime(2025, 3, 5, 16, 19, 1), 'result': '0.06036125755876414', 'result_long': None, 'result_double': None}] Qualite : 0.06036125755876414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21071260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21071260_05-03-2025_16_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21071260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21071260_05-03-2025_16_19_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21071329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21071330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21071331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21071332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21071333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21071334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21071335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21071336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21071337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21071338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21071339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21071340, 'pht': 3726}}" where mtr_portfolio_id = 21071260 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21071260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258620, 0.06036125755876414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21071260_05-03-2025_16_19_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21071329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21071330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21071331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21071332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21071333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21071334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21071335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21071336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21071337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21071338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21071339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21071340, '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 = 21072038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638758, 'mtr_portfolio_id': 21072038, 'created_at': datetime.datetime(2025, 3, 5, 16, 33, 6), 'result': '0.07141917987258611', 'result_long': None, 'result_double': None}] Qualite : 0.07141917987258611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21072038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072038_05-03-2025_16_33_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21072038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072038_05-03-2025_16_33_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21072052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072063, 'pht': 3726}}" where mtr_portfolio_id = 21072038 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21072038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258621, 0.07141917987258611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072038_05-03-2025_16_33_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21072052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072063, '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 = 21072747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638887, 'mtr_portfolio_id': 21072747, 'created_at': datetime.datetime(2025, 3, 5, 16, 48, 29), 'result': '0.07377901151868069', 'result_long': None, 'result_double': None}] Qualite : 0.07377901151868069 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21072747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072747_05-03-2025_16_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21072747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072747_05-03-2025_16_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21072777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072787, 'pht': 3726}}" where mtr_portfolio_id = 21072747 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21072747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258622, 0.07377901151868069, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072747_05-03-2025_16_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21072777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072787, '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 = 21073320 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639041, 'mtr_portfolio_id': 21073320, 'created_at': datetime.datetime(2025, 3, 6, 2, 57, 28), 'result': '0.06574955622477034', 'result_long': None, 'result_double': None}] Qualite : 0.06574955622477034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21073320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21073320_06-03-2025_02_57_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21073320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21073320_06-03-2025_02_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21073352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21073354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21073355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21073356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21073357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21073358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21073359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21073360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21073361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21073362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21073363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21073364, 'pht': 3726}}" where mtr_portfolio_id = 21073320 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21073320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258623, 0.06574955622477034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21073320_06-03-2025_02_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21073352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21073354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21073355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21073356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21073357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21073358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21073359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21073360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21073361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21073362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21073363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21073364, '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 = 21075474 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639393, 'mtr_portfolio_id': 21075474, 'created_at': datetime.datetime(2025, 3, 5, 18, 19, 1), 'result': '0.06436027731743602', 'result_long': None, 'result_double': None}] Qualite : 0.06436027731743602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21075474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075474_05-03-2025_18_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21075474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075474_05-03-2025_18_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075489, 'pht': 3726}}" where mtr_portfolio_id = 21075474 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21075474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258624, 0.06436027731743602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075474_05-03-2025_18_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075489, '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 = 21075610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639405, 'mtr_portfolio_id': 21075610, 'created_at': datetime.datetime(2025, 3, 5, 18, 32, 58), 'result': '0.06284680166308601', 'result_long': None, 'result_double': None}] Qualite : 0.06284680166308601 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21075610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075610_05-03-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21075610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075610_05-03-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075629, 'pht': 3726}}" where mtr_portfolio_id = 21075610 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21075610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258625, 0.06284680166308601, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075610_05-03-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075629, '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 = 21076180 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639506, 'mtr_portfolio_id': 21076180, 'created_at': datetime.datetime(2025, 3, 5, 18, 48, 57), 'result': '0.06731815988572705', 'result_long': None, 'result_double': None}] Qualite : 0.06731815988572705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21076180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21076180_05-03-2025_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21076180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21076180_05-03-2025_18_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21076203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21076204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21076205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21076206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21076207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21076208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21076209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21076216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21076221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21076227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21076231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21076232, 'pht': 3726}}" where mtr_portfolio_id = 21076180 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21076180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258626, 0.06731815988572705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21076180_05-03-2025_18_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21076203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21076204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21076205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21076206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21076207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21076208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21076209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21076216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21076221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21076227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21076231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21076232, '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 = 21077165 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639603, 'mtr_portfolio_id': 21077165, 'created_at': datetime.datetime(2025, 3, 5, 19, 2, 58), 'result': '0.0679929278519333', 'result_long': None, 'result_double': None}] Qualite : 0.0679929278519333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21077165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077165_05-03-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21077165 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077165_05-03-2025_19_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21077196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21077197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21077198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21077199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21077200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21077201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21077202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21077203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21077204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21077205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21077206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21077207, 'pht': 3726}}" where mtr_portfolio_id = 21077165 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21077165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258627, 0.0679929278519333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077165_05-03-2025_19_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21077196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21077197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21077198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21077199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21077200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21077201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21077202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21077203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21077204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21077205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21077206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21077207, '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 = 21077992 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639677, 'mtr_portfolio_id': 21077992, 'created_at': datetime.datetime(2025, 3, 5, 19, 18, 57), 'result': '0.059617310322047964', 'result_long': None, 'result_double': None}] Qualite : 0.059617310322047964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21077992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077992_05-03-2025_19_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21077992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077992_05-03-2025_19_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078030, 'pht': 3726}}" where mtr_portfolio_id = 21077992 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21077992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258628, 0.059617310322047964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077992_05-03-2025_19_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078030, '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 = 21078591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639717, 'mtr_portfolio_id': 21078591, 'created_at': datetime.datetime(2025, 3, 5, 19, 32, 59), 'result': '0.05328941950161473', 'result_long': None, 'result_double': None}] Qualite : 0.05328941950161473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21078591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21078591_05-03-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21078591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21078591_05-03-2025_19_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078705, 'pht': 3726}}" where mtr_portfolio_id = 21078591 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21078591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258629, 0.05328941950161473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21078591_05-03-2025_19_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078705, '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 = 21079365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639767, 'mtr_portfolio_id': 21079365, 'created_at': datetime.datetime(2025, 3, 5, 19, 48, 59), 'result': '0.08088274701983163', 'result_long': None, 'result_double': None}] Qualite : 0.08088274701983163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21079365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21079365_05-03-2025_19_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21079365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21079365_05-03-2025_19_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21079394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21079395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21079396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21079397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21079398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21079399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21079400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21079401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21079402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21079403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21079404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21079405, 'pht': 3726}}" where mtr_portfolio_id = 21079365 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21079365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258630, 0.08088274701983163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21079365_05-03-2025_19_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21079394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21079395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21079396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21079397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21079398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21079399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21079400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21079401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21079402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21079403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21079404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21079405, '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 = 21080175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639822, 'mtr_portfolio_id': 21080175, 'created_at': datetime.datetime(2025, 3, 5, 20, 3), 'result': '0.060593821141357154', 'result_long': None, 'result_double': None}] Qualite : 0.060593821141357154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21080175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080175_05-03-2025_20_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21080175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080175_05-03-2025_20_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21080229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21080231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080240, 'pht': 3726}}" where mtr_portfolio_id = 21080175 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21080175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258631, 0.060593821141357154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080175_05-03-2025_20_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21080229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21080231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080240, '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 = 21080934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639881, 'mtr_portfolio_id': 21080934, 'created_at': datetime.datetime(2025, 3, 5, 20, 18, 59), 'result': '0.08563369889154372', 'result_long': None, 'result_double': None}] Qualite : 0.08563369889154372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21080934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080934_05-03-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21080934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080934_05-03-2025_20_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21080965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21080968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080976, 'pht': 3726}}" where mtr_portfolio_id = 21080934 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21080934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258632, 0.08563369889154372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080934_05-03-2025_20_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21080965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21080968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080976, '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 = 21081691 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639940, 'mtr_portfolio_id': 21081691, 'created_at': datetime.datetime(2025, 3, 5, 20, 32, 58), 'result': '0.07571967147845388', 'result_long': None, 'result_double': None}] Qualite : 0.07571967147845388 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21081691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21081691_05-03-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21081691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21081691_05-03-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21081721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21081722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21081723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21081724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21081725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21081726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21081727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21081729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21081730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21081731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21081732, 'pht': 3726}}" where mtr_portfolio_id = 21081691 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21081691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258633, 0.07571967147845388, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21081691_05-03-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21081721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21081722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21081723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21081724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21081725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21081726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21081727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21081729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21081730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21081731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21081732, '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 = 21082457 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640001, 'mtr_portfolio_id': 21082457, 'created_at': datetime.datetime(2025, 3, 5, 21, 6, 59), 'result': '0.07835976642026872', 'result_long': None, 'result_double': None}] Qualite : 0.07835976642026872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21082457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21082457_05-03-2025_21_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21082457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21082457_05-03-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21082486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21082487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21082488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21082489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21082490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21082491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21082492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21082493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21082494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21082495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21082496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21082497, 'pht': 3726}}" where mtr_portfolio_id = 21082457 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21082457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258634, 0.07835976642026872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21082457_05-03-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21082486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21082487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21082488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21082489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21082490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21082491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21082492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21082493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21082494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21082495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21082496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21082497, '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 = 21084766 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640236, 'mtr_portfolio_id': 21084766, 'created_at': datetime.datetime(2025, 3, 5, 22, 18, 59), 'result': '0.07269051654850082', 'result_long': None, 'result_double': None}] Qualite : 0.07269051654850082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21084766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21084766_05-03-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21084766 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21084766_05-03-2025_22_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21084769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21084770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21084771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21084772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21084773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21084774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21084775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21084776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21084777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21084778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21084779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21084780, 'pht': 3726}}" where mtr_portfolio_id = 21084766 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21084766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258635, 0.07269051654850082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21084766_05-03-2025_22_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21084769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21084770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21084771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21084772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21084773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21084774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21084775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21084776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21084777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21084778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21084779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21084780, '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 = 21085217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640266, 'mtr_portfolio_id': 21085217, 'created_at': datetime.datetime(2025, 3, 5, 22, 33), 'result': '0.060387601678147544', 'result_long': None, 'result_double': None}] Qualite : 0.060387601678147544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21085217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085217_05-03-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21085217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085217_05-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21085224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085230, 'pht': 3726}}" where mtr_portfolio_id = 21085217 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21085217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258636, 0.060387601678147544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085217_05-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21085224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085230, '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 = 21085748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640304, 'mtr_portfolio_id': 21085748, 'created_at': datetime.datetime(2025, 3, 5, 22, 48, 58), 'result': '0.08035254064291698', 'result_long': None, 'result_double': None}] Qualite : 0.08035254064291698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21085748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085748_05-03-2025_22_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21085748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085748_05-03-2025_22_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21085767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085778, 'pht': 3726}}" where mtr_portfolio_id = 21085748 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21085748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258637, 0.08035254064291698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085748_05-03-2025_22_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21085767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085778, '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 = 21086544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640342, 'mtr_portfolio_id': 21086544, 'created_at': datetime.datetime(2025, 3, 5, 23, 2, 59), 'result': '0.0791736352194325', 'result_long': None, 'result_double': None}] Qualite : 0.0791736352194325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21086544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21086544_05-03-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21086544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21086544_05-03-2025_23_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21086547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21086548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21086549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21086550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21086551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21086552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21086553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21086554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21086555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21086556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21086557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21086558, 'pht': 3726}}" where mtr_portfolio_id = 21086544 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21086544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258638, 0.0791736352194325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21086544_05-03-2025_23_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21086547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21086548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21086549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21086550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21086551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21086552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21086553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21086554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21086555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21086556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21086557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21086558, '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 = 21087063 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640388, 'mtr_portfolio_id': 21087063, 'created_at': datetime.datetime(2025, 3, 5, 23, 19, 1), 'result': '0.07813079806271399', 'result_long': None, 'result_double': None}] Qualite : 0.07813079806271399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21087063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087063_05-03-2025_23_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21087063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087063_05-03-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21087075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087080, 'pht': 3726}}" where mtr_portfolio_id = 21087063 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21087063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258639, 0.07813079806271399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087063_05-03-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21087075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087080, '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 = 21087662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640424, 'mtr_portfolio_id': 21087662, 'created_at': datetime.datetime(2025, 3, 5, 23, 32, 59), 'result': '0.08249981298839032', 'result_long': None, 'result_double': None}] Qualite : 0.08249981298839032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21087662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087662_05-03-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21087662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087662_05-03-2025_23_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21087664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087675, 'pht': 3726}}" where mtr_portfolio_id = 21087662 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21087662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258640, 0.08249981298839032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087662_05-03-2025_23_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21087664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087675, '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 = 21088194 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640459, 'mtr_portfolio_id': 21088194, 'created_at': datetime.datetime(2025, 3, 5, 23, 48, 59), 'result': '0.06708797549748412', 'result_long': None, 'result_double': None}] Qualite : 0.06708797549748412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21088194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088194_05-03-2025_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21088194 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088194_05-03-2025_23_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21088252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088263, 'pht': 3726}}" where mtr_portfolio_id = 21088194 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21088194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258641, 0.06708797549748412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088194_05-03-2025_23_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21088252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088263, '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 = 21088687 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640499, 'mtr_portfolio_id': 21088687, 'created_at': datetime.datetime(2025, 3, 6, 2, 57, 59), 'result': '0.07429228461832431', 'result_long': None, 'result_double': None}] Qualite : 0.07429228461832431 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21088687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088687_06-03-2025_02_58_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21088687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088687_06-03-2025_02_58_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21088726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088728, 'pht': 3726}}" where mtr_portfolio_id = 21088687 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21088687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258642, 0.07429228461832431, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088687_06-03-2025_02_58_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21088726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088728, '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 (21033425,21033980,21034713,21035092,21036224,21036613,21037191,21037712,21038145,21038910,21039790,21040497,21041140,21042325,21042685,21043129,21044125,21044494,21045283,21045913,21046524,21047038,21047744,21048689,21049193,21049512,21050173,21051281,21051425,21052316,21054980,21055376,21055994,21056557,21057093,21057791,21058601,21059569,21060521,21061213,21061831,21062550,21063507,21064890,21065329,21065887,21066213,21066761,21067346,21068092,21068851,21069448,21070024,21070737,21071260,21072038,21072747,21073320,21075474,21075610,21076180,21077165,21077992,21078591,21079365,21080175,21080934,21081691,21082457,21084766,21085217,21085748,21086544,21087063,21087662,21088194,21088687) result : ((1340897806,), (1340897812,), (1340897857,), (1340897862,), (1340897866,), (1340897872,), (1340897885,), (1340897890,), (1340898252,), (1340898396,), (1340898400,), (1340898405,), (1340898410,), (1340898532,), (1340898538,), (1340898541,), (1340898547,), (1340898611,), (1340898616,), (1340898619,), (1340898784,), (1340898790,), (1340898797,), (1340898847,), (1340898850,), (1340898859,), (1340898862,), (1340898864,), (1340898889,), (1340898894,), (1340898899,), (1340898904,), (1340898935,), (1340898981,), (1340899215,), (1340899220,), (1340899223,), (1340899229,), (1340899233,), (1340899259,), (1340899265,), (1340899268,), (1340899272,), (1340899338,), (1340899344,), (1340899348,), (1340899352,), (1340899356,), (1340899445,), (1340899458,), (1340899470,), (1340899482,), (1340899505,), (1340899533,), (1340899539,), (1340899543,), (1340899548,), (1340899553,), (1340899738,), (1340899743,), (1340900187,), (1340899899,), (1340900178,), (1340900183,), (1340900274,), (1340900277,), (1340900435,), (1340900494,), (1340900509,), (1340900542,), (1340900635,), (1340900645,), (1340900654,), (1340900658,), (1340900662,), (1340900714,), (1340900718,), (1340900724,), (1340900731,), (1340900842,), (1340900907,), (1340900909,), (1340900917,), (1340900922,), (1340900943,), (1340900947,), (1340900950,), (1340901210,), (1340901233,), (1340901240,), (1340901276,), (1340901300,), (1340901321,), (1340901363,), (1340901366,), (1340901370,), (1340901376,), (1340901412,), (1340901417,), (1340901422,), (1340901472,), (1340901484,), (1340901488,), (1340901696,), (1340901931,), (1340901935,), (1340901940,), (1340903153,), (1340902831,), (1340903106,), (1340903114,), (1340903123,), (1340903137,), (1340903232,), (1340903243,), (1340903257,), (1340903261,), (1340903265,), (1340903285,), (1340903288,), (1340903294,), (1340903313,), (1340903381,), (1340903384,), (1340903643,), (1340903651,), (1340903656,), (1340903765,), (1340903769,), (1340903775,), (1340903780,), (1340903783,), (1340903858,), (1340904030,), (1340904092,), (1340904105,), (1340904316,), (1340904353,), (1340904358,), (1340904362,), (1340904365,), (1340904368,), (1340904430,), (1340904396,), (1340904402,), (1340904407,), (1340904412,), (1340904421,), (1340904725,), (1340904731,), (1340904735,), (1340904740,), (1340904742,), (1340904801,), (1340904807,), (1340904815,), (1340904843,), (1340904847,), (1340904850,), (1340904856,), (1340904860,), (1340904984,), (1340904988,), (1340904993,), (1340905027,), (1340905031,), (1340905035,), (1340905040,), (1340905091,), (1340905094,), (1340905098,), (1340905104,), (1340905109,), (1340905133,), (1340905138,), (1340905142,), (1340905147,), (1340905212,), (1340905216,), (1340905223,), (1340905290,), (1340905295,), (1340905299,), (1340905342,), (1340905344,), (1340905348,), (1340905355,), (1340905360,), (1340905396,), (1340905399,), (1340905405,), (1340905439,), (1340905443,), (1340905520,), (1340905528,), (1340905559,), (1340905632,), (1340905691,), (1340910003,), (1340910006,), (1340910306,), (1340910352,), (1340910356,), (1340910378,), (1340910383,), (1340910445,), (1340910481,), (1340910484,), (1340910486,), (1340910800,), (1340910804,), (1340910806,), (1340910811,), (1340910842,), (1340910854,), (1340910860,), (1340910893,), (1340911011,), (1340911476,), (1340911478,), (1340911508,), (1340911534,), (1340911536,), (1340911684,), (1340911615,), (1340911655,), (1340911657,), (1340911661,), (1340912014,), (1340912031,), (1340912068,), (1340912074,), (1340912106,), (1340912185,), (1340912345,), (1340912352,), (1340912354,), (1340912385,), (1340912386,), (1340912388,), (1340912392,), (1340912492,), (1340912595,), (1340912597,), (1340912599,), (1340912603,), (1340912630,), (1340912693,), (1340912751,), (1340912752,), (1340912754,), (1340912775,), (1340912779,), (1340912784,), (1340912885,), (1340912889,), (1340912894,), (1340912901,), (1340913014,), (1340913017,), (1340913019,), (1340913023,), (1340913027,), (1340913061,), (1340913139,), (1340913141,), (1340913143,), (1340913194,), (1340913199,), (1340913247,), (1340913250,), (1340913252,), (1340913255,), (1340913283,), (1340913286,), (1340913288,), (1340913292,), (1340913296,), (1340913299,), (1340913512,), (1340913515,), (1340913523,), (1340913531,), (1340913666,), (1340913668,), (1340913840,), (1340913845,), (1340913847,), (1340913849,), (1340913851,), (1340913852,), (1340913881,), (1340913869,), (1340913872,), (1340913874,), (1340913878,), (1340913894,), (1340913896,), (1340913898,), (1340913902,), (1340914015,), (1340914243,), (1340914248,), (1340914256,), (1340914378,), (1340914391,), (1340914394,), (1340914398,), (1340914411,), (1340914414,), (1340914420,), (1340914423,), (1340914660,), (1340914664,), (1340914667,), (1340914673,), (1340914711,), (1340914714,), (1340914848,), (1340914851,), (1340914854,), (1340914862,), (1340914873,), (1340914884,), (1340914887,), (1340914891,), (1340914895,), (1340914898,), (1340914901,), (1340914935,), (1340914939,), (1340914942,), (1340914994,), (1340915034,), (1340915036,), (1340915050,), (1340915055,), (1340915060,), (1340915119,), (1340915124,), (1340915128,), (1340915132,), (1340915135,), (1340915138,), (1340915209,), (1340915212,), (1340915215,), (1340915220,), (1340915240,), (1340915244,), (1340915247,), (1340915265,), (1340915272,), (1340915274,), (1340915276,), (1340915280,), (1340915283,), (1340915316,), (1340915294,), (1340915303,), (1340915306,), (1340915309,), (1340915427,), (1340915462,), (1340915484,), (1340915554,), (1340915713,), (1340915717,), (1340915841,), (1340915844,), (1340915921,), (1340915924,), (1340915928,), (1340915975,), (1340915978,), (1340916007,), (1340916009,), (1340916018,), (1340916030,), (1340916060,), (1340916069,), (1340916083,), (1340916094,), (1340916112,), (1340916135,), (1340916202,), (1340916273,), (1340916341,), (1340916421,), (1340916715,), (1340916733,), (1340916754,), (1340916757,), (1340916760,), (1340916765,), (1340916780,), (1340916783,), (1340916785,), (1340916855,), (1340916858,), (1340916890,), (1340916913,), (1340916916,), (1340916920,), (1340916988,), (1340916991,), (1340916995,), (1340917058,), (1340917061,), (1340917064,), (1340917068,), (1340917072,), (1340917146,), (1340917128,), (1340917131,), (1340917135,), (1340917139,), (1340917144,), (1340917157,), (1340917160,), (1340917163,), (1340917167,), (1340917171,), (1340917357,), (1340917363,), (1340917375,), (1340917411,), (1340917414,), (1340917417,), (1340917423,), (1340917427,), (1340917937,), (1340917941,), (1340917960,), (1340918056,), (1340918142,), (1340918145,), (1340918148,), (1340918160,), (1340918175,), (1340918179,), (1340918183,), (1340918185,), (1340918216,), (1340918219,), (1340918236,), (1340918239,), (1340918309,), (1340918555,), (1340918558,), (1340918565,), (1340918720,), (1340918728,), (1340918755,), (1340918830,), (1340918843,), (1340918847,), (1340918850,), (1340918852,), (1340918859,), (1340918866,), (1340918869,), (1340918888,), (1340918891,), (1340918893,), (1340918896,), (1340918898,), (1340918921,), (1340918924,), (1340918928,), (1340918936,), (1340918942,), (1340919092,), (1340918999,), (1340919021,), (1340919026,), (1340919049,), (1340919083,), (1340919155,), (1340919196,), (1340919243,), (1340919248,), (1340919745,), (1340919757,), (1340919912,), (1340919937,), (1340919938,), (1340919967,), (1340920003,), (1340920005,), (1340920010,), (1340920014,), (1340920024,), (1340920049,), (1340920051,), (1340920109,), (1340920373,), (1340920376,), (1340920554,), (1340920581,), (1340920603,), (1340920613,), (1340920621,), (1340920670,), (1340920675,), (1340920680,), (1340920703,), (1340920706,), (1340920762,), (1340920773,), (1340920789,), (1340920795,), (1340920802,), (1340920948,), (1340920951,), (1340920956,), (1340920959,), (1340920961,), (1340920962,), (1340920970,), (1340920978,), (1340921019,), (1340920989,), (1340921012,), (1340921015,), (1340921018,), (1340921166,), (1340921170,), (1340921177,), (1340921182,), (1340921263,), (1340921266,), (1340921268,), (1340921282,), (1340921286,), (1340921288,), (1340921315,), (1340921332,), (1340921343,), (1340921346,), (1340921350,), (1340921352,), (1340921372,), (1340921377,), (1340921379,), (1340921382,), (1340921415,), (1340921453,), (1340921457,), (1340921461,), (1340921481,), (1340921484,), (1340921590,), (1340921605,), (1340921611,), (1340921616,), (1340921646,), (1340921649,), (1340921659,), (1340921674,), (1340921714,), (1340921726,), (1340921737,), (1340921751,), (1340921754,), (1340921826,), (1340921834,), (1340921838,), (1340921841,), (1340921844,), (1340921846,), (1340921867,), (1340921877,), (1340921888,), (1340921899,), (1340921925,), (1340921928,), (1340921930,), (1340922035,), (1340922040,), (1340922044,), (1340922049,), (1340922057,), (1340922063,), (1340922072,), (1340922076,), (1340922081,), (1340922083,), (1340922086,), (1340922215,), (1340922221,), (1340922224,), (1340922227,), (1340922388,), (1340922267,), (1340922274,), (1340922338,), (1340922378,), (1340922465,), (1340922468,), (1340922471,), (1340922484,), (1340922489,), (1340922497,), (1340922561,), (1340922563,), (1340922566,), (1340922606,), (1340922616,), (1340922663,), (1340922669,), (1340922673,), (1340922684,), (1340922736,), (1340922739,), (1340922743,), (1340922748,), (1340922753,), (1340922784,), (1340922786,), (1340922863,), (1340922923,), (1340922929,), (1340922937,), (1340922946,), (1340922954,), (1340922957,), (1340922966,), (1340922967,), (1340922971,), (1340922975,), (1340922979,), (1340923024,), (1340923027,), (1340923031,), (1340923053,), (1340923054,), (1340923056,), (1340923060,), (1340923064,), (1340923090,), (1340923093,), (1340923099,), (1340923106,), (1340923123,), (1340923159,), (1340923161,), (1340923162,), (1340923165,), (1340923168,), (1340923301,), (1340923306,), (1340923371,), (1340923373,), (1340923380,), (1340923428,), (1340923442,), (1340923452,), (1340923459,), (1340923468,), (1340923471,), (1340923473,), (1340923519,), (1340923502,), (1340923505,), (1340923509,), (1340923513,), (1340923534,), (1340923537,), (1340923539,), (1340923642,), (1340923645,), (1340923646,), (1340923649,), (1340924069,), (1340924078,), (1340924095,), (1340924103,), (1340924106,), (1340924117,), (1340924120,), (1340924123,), (1340924196,), (1340924205,), (1340924208,), (1340924212,), (1340924216,), (1340924323,), (1340924326,), (1340924329,), (1340924332,), (1340924354,), (1340924357,), (1340924373,), (1340924376,), (1340924378,), (1340924383,), (1340924506,), (1340924509,), (1340924644,), (1340924654,), (1340924658,), (1340924816,), (1340924819,), (1340924883,), (1340924885,), (1340924887,), (1340924921,), (1340924923,), (1340924925,), (1340924933,), (1340924962,), (1340927938,), (1340927750,), (1340927888,), (1340927891,), (1340928061,), (1340928069,), (1340928080,), (1340928084,), (1340928088,), (1340928233,), (1340928262,), (1340928342,), (1340928345,), (1340928349,), (1340928402,), (1340928406,), (1340928438,), (1340928457,), (1340928479,), (1340928528,), (1340928532,), (1340928537,), (1340928543,), (1340928577,), (1340928659,), (1340928668,), (1340928671,), (1340928676,), (1340928685,), (1340928699,), (1340928743,), (1340928747,), (1340928749,), (1340928754,), (1340930153,), (1340930141,), (1340930145,), (1340930149,), (1340930331,), (1340930344,), (1340930350,), (1340930354,), (1340930358,), (1340930441,), (1340930481,), (1340930494,), (1340930502,), (1340930505,), (1340930535,), (1340930542,), (1340930552,), (1340930563,), (1340930589,), (1340930590,), (1340930592,), (1340930741,), (1340930743,), (1340930763,), (1340930770,), (1340930853,), (1340930856,), (1340930858,), (1340930863,), (1340930868,), (1340930892,), (1340930896,), (1340930900,), (1340930911,), (1340930916,), (1340930919,), (1340930961,), (1340930964,), (1340930970,), (1340931009,), (1340931013,), (1340931017,), (1340931021,), (1340931108,), (1340931068,), (1340931073,), (1340931078,), (1340931081,), (1340931105,), (1340931206,), (1340931244,), (1340931249,), (1340931253,), (1340931275,), (1340931278,), (1340931281,), (1340931313,), (1340931315,), (1340931713,), (1340931782,), (1340931788,), (1340931793,), (1340932459,), (1340932465,), (1340932509,), (1340932517,), (1340932522,), (1340932524,), (1340932541,), (1340932551,), (1340932557,), (1340932641,), (1340932648,), (1340932652,), (1340932744,), (1340932748,), (1340932751,), (1340932755,), (1340932758,), (1340932781,), (1340932797,), (1340932804,), (1340932807,), (1340932824,), (1340936307,), (1340936302,), (1340936395,), (1340936401,), (1340936972,), (1340936976,), (1340937118,), (1340937151,), (1340937341,), (1340937353,), (1340937364,), (1340937383,), (1340937388,), (1340937408,), (1340937415,), (1340937426,), (1340937518,), (1340937524,), (1340937530,), (1340937546,), (1340937550,), (1340937558,), (1340937565,), (1340937569,), (1340937572,), (1340937586,), (1340937591,), (1340937595,), (1340937601,), (1340937606,), (1340937678,), (1340937681,), (1340937725,), (1340937727,), (1340937754,), (1340937757,), (1340937759,), (1340937782,), (1340937785,), (1340937790,), (1340937797,), (1340937806,), (1340937820,), (1340938142,), (1340938109,), (1340938112,), (1340938125,), (1340938130,), (1340938174,), (1340938176,), (1340938191,), (1340938337,), (1340938375,), (1340938387,), (1340938391,), (1340938396,), (1340938399,), (1340938415,), (1340938421,), (1340938427,), (1340938432,), (1340938437,), (1340938487,), (1340938490,), (1340938498,), (1340938504,), (1340938511,), (1340938534,), (1340938662,), (1340938841,), (1340938977,), (1340939328,), (1340939332,), (1340939365,), (1340939419,), (1340939501,), (1340939627,), (1340939629,), (1340939631,), (1340939637,), (1340939643,), (1340939672,), (1340939676,), (1340939680,), (1340939686,), (1340939691,), (1340939702,), (1340939704,), (1340939710,), (1340939722,), (1340939730,), (1340940102,), (1340940139,), (1340940147,), (1340940156,), (1340940307,), (1340940367,), (1340940377,), (1340940383,), (1340940388,), (1340940393,), (1340940654,), (1340940657,), (1340940661,), (1340940686,), (1340940691,), (1340940695,), (1340940765,), (1340940767,), (1340940787,), (1340940793,), (1340940844,), (1340940851,), (1340940853,), (1340940858,), (1340940863,), (1340940869,), (1340940905,), (1340940888,), (1340940892,), (1340940900,), (1340940968,), (1340940979,), (1340940983,), (1340940989,), (1340940995,), (1340940999,), (1340941374,), (1340941405,), (1340941409,), (1340941457,), (1340941467,), (1340941475,), (1340941517,), (1340941519,), (1340941525,), (1340941535,), (1340941561,), (1340941565,), (1340941579,), (1340941583,), (1340941589,), (1340941599,), (1340941941,), (1340941965,), (1340941972,), (1340942005,), (1340942041,), (1340942048,), (1340942116,), (1340942121,), (1340942123,), (1340942297,), (1340942311,), (1340942316,), (1340942325,), (1340942338,), (1340942351,), (1340942406,), (1340942408,), (1340942409,), (1340942416,), (1340942443,), (1340942445,), (1340942447,), (1340942456,), (1340942465,), (1340942470,), (1340942482,), (1340942483,), (1340942489,), (1340942495,), (1340942500,), (1340942523,), (1340942532,), (1340942538,), (1340942544,), (1340942628,), (1340942635,), (1340942637,), (1340942643,), (1340942648,), (1340942652,), (1340942846,), (1340942869,), (1340942876,), (1340942882,), (1340942912,), (1340942928,), (1340943024,), (1340943027,), (1340943032,), (1340943231,), (1340943053,), (1340943055,), (1340943122,), (1340943196,), (1340943212,), (1340943287,), (1340943304,), (1340943328,), (1340943346,), (1340943509,), (1340943511,), (1340943514,), (1340943521,), (1340943550,), (1340943552,), (1340943554,), (1340943562,), (1340943576,), (1340943587,), (1340943618,), (1340943629,), (1340943633,), (1340943644,), (1340943682,), (1340943790,), (1340943797,), (1340943800,), (1340943805,), (1340943944,), (1340943947,), (1340943954,), (1340943966,), (1340943977,), (1340943989,), (1340944086,), (1340944118,), (1340944195,), (1340944300,), (1340944321,), (1340944324,), (1340944329,), (1340944344,), (1340944348,), (1340944392,), (1340944395,), (1340944397,), (1340944447,), (1340944453,), (1340944520,), (1340944523,), (1340944532,), (1340944547,), (1340944572,), (1340944575,), (1340944580,), (1340944586,), (1340944596,), (1340944693,), (1340944695,), (1340944697,), (1340944701,), (1340944705,), (1340944767,), (1340944771,), (1340944777,), (1340944779,), (1340945527,), (1340945495,), (1340945523,), (1340945525,), (1340945544,), (1340945546,), (1340945617,), (1340945618,), (1340945723,), (1340945863,), (1340945973,), (1340945981,), (1340945985,), (1340945988,), (1340945992,), (1340946003,), (1340946006,), (1340946010,), (1340946014,), (1340946018,), (1340946072,), (1340946075,), (1340946083,), (1340946088,), (1340946093,), (1340946096,), (1340946249,), (1340946252,), (1340946253,), (1340946289,), (1340946292,), (1340946294,), (1340946298,), (1340946302,), (1340946305,), (1340946325,), (1340946329,), (1340946332,), (1340946337,), (1340946341,), (1340946360,), (1340946361,), (1340946364,), (1340946370,), (1340946666,), (1340946668,), (1340946671,), (1340946679,), (1340946684,), (1340946687,), (1340946779,), (1340946807,), (1340946845,), (1340946859,), (1340946863,), (1340946937,), (1340946940,), (1340946945,), (1340946958,), (1340947031,), (1340947035,), (1340947038,), (1340947123,), (1340947113,), (1340947114,), (1340947115,), (1340947119,), (1340947334,), (1340947340,), (1340947348,), (1340947353,), (1340947357,), (1340947361,), (1340947451,), (1340947453,), (1340947455,), (1340947550,), (1340947553,), (1340947555,), (1340947560,), (1340947585,), (1340947588,), (1340947590,), (1340947595,), (1340947599,), (1340947603,), (1340947619,), (1340947637,), (1340947712,), (1340947740,), (1340947763,), (1340947781,), (1340947800,), (1340947822,), (1340947825,), (1340947845,), (1340947849,), (1340947852,), (1340947855,), (1340947859,), (1340947866,), (1340947880,), (1340947884,), (1340947886,), (1340947891,), (1340947894,), (1340947897,), (1340948809,), (1340948806,), (1340948962,), (1340948971,), (1340948976,), (1340948980,), (1340949039,), (1340949178,), (1340949426,), (1340949431,), (1340949441,), (1340949474,), (1340949482,), (1340949487,), (1340949495,), (1340949538,), (1340949541,), (1340949544,), (1340949549,), (1340949560,), (1340949594,), (1340949596,), (1340949605,), (1340949614,), (1340949617,), (1340949622,), (1340949658,), (1340949659,), (1340949662,), (1340949671,), (1340949703,), (1340949734,), (1340949752,), (1340949795,), (1340949800,), (1340949814,), (1340950033,), (1340950061,), (1340950131,), (1340950150,), (1340950167,), (1340950231,), (1340950236,), (1340950238,), (1340950242,), (1340950286,), (1340950289,), (1340950295,), (1340950307,), (1340950316,), (1340950401,), (1340950415,), (1340950563,), (1340951026,), (1340951022,), (1340951024,), (1340951151,), (1340951155,), (1340951183,), (1340951185,), (1340951187,), (1340951210,), (1340951213,), (1340951217,), (1340951222,), (1340951225,), (1340951228,), (1340951251,), (1340951255,), (1340951256,), (1340951259,), (1340951262,), (1340951278,), (1340951281,), (1340951294,), (1340951320,), (1340951329,), (1340951333,), (1340951337,), (1340951338,), (1340951340,), (1340951370,), (1340951376,), (1340951380,), (1340951384,), (1340951387,), (1340951403,), (1340951417,), (1340951430,), (1340951434,), (1340951437,), (1340951580,), (1340951640,), (1340951703,), (1340951721,), (1340951729,), (1340951732,), (1340951761,), (1340951764,), (1340951766,), (1340951803,), (1340951932,), (1340951940,), (1340951943,), (1340951956,), (1340951962,), (1340951963,), (1340951965,), (1340951966,), (1340951969,), (1340951970,), (1340951972,), (1340951973,), (1340951997,), (1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,), (1340953397,), (1340953400,), (1340953402,), (1340953404,), (1340953470,), (1340953475,), (1340953480,), (1340953482,), (1340953533,), (1340953537,), (1340953541,), (1340953544,), (1340953555,), (1340953563,), (1340953589,), (1340953590,), (1340953597,), (1340953602,), (1340953607,), (1340953638,), (1340953655,), (1340953666,), (1340953670,), (1340953674,), (1340953678,), (1340953704,), (1340953706,), (1340953709,), (1340953714,), (1340953748,), (1340953751,), (1340953759,), (1340953764,), (1340953781,), (1340953786,), (1340953797,), (1340953802,), (1340953808,), (1340953815,), (1340953822,), (1340953837,), (1340953985,), (1340954026,), (1340954036,), (1340954049,), (1340954147,), (1340954151,), (1340954157,), (1340954165,), (1340954168,), (1340954207,), (1340954216,), (1340954285,), (1340954345,), (1340954373,), (1340954831,), (1340954842,), (1340954858,), (1340954867,), (1340954879,), (1340954996,), (1340955000,), (1340955003,), (1340955008,), (1340955013,), (1340955017,), (1340955037,), (1340955042,), (1340955046,), (1340955052,), (1340955058,), (1340955106,), (1340955119,), (1340955128,), (1340955131,), (1340955137,), (1340955139,), (1340955185,), (1340955165,), (1340955169,), (1340955174,), (1340955180,), (1340955376,), (1340955392,), (1340955398,), (1340955410,), (1340955415,), (1340955420,), (1340955450,), (1340955492,), (1340955511,), (1340955517,), (1340955521,), (1340956001,), (1340956009,), (1340956018,), (1340956087,), (1340956145,), (1340956155,), (1340956369,), (1340956388,), (1340956393,), (1340956402,), (1340956407,), (1340956465,), (1340956477,), (1340956480,), (1340956486,), (1340956493,), (1340956496,), (1340956513,), (1340956525,), (1340956529,), (1340956535,), (1340956594,), (1340956616,), (1340956627,), (1340956650,), (1340956654,), (1340956658,), (1340956783,), (1340956786,), (1340956790,), (1340956796,), (1340956803,), (1340956884,), (1340956889,), (1340956894,), (1340956900,), (1340956970,), (1340956977,), (1340956983,), (1340957008,), (1340957012,), (1340957102,), (1340957105,), (1340957108,), (1340957120,), (1340957181,), (1340957273,), (1340957283,), (1340957295,), (1340957306,), (1340957469,), (1340957488,), (1340957492,), (1340957494,), (1340957530,), (1340957536,), (1340957540,), (1340957545,), (1340957550,), (1340957553,), (1340958882,), (1340958839,), (1340959114,), (1340959172,), (1340959178,), (1340959186,), (1340959203,), (1340959249,), (1340959366,), (1340959371,), (1340959376,), (1340959408,), (1340959412,), (1340959417,), (1340959421,), (1340959426,), (1340959517,), (1340959524,), (1340959531,), (1340959538,), (1340959541,), (1340959890,), (1340959869,), (1340959878,), (1340959882,), (1340959886,), (1340960087,), (1340960095,), (1340960100,), (1340960138,), (1340960144,), (1340960150,), (1340960158,), (1340960163,), (1340960165,), (1340960364,), (1340960375,), (1340960390,), (1340960399,), (1340960415,), (1340960421,), (1340960444,), (1340960450,), (1340960457,), (1340960542,), (1340960547,), (1340960551,), (1340960556,), (1340960567,), (1340960579,), (1340960724,), (1340960729,), (1340960765,), (1340960886,), (1340960955,), (1340961657,), (1340961801,), (1340961833,), (1340962082,), (1340962156,), (1340962175,), (1340962232,), (1340962236,), (1340962240,), (1340962497,), (1340962509,), (1340962515,), (1340962521,), (1340962524,), (1340962542,), (1340962549,), (1340962554,), (1340962566,), (1340962629,), (1340962640,), (1340962644,), (1340962658,), (1340962667,), (1340962672,), (1340962919,), (1340962936,), (1340962954,), (1340962992,), (1340963013,), (1340963120,), (1340963123,), (1340963126,), (1340963132,), (1340963137,), (1340963160,), (1340963165,), (1340963307,), (1340963249,), (1340963254,), (1340963299,), (1340963303,), (1340963305,), (1340963491,), (1340963665,), (1340964165,), (1340964225,), (1340964234,), (1340964243,), (1340964305,), (1340964346,), (1340964359,), (1340964366,), (1340964379,), (1340964576,), (1340964586,), (1340964609,), (1340964670,), (1340964677,), (1340964705,), (1340964709,), (1340964732,), (1340964776,), (1340964800,), (1340964907,), (1340964933,), (1340964945,), (1340964984,), (1340965147,), (1340965203,), (1340965230,), (1340965264,), (1340965292,), (1340965313,), (1340965354,), (1340965379,), (1340965381,), (1340965413,), (1340965429,), (1340965473,), (1340965513,), (1340965548,), (1340965567,), (1340965591,), (1340965593,), (1340965598,), (1340965607,), (1340965662,), (1340965717,), (1340965752,), (1340965868,), (1340965887,), (1340965913,), (1340965918,), (1340965926,), (1340965942,), (1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,), (1340978333,), (1340978596,), (1340978632,), (1340978677,), (1340978683,), (1340978688,), (1340979288,), (1340979308,), (1340979313,), (1340979317,), (1340979533,), (1340979541,), (1340979543,), (1340979549,), (1340979683,), (1340979688,), (1340979694,), (1340979759,), (1340979763,), (1340979768,), (1340979801,), (1340979819,), (1340979822,), (1340979826,), (1340979858,), (1340979863,), (1340979866,), (1340979928,), (1340980013,), (1340980068,), (1340980078,), (1340980084,), (1340980148,), (1340980154,), (1340980160,), (1340980164,), (1340980308,), (1340980383,), (1340980453,), (1340980687,), (1340980701,), (1340980716,), (1340980729,), (1340980768,), (1340980760,), (1340980764,), (1340980996,), (1340981030,), (1340981080,), (1340981383,), (1340981407,), (1340981412,), (1340981455,), (1340981473,), (1340981610,), (1340981611,), (1340981616,), (1340981624,), (1340981770,), (1340981807,), (1340982918,), (1340982923,), (1340982927,), (1340982963,), (1340982966,), (1340982978,), (1340982989,), (1340982996,), (1340982999,), (1340983031,), (1340983069,), (1340983079,), (1340983086,), (1340983091,), (1340983115,), (1340983210,), (1340983216,), (1340983223,), (1340983334,), (1340983309,), (1340983314,), (1340983319,), (1340983326,), (1340983330,), (1340983356,), (1340983361,), (1340983366,), (1340983371,), (1340983375,), (1340983379,), (1340983445,), (1340983452,), (1340983456,), (1340983681,), (1340983686,), (1340983708,), (1340983720,), (1340983727,), (1340983736,), (1340983768,), (1340983772,), (1340983777,), (1340983780,), (1340983785,), (1340983790,), (1340983814,), (1340983818,), (1340983821,), (1340983825,), (1340983915,), (1340983918,), (1340983930,), (1340983935,), (1340984024,), (1340984046,), (1340984050,), (1340984061,), (1340984066,), (1340984073,), (1340984109,), (1340984114,), (1340984116,), (1340984120,), (1340984170,), (1340984183,), (1340984207,), (1340984215,), (1340984221,), (1340984227,), (1340984244,), (1340984248,), (1340984276,), (1340984284,), (1340984290,), (1340984488,), (1340984496,), (1340984507,), (1340984658,), (1340984663,), (1340984670,), (1340984680,), (1340984740,), (1340984810,), (1340984852,), (1340984856,), (1340984871,), (1340984880,), (1340984884,), (1340984888,), (1340985548,), (1340985557,), (1340985562,), (1340985570,), (1340985822,), (1340985772,), (1340985779,), (1340985791,), (1340985812,), (1340985817,), (1340985844,), (1340985853,), (1340985863,), (1340985881,), (1340985922,), (1340985925,), (1340985930,), (1340985938,), (1340985944,), (1340985997,), (1340986000,), (1340986018,), (1340986074,), (1340986249,), (1340986562,), (1340986633,), (1340986647,), (1340986658,), (1340986693,), (1340986815,), (1340986860,), (1340986871,), (1340986877,), (1340986884,), (1340986887,), (1340986968,), (1340986970,), (1340986976,), (1340986985,), (1340987068,), (1340987071,), (1340987077,), (1340987088,), (1340987180,), (1340987206,), (1340987214,), (1340987220,), (1340987230,), (1340987237,), (1340987255,), (1340987263,), (1340987276,), (1340987285,), (1340987320,), (1340987323,), (1340987330,), (1340987337,), (1340987372,), (1340987385,), (1340987401,), (1340987409,), (1340987419,), (1340987425,), (1340987444,), (1340987486,), (1340987495,), (1340987506,), (1340987516,), (1340987526,), (1340987537,), (1340987543,), (1340987552,), (1340987557,), (1340987562,), (1340987605,), (1340987609,), (1340987623,), (1340987629,), (1340987636,), (1340987641,), (1340987689,), (1340987667,), (1340987671,), (1340987677,), (1340987685,), (1340987739,), (1340987741,), (1340987747,), (1340987753,), (1340987768,), (1340987810,), (1340987895,), (1340987910,), (1340987915,), (1340987921,), (1340988047,), (1340988093,), (1340988095,), (1340988098,), (1340988103,), (1340988107,), (1340988113,), (1340989452,), (1340989676,), (1340989952,), (1340989959,), (1340989999,), (1340990034,), (1340990037,), (1340990039,), (1340990046,), (1340990053,), (1340990060,), (1340990070,), (1340990668,), (1340990690,), (1340990768,), (1340990840,), (1340991322,), (1340991325,), (1340991331,), (1340991337,), (1340991344,), (1340991354,), (1340991388,), (1340991396,), (1340991407,), (1340991416,), (1340991421,), (1340991498,), (1340991503,), (1340991511,), (1340991520,), (1340991547,), (1340991552,), (1340991554,), (1340991557,), (1340991563,), (1340991610,), (1340991587,), (1340991593,), (1340991599,), (1340991605,), (1340991634,), (1340991645,), (1340991649,), (1340991653,), (1340991659,), (1340991681,), (1340991685,), (1340991690,), (1340991697,), (1340991701,), (1340991726,), (1340991731,), (1340991738,), (1340991744,), (1340991749,), (1340991752,), (1340992136,), (1340992180,), (1340992197,), (1340992214,), (1340992335,), (1340992375,), (1340992380,), (1340992429,), (1340992444,), (1340992447,), (1340992493,), (1340992499,), (1340992613,), (1340992618,), (1340992624,), (1340992630,), (1340992712,), (1340992716,), (1340992718,), (1340992723,), (1340992950,), (1340992955,), (1340992960,), (1340992964,), (1340992970,), (1340993061,), (1340993163,), (1340993168,), (1340993173,), (1340993179,), (1340993183,), (1340993230,), (1340993240,), (1340993252,), (1340993259,), (1340993284,), (1340993420,), (1340993609,), (1340993616,), (1340993627,), (1340993642,), (1340993732,), (1340993699,), (1340993707,), (1340993720,), (1340994647,), (1340995210,), (1340995216,), (1340995224,), (1340995234,), (1340995238,), (1340995555,), (1340995593,), (1340995649,), (1340995709,), (1340996068,), (1340996203,), (1340996214,), (1340996218,), (1340996223,), (1340996234,), (1340996359,), (1340996365,), (1340996380,), (1340996385,), (1340996387,), (1340996389,), (1340996606,), (1340996611,), (1340996617,), (1340996623,), (1340996696,), (1340996763,), (1340996776,), (1340996793,), (1340996798,), (1340996825,), (1340996880,), (1340996885,), (1340996948,), (1340996953,), (1340996955,), (1340997055,), (1340997064,), (1340997072,), (1340997080,), (1340997116,), (1340997120,), (1340997124,), (1340997130,), (1340997145,), (1340997150,), (1340997196,), (1340997200,), (1340997206,), (1340997211,), (1340997216,), (1340997222,), (1340997262,), (1340997248,), (1340997251,), (1340997306,), (1340997312,), (1340997318,), (1340997321,), (1340997324,), (1340997326,), (1340997349,), (1340997356,), (1340997363,), (1340997368,), (1340997919,), (1340997926,), (1340997932,), (1340997945,), (1340997961,), (1340997963,), (1340998104,), (1340998111,), (1340998117,), (1340998125,), (1340998186,), (1340998197,), (1340998213,), (1340998220,), (1340998223,), (1340998294,), (1340998300,), (1340998304,), (1340998309,), (1340998372,), (1340998375,), (1340998388,), (1340998412,), (1340998423,), (1340998472,), (1340998551,), (1340998553,), (1340998560,), (1340998648,), (1340998654,), (1340998657,), (1340998668,), (1340998701,), (1340998704,), (1340998705,), (1340998709,), (1340998714,), (1340998719,), (1340998773,), (1340998778,), (1340998781,), (1340998820,), (1340998822,), (1340998828,), (1340998834,), (1340998839,), (1340998844,), (1340998882,), (1340998890,), (1340998934,), (1340998938,), (1340998963,), (1340998967,), (1340998972,), (1340998978,), (1340999147,), (1340999013,), (1340999092,), (1340999094,), (1340999123,), (1340999299,), (1340999302,), (1340999306,), (1340999313,), (1340999318,), (1340999322,), (1340999375,), (1340999386,), (1340999397,), (1340999430,), (1340999475,), (1340999478,), (1340999485,), (1340999500,), (1340999556,), (1340999560,), (1340999572,), (1340999654,), (1340999656,), (1340999659,), (1340999665,), (1340999699,), (1340999703,), (1340999718,), (1340999733,), (1340999746,), (1340999796,), (1340999801,), (1340999809,), (1340999827,), (1341000185,), (1341000292,), (1341000299,), (1341000332,), (1341000566,), (1341000601,), (1341000619,), (1341000631,), (1341000725,), (1341000812,), (1341000857,), (1341000955,), (1341000957,), (1341000964,), (1341000971,), (1341000977,), (1341001128,), (1341001138,), (1341001150,), (1341001157,), (1341001160,), (1341001163,), (1341001223,), (1341001231,), (1341001240,), (1341001245,), (1341001248,), (1341001252,), (1341001302,), (1341001281,), (1341001286,), (1341001295,), (1341001299,), (1341001438,), (1341001441,), (1341001461,), (1341001466,), (1341001487,), (1341001492,), (1341001496,), (1341001500,), (1341001529,), (1341001533,), (1341001536,), (1341001542,), (1341001756,), (1341001759,), (1341001995,), (1341002245,), (1341002771,), (1341002780,), (1341002786,), (1341002867,), (1341002873,), (1341003167,), (1341003681,), (1341003751,), (1341003769,), (1341003775,), (1341003820,), (1341003824,), (1341004035,), (1341004038,), (1341004137,), (1341004145,), (1341004196,), (1341004199,), (1341004206,), (1341004210,), (1341004215,), (1341004247,), (1341004249,), (1341004253,), (1341004460,), (1341004481,), (1341004488,), (1341004493,), (1341004561,), (1341004565,), (1341004575,), (1341004579,), (1341004583,), (1341004587,), (1341004640,), (1341004657,), (1341004663,), (1341004668,), (1341004810,), (1341004818,), (1341004924,), (1341004895,), (1341004900,), (1341004903,), (1341004921,), (1341004968,), (1341004974,), (1341004977,), (1341004980,), (1341004983,), (1341005050,), (1341005054,), (1341005056,), (1341005059,), (1341005096,), (1341005104,), (1341005113,), (1341005117,), (1341005119,), (1341005122,), (1341005514,), (1341005579,), (1341005682,), (1341005781,), (1341005846,), (1341006081,), (1341006202,), (1341006206,), (1341006212,), (1341006215,), (1341006355,), (1341006358,), (1341006362,), (1341006589,), (1341006591,), (1341006596,), (1341006599,), (1341006615,), (1341006833,), (1341006835,), (1341006840,), (1341006865,), (1341006875,), (1341006944,), (1341007032,), (1341007088,), (1341007522,), (1341007552,), (1341007555,), (1341007559,), (1341007591,), (1341007595,), (1341007779,), (1341007784,), (1341007797,), (1341007807,), (1341007812,), (1341007881,), (1341007884,), (1341007890,), (1341008036,), (1341008045,), (1341008052,), (1341008232,), (1341008240,), (1341008245,), (1341008247,), (1341008251,), (1341008298,), (1341008278,), (1341008290,), (1341008294,), (1341008421,), (1341008544,), (1341008597,), (1341008652,), (1341008690,), (1341008701,), (1341008724,), (1341008893,), (1341008924,), (1341008934,), (1341009649,), (1341009679,), (1341009693,), (1341009697,), (1341009700,), (1341009764,), (1341009769,), (1341009773,), (1341009827,), (1341009829,), (1341009837,), (1341009841,), (1341014499,), (1341015269,), (1341015271,), (1341015274,), (1341015322,), (1341015399,), (1341015401,), (1341015404,), (1341015413,), (1341015451,), (1341015454,), (1341015465,), (1341015471,), (1341016100,), (1341016102,), (1341016104,), (1341016471,), (1341016979,), (1341016981,), (1341016987,), (1341016992,), (1341016997,), (1341017213,), (1341017218,), (1341017223,), (1341017228,), (1341017262,), (1341017318,), (1341017330,), (1341017336,), (1341017344,), (1341017350,), (1341017368,), (1341017371,), (1341017375,), (1341017424,), (1341017431,), (1341017439,), (1341017523,), (1341017538,), (1341017554,), (1341017585,), (1341017596,), (1341017603,), (1341017622,), (1341017654,), (1341017658,), (1341017668,), (1341017706,), (1341017698,), (1341017700,), (1341017746,), (1341017749,), (1341017764,), (1341017771,), (1341018035,), (1341018037,), (1341018042,), (1341018049,), (1341018260,), (1341018264,), (1341018267,), (1341018275,), (1341018278,), (1341018309,), (1341018314,), (1341018328,), (1341018334,), (1341018473,), (1341018502,), (1341018509,), (1341018514,), (1341018517,), (1341018520,), (1341018539,), (1341018540,), (1341018551,), (1341018554,), (1341018580,), (1341018584,), (1341018593,), (1341018607,), (1341018609,), (1341018614,), (1341018639,), (1341018642,), (1341018644,), (1341018649,), (1341018654,), (1341018656,), (1341018683,), (1341018688,), (1341018696,), (1341018701,), (1341018705,), (1341018744,), (1341018748,), (1341018753,), (1341018758,), (1341018788,), (1341018792,), (1341018802,), (1341018807,), (1341018812,), (1341018815,), (1341019407,), (1341019513,), (1341019601,), (1341019697,), (1341019810,), (1341020038,), (1341020054,), (1341020061,), (1341020065,), (1341020189,), (1341020191,), (1341020196,), (1341020202,), (1341020276,), (1341020269,), (1341020273,), (1341020412,), (1341020419,), (1341020425,), (1341020430,), (1341020433,), (1341020466,), (1341020468,), (1341020474,), (1341020480,), (1341020485,), (1341020508,), (1341020513,), (1341020521,), (1341020527,), (1341020571,), (1341020579,), (1341020593,), (1341020630,), (1341020646,), (1341020652,), (1341020681,), (1341020719,), (1341020723,), (1341020727,), (1341020735,), (1341020780,), (1341020789,), (1341020806,), (1341020808,), (1341020812,), (1341020815,), (1341020978,), (1341020986,), (1341020991,), (1341020994,), (1341020998,), (1341021001,), (1341021027,), (1341021031,), (1341021036,), (1341021133,), (1341021142,), (1341021149,), (1341021153,), (1341021180,), (1341021183,), (1341021338,), (1341021573,), (1341021903,), (1341022198,), (1341022254,), (1341022287,), (1341022291,), (1341022295,), (1341022867,), (1341022880,), (1341022896,), (1341022897,), (1341022924,), (1341023057,), (1341023033,), (1341023036,), (1341023042,), (1341023111,), (1341023117,), (1341023123,), (1341023133,), (1341023137,), (1341023163,), (1341023177,), (1341023184,), (1341023189,), (1341023192,), (1341023405,), (1341023438,), (1341023472,), (1341023537,), (1341023664,), (1341023669,), (1341023673,), (1341023678,), (1341023682,), (1341023685,), (1341023831,), (1341023833,), (1341023839,), (1341023844,), (1341023851,), (1341023855,), (1341023882,), (1341023886,), (1341023890,), (1341023893,), (1341023971,), (1341023977,), (1341023982,), (1341023989,), (1341024049,), (1341024075,), (1341024079,), (1341024083,), (1341024087,), (1341024150,), (1341024165,), (1341024245,), (1341024249,), (1341024253,), (1341024257,), (1341024335,), (1341024340,), (1341024347,), (1341024352,), (1341024369,), (1341024382,), (1341024385,), (1341024388,), (1341024485,), (1341024500,), (1341024504,), (1341024510,), (1341024815,), (1341025044,), (1341025085,), (1341025090,), (1341025094,), (1341025214,), (1341025217,), (1341025315,), (1341025517,), (1341025659,), (1341025664,), (1341025671,), (1341025680,), (1341025704,), (1341025774,), (1341025779,), (1341026308,), (1341026597,), (1341026601,), (1341026684,), (1341026756,), (1341026761,), (1341026768,), (1341026795,), (1341026797,), (1341026800,), (1341026869,), (1341026874,), (1341026878,), (1341026909,), (1341026921,), (1341026933,), (1341026983,), (1341026985,), (1341026999,), (1341027011,), (1341027015,), (1341027021,), (1341027213,), (1341027217,), (1341027231,), (1341027236,), (1341027305,), (1341027309,), (1341027315,), (1341027384,), (1341027389,), (1341027395,), (1341027495,), (1341027528,), (1341027551,), (1341027572,), (1341027603,), (1341027633,), (1341027650,), (1341027656,), (1341027659,), (1341027661,), (1341027776,), (1341027780,), (1341027788,), (1341027799,), (1341027865,), (1341027854,), (1341027858,), (1341028050,), (1341028121,), (1341028125,), (1341028135,), (1341028141,), (1341028253,), (1341028264,), (1341028269,), (1341028275,), (1341028328,), (1341028352,), (1341028373,), (1341028384,), (1341028445,), (1341028516,), (1341028539,), (1341028551,), (1341028569,), (1341028579,), (1341028618,), (1341028765,), (1341028769,), (1341028773,), (1341028780,), (1341028785,), (1341028951,), (1341028956,), (1341028982,), (1341028990,), (1341029009,), (1341029094,), (1341029138,), (1341029157,), (1341029171,), (1341029176,), (1341029300,), (1341029315,), (1341029321,), (1341029361,), (1341029366,), (1341029371,), (1341029435,), (1341029450,), (1341029454,), (1341029461,), (1341029466,), (1341029471,), (1341029493,), (1341029645,), (1341029669,), (1341029684,), (1341029824,), (1341029831,), (1341029841,), (1341029848,), (1341029851,), (1341029854,), (1341029902,), (1341029911,), (1341029921,), (1341029925,), (1341029930,), (1341029935,), (1341029992,), (1341029998,), (1341030073,), (1341030038,), (1341030044,), (1341030050,), (1341030063,), (1341030269,), (1341030274,), (1341030281,), (1341030308,), (1341030320,), (1341030327,), (1341030528,), (1341030533,), (1341030544,), (1341030558,), (1341030633,), (1341030788,), (1341030832,), (1341030843,), (1341030849,), (1341030880,), (1341030913,), (1341031353,), (1341031482,), (1341031488,), (1341031492,), (1341031511,), (1341031519,), (1341031648,), (1341031651,), (1341032184,), (1341032166,), (1341032170,), (1341032177,), (1341032246,), (1341032272,), (1341032579,), (1341032583,), (1341032590,), (1341032594,), (1341032714,), (1341032721,), (1341032740,), (1341032857,), (1341032862,), (1341032873,), (1341032876,), (1341032912,), (1341032918,), (1341032921,), (1341032923,), (1341033180,), (1341033639,), (1341033646,), (1341033864,), (1341034020,), (1341034275,), (1341034668,), (1341034672,), (1341034675,), (1341034680,), (1341034684,), (1341034913,), (1341034916,), (1341034961,), (1341035181,), (1341035191,), (1341035230,), (1341035237,), (1341035248,), (1341035505,), (1341035446,), (1341035452,), (1341035486,), (1341035500,), (1341035763,), (1341035767,), (1341035777,), (1341035782,), (1341035790,), (1341035833,), (1341036028,), (1341036032,), (1341036253,), (1341036265,), (1341036269,), (1341036271,), (1341036286,), (1341036338,), (1341036341,), (1341036345,), (1341036351,), (1341036354,), (1341036381,), (1341036384,), (1341036390,), (1341036394,), (1341036430,), (1341036434,), (1341036438,), (1341036444,), (1341036487,), (1341036490,), (1341036493,), (1341036503,), (1341036508,), (1341036512,), (1341036676,), (1341036680,), (1341036689,), (1341036692,), (1341036699,), (1341036706,), (1341036725,), (1341036735,), (1341036741,), (1341036778,), (1341036784,), (1341036790,), (1341036795,), (1341036798,), (1341036834,), (1341036837,), (1341036842,), (1341036847,), (1341036854,), (1341036951,), (1341036883,), (1341036887,), (1341036928,), (1341037174,), (1341037177,), (1341037180,), (1341037184,), (1341037188,), (1341037193,), (1341037245,), (1341037250,), (1341037254,), (1341037261,), (1341037378,), (1341037383,), (1341037385,), (1341037389,), (1341037394,), (1341037404,), (1341037515,), (1341037541,), (1341037550,), (1341037565,), (1341037594,), (1341037597,), (1341037637,), (1341037640,), (1341037644,), (1341037712,), (1341037717,), (1341037736,), (1341037741,), (1341037752,), (1341037755,), (1341037794,), (1341037801,), (1341037805,), (1341037834,), (1341037846,), (1341037869,), (1341037913,), (1341037917,), (1341037923,), (1341037934,), (1341038018,), (1341038026,), (1341038036,), (1341038039,), (1341038045,), (1341038064,), (1341038071,), (1341038079,), (1341038132,), (1341038158,), (1341038243,), (1341038264,), (1341038268,), (1341038278,), (1341038390,), (1341038496,), (1341038501,), (1341038506,), (1341038537,), (1341038542,), (1341038546,), (1341038595,), (1341038598,), (1341038602,), (1341038606,), (1341038617,), (1341038627,), (1341038658,), (1341038664,), (1341038670,), (1341038679,), (1341038756,), (1341038725,), (1341038728,), (1341038733,), (1341038748,), (1341039077,), (1341039081,), (1341039091,), (1341039153,), (1341039160,), (1341039301,), (1341039307,), (1341039313,), (1341039318,), (1341039322,), (1341039326,), (1341039346,), (1341039362,), (1341039368,), (1341039404,), (1341039410,), (1341039449,), (1341039453,), (1341039456,), (1341039459,), (1341039461,), (1341039478,), (1341039482,), (1341039488,), (1341039491,), (1341039495,), (1341039498,), (1341039544,), (1341039548,), (1341039552,), (1341039563,), (1341039573,), (1341039611,), (1341039614,), (1341039619,), (1341039667,), (1341039671,), (1341039731,), (1341039860,), (1341039864,), (1341039871,), (1341039878,), (1341039886,), (1341039891,), (1341039959,), (1341039963,), (1341039968,), (1341039987,), (1341040014,), (1341040018,), (1341040024,), (1341040028,), (1341040035,), (1341040064,), (1341040146,), (1341040260,), (1341040416,), (1341040427,), (1341040438,), (1341040444,), (1341040448,), (1341040452,), (1341040488,), (1341040485,), (1341040534,), (1341040547,), (1341040553,), (1341040568,), (1341040905,), (1341040910,), (1341040916,), (1341040991,), (1341041078,), (1341041171,), (1341041210,), (1341041218,), (1341041223,), (1341041282,), (1341041294,), (1341041375,), (1341041845,), (1341041860,), (1341041953,), (1341042034,), (1341042123,), (1341042131,), (1341042133,), (1341042138,), (1341042166,), (1341042174,), (1341042190,), (1341042193,), (1341042245,), (1341042251,), (1341042301,), (1341042305,), (1341042348,), (1341042352,), (1341042362,), (1341042633,), (1341042648,), (1341042664,), (1341042669,), (1341042892,), (1341042902,), (1341042905,), (1341042925,), (1341042934,), (1341042979,), (1341042981,), (1341042985,), (1341042990,), (1341043040,), (1341043053,), (1341043057,), (1341043063,), (1341043066,), (1341043097,), (1341043101,), (1341043104,), (1341043111,), (1341043115,), (1341043163,), (1341043144,), (1341043147,), (1341043151,), (1341043154,), (1341043330,), (1341043358,), (1341043362,), (1341043367,), (1341043638,), (1341043642,), (1341043647,), (1341043652,), (1341043657,), (1341043660,), (1341043977,), (1341043983,), (1341043990,), (1341043996,), (1341044154,), (1341044158,), (1341044162,), (1341044166,), (1341044170,), (1341044207,), (1341044229,), (1341044259,), (1341044263,), (1341044268,), (1341044466,), (1341044469,), (1341044475,), (1341044480,), (1341044505,), (1341044508,), (1341044519,), (1341044523,), (1341044528,), (1341044533,), (1341044553,), (1341044558,), (1341044559,), (1341044562,), (1341044567,), (1341044612,), (1341044616,), (1341044619,), (1341044623,), (1341044663,), (1341044669,), (1341044674,), (1341044695,), (1341044698,), (1341044703,), (1341044878,), (1341044881,), (1341044884,), (1341044889,), (1341044976,), (1341045207,), (1341045241,), (1341045246,), (1341045256,), (1341045429,), (1341045468,), (1341045503,), (1341045507,), (1341045512,), (1341045516,), (1341045570,), (1341045586,), (1341045594,), (1341045602,), (1341045606,), (1341045684,), (1341045657,), (1341045666,), (1341045672,), (1341045677,), (1341045715,), (1341045722,), (1341045727,), (1341045732,), (1341045737,), (1341045753,), (1341045757,), (1341045762,), (1341045766,), (1341045771,), (1341045779,), (1341045800,), (1341045804,), (1341045808,), (1341045866,), (1341045869,), (1341045914,), (1341045923,), (1341045935,), (1341045940,), (1341046008,), (1341046045,), (1341046058,), (1341046121,), (1341046212,), (1341047013,), (1341047064,), (1341047101,), (1341047110,), (1341047153,), (1341047198,), (1341047219,), (1341047231,), (1341047583,), (1341047587,), (1341047592,), (1341047625,), (1341047634,), (1341047640,), (1341047648,), (1341047652,), (1341047655,), (1341047672,), (1341047675,), (1341047689,), (1341047692,), (1341047718,), (1341047741,), (1341047748,), (1341047753,), (1341047755,), (1341047891,), (1341047932,), (1341047920,), (1341047923,), (1341047926,), (1341048198,), (1341048234,), (1341048258,), (1341048266,), (1341048328,), (1341048332,), (1341048352,), (1341048358,), (1341048363,), (1341048366,), (1341048394,), (1341048399,), (1341048405,), (1341048410,), (1341048435,), (1341048443,), (1341048459,), (1341048466,), (1341048471,), (1341048515,), (1341048519,), (1341048720,), (1341048728,), (1341048787,), (1341048797,), (1341048806,), (1341048936,), (1341048939,), (1341048976,), (1341048980,), (1341048983,), (1341048986,), (1341049023,), (1341049039,), (1341049043,), (1341049047,), (1341049051,), (1341049105,), (1341049110,), (1341049117,), (1341049124,), (1341049129,), (1341049200,), (1341049204,), (1341049208,), (1341049213,), (1341049218,), (1341049221,), (1341049261,), (1341049266,), (1341049270,), (1341049277,), (1341049324,), (1341049344,), (1341049592,), (1341049814,), (1341050960,), (1341051080,), (1341051084,), (1341051089,), (1341051092,), (1341051106,), (1341051110,), (1341051112,), (1341051118,), (1341062256,), (1341062243,), (1341062280,), (1341062282,), (1341062285,), (1341062290,), (1341062293,), (1341062321,), (1341062546,), (1341062559,), (1341062580,), (1341062584,), (1341062612,), (1341062617,), (1341062622,), (1341062627,), (1341062653,), (1341062656,), (1341062660,), (1341062664,), (1341062669,), (1341062675,), (1341062697,), (1341062702,), (1341062706,), (1341062711,), (1341062717,), (1341062770,), (1341062754,), (1341062758,), (1341062764,), (1341062888,), (1341062991,), (1341063076,), (1341063081,), (1341063087,), (1341063090,), (1341063422,), (1341063425,), (1341063431,), (1341063436,), (1341063440,), (1341063444,), (1341063573,), (1341063577,), (1341063728,), (1341063736,), (1341063753,), (1341063758,), (1341063762,), (1341063829,), (1341063863,), (1341063918,), (1341063939,), (1341063958,), (1341064195,), (1341064217,), (1341064222,), (1341064285,), (1341064289,), (1341064293,), (1341064296,), (1341064357,), (1341064360,), (1341064365,), (1341064397,), (1341064400,), (1341064404,), (1341064411,), (1341064455,), (1341064459,), (1341064463,), (1341064468,), (1341064473,), (1341064496,), (1341064499,), (1341064852,), (1341064854,), (1341064864,), (1341064914,), (1341065061,), (1341065064,), (1341065067,), (1341065096,), (1341065100,), (1341065147,), (1341065150,), (1341065156,), (1341065161,), (1341065165,), (1341065288,), (1341065274,), (1341065277,), (1341065283,), (1341065394,), (1341065395,), (1341065399,), (1341065409,), (1341065660,), (1341065664,), (1341065667,), (1341065670,), (1341065717,), (1341065719,), (1341065849,), (1341065854,), (1341065880,), (1341065895,), (1341065901,), (1341065906,), (1341065912,), (1341066687,), (1341066692,), (1341066700,), (1341066758,), (1341067017,), (1341067030,), (1341067037,), (1341067050,), (1341067100,), (1341067350,), (1341067429,), (1341067433,), (1341067436,), (1341067511,), (1341067603,), (1341067613,), (1341067619,), (1341067631,), (1341067637,), (1341067741,), (1341067749,), (1341067754,), (1341067771,), (1341067773,), (1341067788,), (1341067794,), (1341067807,), (1341067813,), (1341067820,), (1341067826,), (1341067855,), (1341067867,), (1341067872,), (1341067878,), (1341067882,), (1341067907,), (1341067929,), (1341067941,), (1341067946,), (1341067950,), (1341068146,), (1341068216,), (1341068314,), (1341068390,), (1341068777,), (1341068829,), (1341068838,), (1341068849,), (1341068880,), (1341068916,), (1341069037,), (1341069022,), (1341069112,), (1341069114,), (1341069120,), (1341069125,), (1341069130,), (1341069135,), (1341069487,), (1341069540,), (1341069572,), (1341069580,), (1341069654,), (1341069660,), (1341069664,), (1341069669,), (1341069674,), (1341069678,), (1341069709,), (1341069711,), (1341069718,), (1341069727,), (1341069730,), (1341069734,), (1341069764,), (1341069767,), (1341069770,), (1341069775,), (1341069858,), (1341069866,), (1341069871,), (1341069874,), (1341069877,), (1341069882,), (1341070120,), (1341070147,), (1341070151,), (1341070156,), (1341070160,), (1341070168,), (1341070765,), (1341070767,), (1341070775,), (1341071007,), (1341071023,), (1341071026,), (1341071091,), (1341071094,), (1341071099,), (1341071105,), (1341071120,), (1341071200,), (1341071292,), (1341071295,), (1341071300,), (1341071353,), (1341071357,), (1341071363,), (1341071368,), (1341071378,), (1341071384,), (1341071465,), (1341071475,), (1341071730,), (1341071723,), (1341071728,), (1341071909,), (1341071953,), (1341071956,), (1341071960,), (1341071964,), (1341071975,), (1341072082,), (1341072085,), (1341072090,), (1341072094,), (1341072098,), (1341072123,), (1341072192,), (1341072194,), (1341072197,), (1341072201,), (1341072761,), (1341072767,), (1341072849,), (1341072893,), (1341072896,), (1341073089,), (1341073093,), (1341073095,), (1341073103,), (1341073302,), (1341073305,), (1341073315,), (1341073320,), (1341073346,), (1341073351,), (1341073359,), (1341073483,), (1341073485,), (1341073488,), (1341073493,), (1341073505,), (1341073509,), (1341073538,), (1341073542,), (1341073550,), (1341073558,), (1341073602,), (1341073605,), (1341073608,), (1341073615,), (1341073620,), (1341073653,), (1341073657,), (1341073661,), (1341073750,), (1341073835,), (1341073911,), (1341073999,), (1341074050,), (1341074157,), (1341074161,), (1341074163,), (1341074168,), (1341074171,), (1341074176,), (1341074250,), (1341074252,), (1341074257,), (1341074266,), (1341074448,), (1341074297,), (1341074301,), (1341074304,), (1341074307,), (1341074311,), (1341074745,), (1341074749,), (1341074815,), (1341074917,), (1341075043,), (1341075135,), (1341075235,), (1341075332,), (1341075431,), (1341075435,), (1341075441,), (1341075481,), (1341075485,), (1341075492,), (1341075497,), (1341075500,), (1341075504,), (1341075523,), (1341075527,), (1341075533,), (1341075539,), (1341075543,), (1341075567,), (1341075571,), (1341075577,), (1341076229,), (1341076234,), (1341076298,), (1341076325,), (1341076330,), (1341076342,), (1341076430,), (1341076450,), (1341076462,), (1341076477,), (1341076494,), (1341076695,), (1341076757,), (1341076849,), (1341077055,), (1341077064,), (1341077109,), (1341077114,), (1341077119,), (1341077122,), (1341077147,), (1341077150,), (1341077154,), (1341077160,), (1341077164,), (1341077171,), (1341077212,), (1341077217,), (1341077224,), (1341077229,), (1341077408,), (1341077330,), (1341077358,), (1341077369,), (1341077386,), (1341077405,), (1341077436,), (1341077440,), (1341077445,), (1341077455,), (1341077881,), (1341077888,), (1341077892,), (1341077895,), (1341077899,), (1341078247,), (1341078258,), (1341078283,), (1341078301,), (1341078304,), (1341078325,), (1341078330,), (1341078337,), (1341078344,), (1341078358,), (1341078368,), (1341078403,), (1341078408,), (1341078414,), (1341078455,), (1341078467,), (1341078473,), (1341078561,), (1341078567,), (1341078572,), (1341078579,), (1341078583,), (1341078591,), (1341078818,), (1341078832,), (1341078841,), (1341078851,), (1341078862,), (1341078869,), (1341078893,), (1341078900,), (1341078907,), (1341078912,), (1341078940,), (1341078944,), (1341078950,), (1341079179,), (1341079189,), (1341079194,), (1341079199,), (1341079222,), (1341079547,), (1341079550,), (1341079579,), (1341079637,), (1341079663,), (1341079745,), (1341079755,), (1341079774,), (1341079919,), (1341079922,), (1341079929,), (1341079954,), (1341079960,), (1341079966,), (1341080099,), (1341080072,), (1341080081,), (1341080085,), (1341080091,), (1341080326,), (1341080351,), (1341080547,), (1341080588,), (1341080745,), (1341080898,), (1341080910,), (1341081357,), (1341081406,), (1341081414,), (1341081437,), (1341081505,), (1341081511,), (1341081669,), (1341081680,), (1341081693,), (1341081704,), (1341081742,), (1341081762,), (1341081783,), (1341082015,), (1341082058,), (1341082074,), (1341082079,), (1341082088,), (1341082104,), (1341082106,), (1341082112,), (1341082119,), (1341082132,), (1341082185,), (1341082192,), (1341082199,), (1341082251,), (1341082256,), (1341082262,), (1341082267,), (1341082270,), (1341082322,), (1341082329,), (1341082335,), (1341082340,), (1341082366,), (1341082369,), (1341082371,), (1341082376,), (1341082380,), (1341082386,), (1341082633,), (1341082651,), (1341082655,), (1341083012,), (1341083021,), (1341083028,), (1341083032,), (1341083036,), (1341083046,), (1341083049,), (1341083052,), (1341083057,), (1341083061,), (1341083082,), (1341083073,), (1341083077,), (1341083290,), (1341083303,), (1341083306,), (1341083522,), (1341083560,), (1341083645,), (1341083680,), (1341084246,), (1341084251,), (1341084257,), (1341084617,), (1341084623,), (1341084628,), (1341084679,), (1341084691,), (1341084695,), (1341084700,), (1341084710,), (1341084745,), (1341084749,), (1341084758,), (1341084760,), (1341084765,), (1341084775,), (1341084821,), (1341084826,), (1341084834,), (1341084901,), (1341085377,), (1341085382,), (1341085395,), (1341085432,), (1341085457,), (1341085495,), (1341085593,), (1341085599,), (1341085602,), (1341085615,), (1341085622,), (1341085673,), (1341085678,), (1341085683,), (1341085688,), (1341085692,), (1341085741,), (1341085749,), (1341085752,), (1341085757,), (1341085760,), (1341085785,), (1341085788,), (1341085793,), (1341085797,), (1341085803,), (1341086385,), (1341086396,), (1341086401,), (1341086444,), (1341086496,), (1341086512,), (1341086659,), (1341086663,), (1341086669,), (1341086889,), (1341086824,), (1341086839,), (1341086867,), (1341086874,), (1341086926,), (1341086930,), (1341086934,), (1341086939,), (1341086944,), (1341087259,), (1341087266,), (1341087280,), (1341087288,), (1341087464,), (1341087467,), (1341087472,), (1341087475,), (1341087480,), (1341087484,), (1341087510,), (1341087514,), (1341087516,), (1341087521,), (1341087628,), (1341087638,), (1341087648,), (1341087652,), (1341088208,), (1341088222,), (1341088230,), (1341088235,), (1341088287,), (1341088297,), (1341088303,), (1341088312,), (1341088317,), (1341088362,), (1341088384,), (1341088389,), (1341088393,), (1341088446,), (1341088448,), (1341088453,), (1341088459,), (1341088523,), (1341088526,), (1341088531,), (1341088541,), (1341088555,), (1341088560,), (1341088604,), (1341088608,), (1341088609,), (1341088616,), (1341088622,), (1341088627,), (1341088656,), (1341088659,), (1341088663,), (1341088669,), (1341088676,), (1341088712,), (1341088714,), (1341088719,), (1341088725,), (1341088729,), (1341088770,), (1341088772,), (1341088777,), (1341088783,), (1341088846,), (1341088822,), (1341088825,), (1341088831,), (1341088837,), (1341088842,), (1341088861,), (1341088865,), (1341088869,), (1341088876,), (1341088887,), (1341088899,), (1341089203,), (1341089223,), (1341089248,), (1341089373,), (1341089377,), (1341089382,), (1341089388,), (1341089393,), (1341089490,), (1341089492,), (1341089497,), (1341089505,), (1341089510,), (1341089633,), (1341089675,), (1341089681,), (1341089712,), (1341089724,), (1341090053,), (1341090056,), (1341090061,), (1341090067,), (1341090070,), (1341090241,), (1341095144,), (1341103908,), (1341103911,), (1341103917,), (1341103945,), (1341103974,), (1341103981,), (1341103985,), (1341103989,), (1341104136,), (1341104140,), (1341104146,), (1341104571,), (1341104625,), (1341104673,), (1341104816,), (1341104820,), (1341104827,), (1341104902,), (1341104906,), (1341104912,), (1341104916,), (1341104923,), (1341105256,), (1341105337,), (1341105381,), (1341105481,), (1341105556,), (1341105560,), (1341105580,), (1341105585,), (1341105590,), (1341105608,), (1341105659,), (1341105662,), (1341105667,), (1341105674,), (1341105738,), (1341105741,), (1341105747,), (1341105762,), (1341105772,), (1341105775,), (1341105884,), (1341105890,), (1341105894,), (1341105898,), (1341105901,), (1341105905,), (1341105934,), (1341105939,), (1341106170,), (1341106181,), (1341106186,), (1341106320,), (1341106322,), (1341106327,), (1341106331,), (1341106379,), (1341106358,), (1341106360,), (1341106366,), (1341106370,), (1341106682,), (1341106774,), (1341106972,), (1341107039,), (1341107043,), (1341107048,), (1341107092,), (1341107096,), (1341107101,), (1341107105,), (1341107201,), (1341107366,), (1341107503,), (1341107575,), (1341107579,), (1341107918,), (1341107929,), (1341107948,), (1341108031,), (1341108228,), (1341108231,), (1341108235,), (1341108238,), (1341108240,), (1341108479,), (1341108484,), (1341108491,), (1341108522,), (1341108573,), (1341108694,), (1341108697,), (1341108702,), (1341108708,), (1341108906,), (1341108909,), (1341108914,), (1341108917,), (1341108920,), (1341108958,), (1341108961,), (1341108980,), (1341109028,), (1341109030,), (1341109035,), (1341109041,), (1341109046,), (1341109067,), (1341109070,), (1341109075,), (1341109080,), (1341109099,), (1341109233,), (1341109245,), (1341109251,), (1341109283,), (1341109288,), (1341109293,), (1341109299,), (1341109302,), (1341109369,), (1341109377,), (1341109380,), (1341109384,), (1341109388,), (1341109446,), (1341109432,), (1341109435,), (1341109440,), (1341109473,), (1341109475,), (1341109479,), (1341109486,), (1341109489,), (1341109492,), (1341109521,), (1341109528,), (1341109533,), (1341109542,), (1341109553,), (1341109622,), (1341109624,), (1341109686,), (1341109913,), (1341109916,), (1341109922,), (1341110093,), (1341110095,), (1341110100,), (1341110106,), (1341110133,), (1341110731,), (1341110734,), (1341110797,), (1341110807,), (1341111078,), (1341111128,), (1341111244,), (1341111276,), (1341111288,), (1341111319,), (1341111322,), (1341111370,), (1341111373,), (1341111380,), (1341111387,), (1341111392,), (1341111396,), (1341111429,), (1341111436,), (1341111448,), (1341111456,), (1341111460,), (1341111543,), (1341112067,), (1341112445,), (1341112518,), (1341112523,), (1341112695,), (1341112697,), (1341112713,), (1341112787,), (1341113613,), (1341113632,), (1341113636,), (1341113754,), (1341113757,), (1341113761,), (1341113765,), (1341113769,), (1341113772,), (1341113905,), (1341113915,), (1341113920,), (1341113924,), (1341113928,), (1341113944,), (1341113946,), (1341113988,), (1341114014,), (1341114017,), (1341114119,), (1341114129,), (1341114134,), (1341114140,), (1341114145,), (1341114170,), (1341114173,), (1341114178,), (1341114189,), (1341114261,), (1341114307,), (1341114341,), (1341114348,), (1341114423,), (1341114429,), (1341114433,), (1341114439,), (1341114444,), (1341114466,), (1341114468,), (1341114479,), (1341114486,), (1341114489,), (1341114526,), (1341114534,), (1341114540,), (1341114545,), (1341114549,), (1341114612,), (1341114619,), (1341114629,), (1341114641,), (1341114642,), (1341114678,), (1341114666,), (1341114669,), (1341114674,), (1341114763,), (1341114765,), (1341114771,), (1341114777,), (1341114780,), (1341114816,), (1341114820,), (1341114825,), (1341114839,), (1341114842,), (1341114887,), (1341114890,), (1341114895,), (1341114899,), (1341115798,), (1341115807,), (1341115819,), (1341115830,), (1341115833,), (1341115836,), (1341116043,), (1341116082,), (1341116091,), (1341116097,), (1341116149,), (1341116169,), (1341116198,), (1341116307,), (1341116319,), (1341116322,), (1341116324,), (1341116326,), (1341116352,), (1341116355,), (1341116359,), (1341116366,), (1341116368,), (1341116421,), (1341116424,), (1341116428,), (1341116432,), (1341116434,), (1341116473,), (1341116476,), (1341116481,), (1341116714,), (1341116720,), (1341116725,), (1341116727,), (1341116729,), (1341116751,), (1341116754,), (1341116759,), (1341116763,), (1341116766,), (1341116830,), (1341116816,), (1341116819,), (1341116825,), (1341116912,), (1341117090,), (1341117124,), (1341117129,), (1341117132,), (1341117306,), (1341117310,), (1341117314,), (1341117321,), (1341117326,), (1341117330,), (1341117363,), (1341117374,), (1341117382,), (1341117387,), (1341117391,), (1341117453,), (1341117483,), (1341117487,), (1341117523,), (1341117527,), (1341117532,), (1341117539,), (1341117544,), (1341117550,), (1341117798,), (1341117861,), (1341117875,), (1341117894,), (1341117896,), (1341117935,), (1341117937,), (1341117943,), (1341117993,), (1341118062,), (1341118066,), (1341118072,), (1341118108,), (1341118117,), (1341118119,), (1341118125,), (1341118156,), (1341118168,), (1341118221,), (1341118225,), (1341118231,), (1341118238,), (1341118268,), (1341118288,), (1341118293,), (1341118319,), (1341118335,), (1341118341,), (1341118345,), (1341118350,), (1341118381,), (1341118387,), (1341118393,), (1341118409,), (1341118414,), (1341118452,), (1341118457,), (1341118462,), (1341118466,), (1341118519,), (1341118493,), (1341118502,), (1341118511,), (1341118515,), (1341118531,), (1341118587,), (1341118590,), (1341118594,), (1341119122,), (1341119125,), (1341119138,), (1341119210,), (1341119521,), (1341119524,), (1341119529,), (1341119536,), (1341119540,), (1341119543,), (1341119556,), (1341119559,), (1341119564,), (1341119569,), (1341119586,), (1341119588,), (1341119594,), (1341119598,), (1341119602,), (1341119632,), (1341119634,), (1341119641,), (1341119652,), (1341119661,), (1341119680,), (1341119686,), (1341119691,), (1341119695,), (1341119698,), (1341119737,), (1341119739,), (1341119744,), (1341119766,), (1341119770,), (1341119777,), (1341119788,), (1341119818,), (1341119825,), (1341119830,), (1341119834,), (1341119836,), (1341119867,), (1341119871,), (1341119874,), (1341119907,), (1341119909,), (1341119915,), (1341119920,), (1341119923,), (1341119941,), (1341119945,), (1341119949,), (1341119957,), (1341119961,), (1341119965,), (1341119997,), (1341119982,), (1341119984,), (1341119989,), (1341119994,), (1341120039,), (1341120042,), (1341120047,), (1341120056,), (1341120062,), (1341120106,), (1341120108,), (1341120113,), (1341120118,), (1341120122,), (1341120157,), (1341120159,), (1341120164,), (1341120169,), (1341120694,), (1341120882,), (1341121352,), (1341121392,), (1341121408,), (1341121413,), (1341121419,), (1341121478,), (1341121485,), (1341121496,), (1341121509,), (1341121516,), (1341121561,), (1341121563,), (1341121567,), (1341121572,), (1341121576,), (1341122037,), (1341122073,), (1341122158,), (1341122242,), (1341122325,), (1341122539,), (1341122601,), (1341122620,), (1341122692,), (1341122717,), (1341122774,), (1341122807,), (1341122867,), (1341122897,), (1341122967,), (1341123148,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05032025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21049193]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] map_info['map_portfolio_photo'] : {21049193: [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986]} final : True mtd_id 4302 list_pids : [1340953503, 1340953485, 1340953484, 1340953455, 1340953449, 1340953443, 1340953440, 1340953436, 1340953426, 1340953414, 1340953409, 1340953383, 1340953378, 1340953368, 1340953358, 1340953350, 1340953343, 1340953096, 1340952919, 1340952913, 1340952910, 1340952884, 1340952800, 1340952796, 1340952793, 1340952750, 1340952747, 1340952312, 1340952309, 1340952304, 1340952301, 1340952298, 1340952237, 1340952233, 1340952229, 1340952226, 1340952217, 1340951994, 1340951990, 1340951986] Looping around the photos to save general results len do output : 1 /21049193Didn'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, '2641387') ('4302', '21049193', '1340953503', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953485', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953484', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953455', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953449', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953443', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953440', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953436', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953426', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953414', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953409', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953383', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953378', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953368', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953358', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953350', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953343', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340953096', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952919', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952913', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952910', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952884', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952800', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952796', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952793', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952750', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952747', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952312', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952309', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952304', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952301', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952298', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952237', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952233', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952229', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952226', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340952217', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951994', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951990', None, None, None, None, None, '2641387') ('4302', None, None, None, None, None, None, None, '2641387') ('4302', '21049193', '1340951986', None, None, None, None, None, '2641387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21049193', 'None', None, None, None, None, '2641387'), ('4302', '21049193', '1340953503', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953485', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953484', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953455', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953449', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953443', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953440', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953436', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953426', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953414', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953409', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953383', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953378', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953368', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953358', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953350', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953343', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340953096', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952919', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952913', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952910', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952884', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952800', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952796', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952793', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952750', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952747', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952312', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952309', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952304', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952301', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952298', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952237', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952233', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952229', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952226', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340952217', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951994', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951990', None, None, None, None, None, '2641387'), ('4302', '21049193', '1340951986', None, None, None, None, None, '2641387')] time used for this insertion : 0.023938655853271484 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.522111892700195 time spend to save output : 0.02432847023010254 total time spend for step 5 : 4.546440362930298 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 (2641387) 3.53user 2.34system 0:24.27elapsed 24%CPU (0avgtext+0avgdata 161740maxresident)k 352inputs+35216outputs (13major+83405minor)pagefaults 0swaps